55 return static_cast<int>(
m_VPoints.size());
Contains CGeom2DPoint definitions.
Contains CA2DShape definitions.
vector< CGeom2DPoint > m_VPoints
The points which comprise the float-coordinate 2D shape.
void Append(CGeom2DPoint const *)
Appends a point to this 2D shape.
vector< CGeom2DPoint > * pPtVGetPoints(void)
Returns the address of the vector which represents this 2D shape.
void Reverse(void)
Reverses the sequence of points in the vector which represents this 2D polygon.
CA2DShape(void)
Constructor.
CGeom2DPoint * pPtBack(void)
Returns the last element of this 2D shape.
void Resize(int const)
Resizes the vector which represents this 2D shape.
void AppendIfNotPrevious(double const, double const)
Appends a point to this 2D shape only if the point is not the same as the previous point in the vecto...
CGeom2DPoint & operator[](int const)
Operator to return one point of this 2D shape.
virtual ~CA2DShape(void)
Destructor.
Geometry class used to represent 2D point objects with floating-point coordinates.