NX Open C++ Reference Guide
|
Represents a collection of Segment objects, only creation is supported
To obtain an instance of this class, refer to NXOpen::Motion::Road
Created in NX11.0.0.
More...
Classes | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Public Member Functions | |
iterator | begin () |
Returns an iterator addressing the first element. More... | |
iterator | end () |
Returns an iterator addressing one past the last element. More... | |
NXOpen::Motion::Segment * | FindObject (const NXString &name) |
Finds the NXOpen::Motion::Segment object with the given name. More... | |
NXOpen::Motion::Segment * | FindObject (const char *name) |
Finds the NXOpen::Motion::Segment object with the given name. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a collection of Segment objects, only creation is supported
To obtain an instance of this class, refer to NXOpen::Motion::Road
Created in NX11.0.0.
iterator NXOpen::Motion::SegmentCollection::begin | ( | ) |
Returns an iterator addressing the first element.
iterator NXOpen::Motion::SegmentCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Motion::Segment* NXOpen::Motion::SegmentCollection::FindObject | ( | const NXString & | name | ) |
Finds the NXOpen::Motion::Segment object with the given name.
An exception will be thrown if no object can be found with given name.
name | Name of the Segment object. |
NXOpen::Motion::Segment* NXOpen::Motion::SegmentCollection::FindObject | ( | const char * | name | ) |
Finds the NXOpen::Motion::Segment object with the given name.
An exception will be thrown if no object can be found with given name.
name | Name of the Segment object. |
tag_t NXOpen::Motion::SegmentCollection::Tag | ( | ) | const |
Returns the tag of this object.