Defines a polygonal shape consisting of individual points. More...
#include <cadex/ModelData/PointSet.hxx>
Inherits cadex::ModelData::PolyShape.
Public Member Functions | |
PointSet () | |
Constructor. | |
PointSet (const std::vector< Geom::Point > &thePoints) | |
void | AddPoint (const Geom::Point &thePoint) |
Adds a point into a point set. | |
void | AddPoints (const std::vector< Geom::Point > &thePoints) |
Adds points into a point set. | |
const Geom::Point & | Point (size_t theIndex) const |
Returns the point at position theIndex in point set. | |
size_t | NumberOfPoints () const |
Returns a number of points in point set. | |
Static Public Member Functions | |
static bool | CompareType (const BaseObject &theObject) |
Defines a polygonal shape consisting of individual points.
|
inline |
Constructor.
Creates not initialized object, for which IsNull() returns true.
cadex::ModelData::PointSet::PointSet | ( | const std::vector< Geom::Point > & | thePoints | ) |
Constructor. Creates a point set from points thePoints.