BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends
messages::Polygon Class Reference

#include <terrain.pb.h>

Inheritance diagram for messages::Polygon:
Inheritance graph
[legend]
Collaboration diagram for messages::Polygon:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Polygon ()
virtual ~Polygon ()
 Polygon (const Polygon &from)
Polygonoperator= (const Polygon &from)
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
void Swap (Polygon *other)
PolygonNew () const
void CopyFrom (const ::google::protobuf::Message &from)
void MergeFrom (const ::google::protobuf::Message &from)
void CopyFrom (const Polygon &from)
void MergeFrom (const Polygon &from)
void Clear ()
bool IsInitialized () const
int ByteSize () const
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
::google::protobuf::uint8SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
int GetCachedSize () const
::google::protobuf::Metadata GetMetadata () const
int vertices_size () const
void clear_vertices ()
const ::messages::Positionvertices (int index) const
inline::messages::Position * mutable_vertices (int index)
inline::messages::Position * add_vertices ()
const
::google::protobuf::RepeatedPtrField
< ::messages::Position > & 
vertices () const
inline::google::protobuf::RepeatedPtrField
< ::messages::Position > * 
mutable_vertices ()
bool has_area () const
void clear_area ()
double area () const
void set_area (double value)
bool has_perimeter () const
void clear_perimeter ()
double perimeter () const
void set_perimeter (double value)
bool has_center () const
void clear_center ()
const ::messages::Positioncenter () const
inline::messages::Position * mutable_center ()
int holes_size () const
void clear_holes ()
const ::messages::Polygonholes (int index) const
inline::messages::Polygon * mutable_holes (int index)
inline::messages::Polygon * add_holes ()
const
::google::protobuf::RepeatedPtrField
< ::messages::Polygon > & 
holes () const
inline::google::protobuf::RepeatedPtrField
< ::messages::Polygon > * 
mutable_holes ()

Static Public Member Functions

static const
::google::protobuf::Descriptor
descriptor ()
static const Polygondefault_instance ()

Static Public Attributes

static const int kVerticesFieldNumber = 1
static const int kAreaFieldNumber = 2
static const int kPerimeterFieldNumber = 3
static const int kCenterFieldNumber = 4
static const int kHolesFieldNumber = 5

Friends

void protobuf_AddDesc_terrain_2eproto ()
void protobuf_AssignDesc_terrain_2eproto ()
void protobuf_ShutdownFile_terrain_2eproto ()

Constructor & Destructor Documentation

virtual messages::Polygon::~Polygon ( ) [virtual]

Member Function Documentation

Here is the call graph for this function:

Here is the call graph for this function:

double messages::Polygon::area ( ) const [inline]
int messages::Polygon::ByteSize ( ) const [virtual]

Reimplemented from google::protobuf::Message.

const ::messages::Position & messages::Polygon::center ( ) const [inline]
void messages::Polygon::Clear ( ) [virtual]

Reimplemented from google::protobuf::Message.

void messages::Polygon::clear_area ( ) [inline]
void messages::Polygon::clear_holes ( ) [inline]

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

void messages::Polygon::CopyFrom ( const Polygon from)
static const Polygon& messages::Polygon::default_instance ( ) [static]
int messages::Polygon::GetCachedSize ( ) const [inline, virtual]
bool messages::Polygon::has_area ( ) const [inline]
bool messages::Polygon::has_center ( ) const [inline]
bool messages::Polygon::has_perimeter ( ) const [inline]
const ::messages::Polygon & messages::Polygon::holes ( int  index) const [inline]

Here is the call graph for this function:

int messages::Polygon::holes_size ( ) const [inline]

Here is the call graph for this function:

bool messages::Polygon::IsInitialized ( ) const [virtual]

Reimplemented from google::protobuf::Message.

void messages::Polygon::MergeFrom ( const Polygon from)

Here is the call graph for this function:

Here is the call graph for this function:

Polygon* messages::Polygon::New ( ) const [virtual]
Polygon& messages::Polygon::operator= ( const Polygon from) [inline]

Here is the call graph for this function:

double messages::Polygon::perimeter ( ) const [inline]
void messages::Polygon::set_area ( double  value) [inline]
void messages::Polygon::set_perimeter ( double  value) [inline]
void messages::Polygon::Swap ( Polygon other)
const ::messages::Position & messages::Polygon::vertices ( int  index) const [inline]

Here is the call graph for this function:

int messages::Polygon::vertices_size ( ) const [inline]

Here is the call graph for this function:


Friends And Related Function Documentation


Member Data Documentation

const int messages::Polygon::kAreaFieldNumber = 2 [static]
const int messages::Polygon::kCenterFieldNumber = 4 [static]
const int messages::Polygon::kHolesFieldNumber = 5 [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines