Poly_gon Class Reference

#include <mappolygons.h>

List of all members.

Public Types

typedef MapCoordinate Point
typedef vector< Point >::iterator VertexIterator

Public Member Functions

void read (tnstream &stream)
void write (tnstream &stream) const

Public Attributes

vector< Pointvertex


Detailed Description

Definition at line 35 of file mappolygons.h.


Member Typedef Documentation

typedef MapCoordinate Poly_gon::Point

Definition at line 37 of file mappolygons.h.

typedef vector<Point>::iterator Poly_gon::VertexIterator

Definition at line 38 of file mappolygons.h.


Member Function Documentation

void Poly_gon::read ( tnstream stream  ) 

Definition at line 53 of file mappolygons.cpp.

References tnstream::getLocation(), readClassContainer(), tnstream::readInt(), and vertex.

void Poly_gon::write ( tnstream stream  )  const

Definition at line 62 of file mappolygons.cpp.

References vertex, writeClassContainer(), and tnstream::writeInt().


Member Data Documentation

vector<Point> Poly_gon::vertex

Definition at line 39 of file mappolygons.h.

Referenced by editpolygon(), PolygonPainterSquareCoordinate::paintPolygon(), ShowPolygonUsingTemps::paintPolygon(), read(), readOldEvent(), PolygonEditor::showFieldMarking(), and write().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:47:14 2012 for Advanced Strategic Command by  doxygen 1.5.1