NX Open C++ Reference Guide
|
Represents a collection of Road objects
To obtain an instance of this class, refer to NXOpen::Motion::MotionManager
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... | |
NXOpen::Motion::RoadBuilder * | CreateRoadBuilder (NXOpen::Motion::Road *road) |
Creates a NXOpen::Motion::RoadBuilder. More... | |
iterator | end () |
Returns an iterator addressing one past the last element. More... | |
NXOpen::Motion::Road * | FindObject (const NXString &name) |
Finds the NXOpen::Motion::Road object with the given name. More... | |
NXOpen::Motion::Road * | FindObject (const char *name) |
Finds the NXOpen::Motion::Road object with the given name. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a collection of Road objects
To obtain an instance of this class, refer to NXOpen::Motion::MotionManager
Created in NX11.0.0.
iterator NXOpen::Motion::RoadCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Motion::RoadBuilder* NXOpen::Motion::RoadCollection::CreateRoadBuilder | ( | NXOpen::Motion::Road * | road | ) |
Creates a NXOpen::Motion::RoadBuilder.
road | NXOpen::Motion::Road to be edited |
iterator NXOpen::Motion::RoadCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Motion::Road* NXOpen::Motion::RoadCollection::FindObject | ( | const NXString & | name | ) |
Finds the NXOpen::Motion::Road object with the given name.
An exception will be thrown if no object can be found with given name.
name | Name of the Road object. |
NXOpen::Motion::Road* NXOpen::Motion::RoadCollection::FindObject | ( | const char * | name | ) |
Finds the NXOpen::Motion::Road object with the given name.
An exception will be thrown if no object can be found with given name.
name | Name of the Road object. |
tag_t NXOpen::Motion::RoadCollection::Tag | ( | ) | const |
Returns the tag of this object.