Defines a collection of outlines. More...
#include <cadex/PMI/Outline.hxx>
Public Member Functions | |
| CompositeOutline () | |
| Constructor. | |
| void | Append (const Outline &theOutline) |
| Appends the outline. | |
| const std::vector< PMI::Outline > & | Outlines () const |
| Returns the outlines. | |
| size_t | NumberOfOutlines () const |
| Returns the number of added outlines. | |
| bool | IsEmpty () const |
| Returns true if no outlines have been added. | |
| const Outline & | Outline (size_t theIndex) const |
| Returns the specified outline. | |
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 CompositeOutline 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 | |
| CompositeOutline (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 a collection of outlines.
| bool cadex::PMI::CompositeOutline::IsEmpty | ( | ) | const |
Returns true if no outlines have been added.
Returns true if IsNull().
| size_t cadex::PMI::CompositeOutline::NumberOfOutlines | ( | ) | const |
Returns the number of added outlines.
Returns 0 if IsNull().
| const Outline & cadex::PMI::CompositeOutline::Outline | ( | size_t | theIndex | ) | const |
Returns the specified outline.
theIndex must be in the range [0, NumberOfOutlines()-1]. Otherwise the result is undefined.
Must not be called on IsNull() object. Otherwise behavior is undefined.