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>

Inheritance diagram for cadex::ModelData::PointSet:
cadex::ModelData::MeshShape cadex::BaseObject

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.
 
- 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)
 

Detailed Description

Defines a polygonal shape consisting of individual points.

Examples
exploring/mesh/Program.cs, and exploring/mesh/main.cxx.

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.