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. | |
Public Member Functions inherited from cadex::Drawing::Element | |
| void | SetUuid (const Uuid &theUuid) |
| cadex::Uuid | Uuid () const |
| void | Accept (ElementVisitor &theVisitor) const |
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) |
Static Public Member Functions inherited from cadex::Drawing::Element | |
| 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::Drawing::Geometry | |
| Geometry (const ImplType &theImpl) | |
Protected Member Functions inherited from cadex::Drawing::Element | |
| Element (const ImplType &theImpl) | |
Protected Member Functions inherited from cadex::BaseObject | |
| 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.