Defines an outline consist of curves. More...
#include <cadex/PMI/Outline.hxx>
Public Member Functions | |
| CurveOutline () | |
| Constructor. | |
| void | Append (const Geom::Curve &theCurve) |
| Appends the curve. | |
| const std::vector< Geom::Curve > & | Curves () const |
| Returns the curves. | |
| bool | IsEmpty () const |
| Returns true if no curves have been added. | |
| size_t | NumberOfCurves () const |
| Returns the number of the added curves. | |
| const Geom::Curve & | Curve (size_t theIndex) const |
| Returns the specified curve. | |
Public Member Functions inherited from cadex::PMI::Outline | |
| void | Accept (OutlineVisitor &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) |
| Returns true if theObject has the CurveOutline type. | |
Static Public Member Functions inherited from cadex::PMI::Outline | |
| static bool | CompareType (const BaseObject &theObject) |
| Returns true if theObject has the Outline type. | |
Protected Member Functions | |
| CurveOutline (const ImplType &theImpl) | |
Protected Member Functions inherited from cadex::PMI::Outline | |
| Outline (const ImplType &theImpl) | |
Protected Member Functions inherited from cadex::BaseObject | |
| BaseObject (const ImplType &theImpl) | |
Additional Inherited Members | |
Public Types inherited from cadex::BaseObject | |
| typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Defines an outline consist of curves.
| const Geom::Curve & cadex::PMI::CurveOutline::Curve | ( | size_t | theIndex | ) | const |
Returns the specified curve.
theIndex must be in the range [0, NumberOfCurves()-1]. Otherwise the result is undefined.
Must not be called on IsNull() object. Otherwise behavior is undefined.
| bool cadex::PMI::CurveOutline::IsEmpty | ( | ) | const |
Returns true if no curves have been added.
Returns true if IsNull().
| size_t cadex::PMI::CurveOutline::NumberOfCurves | ( | ) | const |
Returns the number of the added curves.
Returns 0 if IsNull().