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
Created in NX5.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. | |
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. | |
NXOpen::Motion::BodyContact * | FindObject (const char *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
Created in NX5.0.0.
iterator NXOpen::Motion::BodyContactCollection::begin | ( | ) |
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 |
iterator NXOpen::Motion::BodyContactCollection::end | ( | ) |
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. @return @link Motion::BodyContact Motion::BodyContact @endlink of this name.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
name | The name of the contact object. |
NXOpen::Motion::BodyContact* NXOpen::Motion::BodyContactCollection::FindObject | ( | const char * | name | ) |
Finds the Motion::BodyContact with the given name.
An exception will be thrown if no object can be found with given name. @return @link Motion::BodyContact Motion::BodyContact @endlink of this name.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
name | The name of the contact object. |
tag_t NXOpen::Motion::BodyContactCollection::Tag | ( | ) | const |
Returns the tag of this object.