Describes drawing elements composed of 2D points. More...
#include <cadex/Drawing/Geometry.hxx>
Public Member Functions | |
PointSet () | |
Constructor. | |
void | AddPoint (const Geom::Point2d &thePoint) |
Adds the point to the element. | |
size_t | NumberOfPoints () const |
Returns the number of points currently composing the element. | |
const Geom::Point2d & | Point (size_t theIndex) const |
Returns the specified point of the element. | |
![]() | |
void | SetUuid (const Uuid &theUuid) |
cadex::Uuid | Uuid () const |
void | Accept (ElementVisitor &theVisitor) const |
![]() | |
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) |
![]() | |
static bool | CompareType (const BaseObject &theObject) |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
![]() | |
Geometry (const ImplType &theImpl) | |
![]() | |
Element (const ImplType &theImpl) | |
![]() | |
BaseObject (const ImplType &theImpl) | |
Describes drawing elements composed of 2D points.
This geometric element encapsulates the portion of the view's geometry described with 2D points.
const Geom::Point2d & cadex::Drawing::PointSet::Point | ( | size_t | theIndex | ) | const |
Returns the specified point of the element.
theIndex must be in the range [0; NumberOfPoints()-1]. Otherwise the behavior is undefined.