NX Open C++ Reference Guide
|
Represents a collection of polylines. 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::Polyline * | CreateThroughPoints (NXOpen::SmartObject::UpdateOption updateOption, const std::vector< NXOpen::Point * > &points, bool isClosed) |
Create a polyline from points. More... | |
iterator | end () |
Returns an iterator addressing one past the last element. More... | |
NXOpen::Polyline * | FindObject (const NXString &journalIdentifier) |
Finds the Polyline with the given identifier as recorded in a journal. More... | |
NXOpen::Polyline * | FindObject (const char *journalIdentifier) |
Finds the Polyline with the given identifier as recorded in a journal. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a collection of polylines.
To obtain an instance of this class, refer to NXOpen::BasePart
Created in NX10.0.0.
iterator NXOpen::PolylineCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Polyline* NXOpen::PolylineCollection::CreateThroughPoints | ( | NXOpen::SmartObject::UpdateOption | updateOption, |
const std::vector< NXOpen::Point * > & | points, | ||
bool | isClosed | ||
) |
Create a polyline from points.
updateOption | updateoption |
points | points |
isClosed | isclosed |
iterator NXOpen::PolylineCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Polyline* NXOpen::PolylineCollection::FindObject | ( | const NXString & | journalIdentifier | ) |
Finds the Polyline with the given identifier as recorded in a journal.
An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
journalIdentifier | Journal identifier of the polyline |
NXOpen::Polyline* NXOpen::PolylineCollection::FindObject | ( | const char * | journalIdentifier | ) |
Finds the Polyline with the given identifier as recorded in a journal.
An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
journalIdentifier | Journal identifier of the polyline |
tag_t NXOpen::PolylineCollection::Tag | ( | ) | const |
Returns the tag of this object.