#include <DraWinObj.h>
Public Member Functions | |
Points2D (unsigned int projectedSize, Decimal pS=1.0) | |
Constructor. | |
unsigned int | push_back (Position p) |
Add a point to Points2D. | |
Position | point (unsigned int i) |
Gets the i-th point. | |
DraWinObjPlate | plate () |
Gets the plate. | |
unsigned int | size () |
Gets the current number of points. | |
Decimal | pointsSize () |
Gets the points drawing size. | |
void | boundBox (DraWinBoundBox &bb) |
Gets the bounding box. |
More efficient if you must draw alot of points, i.e. scan points.
MipResources::Points2D::Points2D | ( | unsigned int | projectedSize, | |
Decimal | pS = 1.0 | |||
) |
Constructor.
projectedSize | Number of points that will be inserted. | |
pS | Points size |
unsigned int MipResources::Points2D::push_back | ( | Position | p | ) |
Add a point to Points2D.
p | Point position. |
p | Point position. |
Position MipResources::Points2D::point | ( | unsigned int | i | ) | [inline] |
Gets the i-th point.
i | Index of the point to get. |
DraWinObjPlate MipResources::Points2D::plate | ( | ) | [inline, virtual] |
Gets the plate.
Implements MipResources::DraWinObj.
Reimplemented in MipResources::Polygon2D.
unsigned int MipResources::Points2D::size | ( | ) | [inline] |
Gets the current number of points.
Decimal MipResources::Points2D::pointsSize | ( | ) | [inline] |
Gets the points drawing size.
void MipResources::Points2D::boundBox | ( | DraWinBoundBox & | bb | ) | [inline, virtual] |