Hide menu
Loading...
Searching...
No Matches
cadex::ModelData::PointSet Class Reference

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::PointPoint (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)
 

Detailed Description

Defines a polygonal shape consisting of individual points.

Constructor & Destructor Documentation

◆ PointSet() [1/2]

cadex::ModelData::PointSet::PointSet ( )
inline

Constructor.

Creates not initialized object, for which IsNull() returns true.

◆ PointSet() [2/2]

cadex::ModelData::PointSet::PointSet ( const std::vector< Geom::Point > & thePoints)

Constructor. Creates a point set from points thePoints.