Describes drawing elements composed of 2D curves. More...
#include <cadex/Drawing/Geometry.hxx>
Public Member Functions | |
CurveSet () | |
Constructor. | |
void | AddCurve (const Geom::Curve2d &theCurve) |
Adds a curve to the element. | |
size_t | NumberOfCurves () const |
Returns the number of curves currently composing the element. | |
const Geom::Curve2d & | Curve (size_t theIndex) const |
Returns the specified curve 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 curves.
This geometric element encapsulates the portion of the view's geometry described with parametric 2D curves (more specifically, objects of classes derived from Geom::Curve2d).
const Geom::Curve2d & cadex::Drawing::CurveSet::Curve | ( | size_t | theIndex | ) | const |
Returns the specified curve of the element.
theIndex must be in the range [0; NumberOfCurves()-1]. Otherwise the behavior is undefined.