Defines a polygonal shape consisting of individual points. More...
#include <cadex/ModelData/PointSet.hxx>
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. | |
Public Member Functions inherited from cadex::BaseObject | |
| size_t | Id () const |
| Return unique identifier of public object. | |
| internal::BaseObjectImpl * | Impl () const |
| bool | IsNull () const |
| operator bool () const | |
| template<typename T > | |
| bool | IsOfType () const |
| template<typename T > | |
| T * | Impl () const |
| Reserved for internal use. | |
Static Public Member Functions | |
| static bool | CompareType (const BaseObject &theObject) |
Additional Inherited Members | |
Public Types inherited from cadex::BaseObject | |
| typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Protected Member Functions inherited from cadex::ModelData::MeshShape | |
| MeshShape (const ImplType &theImpl) | |
Protected Member Functions inherited from cadex::BaseObject | |
| BaseObject (const ImplType &theImpl) | |
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.