MipResources::Points2D Class Reference
[Draw window]

List of drawable points. More...

#include <DraWinObj.h>

Inheritance diagram for MipResources::Points2D:

MipResources::FigDraWinObj MipResources::DraWinObj MipResources::Polygon2D

List of all members.

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.


Detailed Description

List of drawable points.

More efficient if you must draw alot of points, i.e. scan points.


Constructor & Destructor Documentation

MipResources::Points2D::Points2D ( unsigned int  projectedSize,
Decimal  pS = 1.0 
)

Constructor.

Parameters:
projectedSize Number of points that will be inserted.
pS Points size


Member Function Documentation

unsigned int MipResources::Points2D::push_back ( Position  p  ) 

Add a point to Points2D.

Parameters:
p Point position.
Returns:
Current number of points.
Parameters:
p Point position.
Returns:
Current number of points.

Position MipResources::Points2D::point ( unsigned int  i  )  [inline]

Gets the i-th point.

Returns:
The i-th point.
Parameters:
i Index of the point to get.

DraWinObjPlate MipResources::Points2D::plate (  )  [inline, virtual]

Gets the plate.

Returns:
Plate.

Implements MipResources::DraWinObj.

Reimplemented in MipResources::Polygon2D.

unsigned int MipResources::Points2D::size (  )  [inline]

Gets the current number of points.

Returns:
Current number of points.

Decimal MipResources::Points2D::pointsSize (  )  [inline]

Gets the points drawing size.

Returns:
Points drawing size.

void MipResources::Points2D::boundBox ( DraWinBoundBox bb  )  [inline, virtual]

Gets the bounding box.

Returns:
Bounding box.

Implements MipResources::DraWinObj.


The documentation for this class was generated from the following files:

Generated on Mon Feb 20 07:01:12 2017 for MIP by  doxygen 1.5.6