NX Open C++ Reference Guide
|
Represents a collection of 3D contact objects.Any contact object must be created and found through this class
To obtain an instance of this class, refer to Motion::MotionManager
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. | |
NXOpen::Motion::BodyContactBuilder * | CreateBodyContactBuilder (NXOpen::Motion::BodyContact *contactobj) |
Creates a Motion::BodyContactBuilder. | |
iterator | end () |
Returns an iterator addressing one past the last element. | |
NXOpen::Motion::BodyContact * | FindObject (const NXString &name) |
Finds the Motion::BodyContact with the given name. | |
tag_t | Tag () const |
Returns the tag of this object. |
Represents a collection of 3D contact objects.Any contact object must be created and found through this class
To obtain an instance of this class, refer to Motion::MotionManager
Returns an iterator addressing the first element.
NXOpen::Motion::BodyContactBuilder* NXOpen::Motion::BodyContactCollection::CreateBodyContactBuilder | ( | NXOpen::Motion::BodyContact * | contactobj | ) |
Creates a Motion::BodyContactBuilder.
contactobj | "Motion::BodyContact to be edited, if NULL then create a new one |
Returns an iterator addressing one past the last element.
NXOpen::Motion::BodyContact* NXOpen::Motion::BodyContactCollection::FindObject | ( | const NXString & | name | ) |
Finds the Motion::BodyContact with the given name.
An exception will be thrown if no object can be found with given name.
name | The name of the contact object. |
tag_t NXOpen::Motion::BodyContactCollection::Tag | ( | ) | const |
Returns the tag of this object.