12 #ifndef ossimGeoPolygon_HEADER 13 #define ossimGeoPolygon_HEADER 33 theVertexList.push_back(pt);
37 theVertexList.push_back(
ossimGpt(lat, lon, h, datum));
41 theAttributeList.push_back( attribute );
45 theHoleList.push_back( polygon );
49 return theVertexList[index];
53 return theVertexList[index];
62 return theAttributeList;
71 theVertexList.clear();
79 theVertexList.resize(newSize);
100 bool vertex(
int index,
ossimGpt& v)
const;
106 const char* prefix=0)
const;
109 const char* prefix=0);
111 void checkOrdering()
const;
118 return theOrderingType;
122 theOrderingType = ordering;
std::vector< ossimString > theAttributeList
ossimVertexOrdering getOrdering() const
const ossimGpt & operator[](int index) const
Represents serializable keyword/value map.
std::vector< ossimString > & getAttributeList()
std::vector< ossimGeoPolygon > theHoleList
double nan()
Method to return ieee floating point double precision NAN.
std::vector< ossimGeoPolygon > & getHoleList()
void setOrdering(ossimVertexOrdering ordering)
ostream & operator<<(ostream &out, const ossimAxes &axes)
void resize(ossim_uint32 newSize)
ossimGpt & operator[](int index)
unsigned int ossim_uint32
void addHole(const ossimGeoPolygon &polygon)
std::vector< ossimGpt > theVertexList
const std::vector< ossimGpt > & getVertexList() const
void addPoint(const ossimGpt &pt)
ossim_uint32 size() const
ossimVertexOrdering theOrderingType
ossim_int32 theCurrentVertex
void addPoint(double lat, double lon, double h=ossim::nan(), const ossimDatum *datum=0)
void addAttribute(const ossimString &attribute)
std::basic_ostream< char > ostream
Base class for char output streams.