NX Open C++ Reference Guide
|
Represents a collection of NXOpen::Routing::ControlPoint objects. More...
Classes | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Public Types | |
enum | CheckExisting { CheckExistingDontSearch, CheckExistingSearch } |
Option for searching for an existing NXOpen::Routing::ControlPoint when attempting to create an new NXOpen::Routing::ControlPoint . More... | |
enum | FoundExisting { FoundExistingBrandNew, FoundExistingExisting } |
Whether NXOpen::Routing::ControlPoint returned from the creator methods was an existing NXOpen::Routing::ControlPoint or a new NXOpen::Routing::ControlPoint . More... | |
Represents a collection of NXOpen::Routing::ControlPoint objects.
Iterating this collection only returns live uncondemned objects contained in the owning part of the collection. Note that NXOpen::Routing::ControlPoint is a smart object and many smart objects are condemned as they only exist to support other objects and are not displayed.
To obtain an instance of this class, refer to NXOpen::Routing::RouteManager
Created in NX4.0.0.
Option for searching for an existing NXOpen::Routing::ControlPoint when attempting to create an new NXOpen::Routing::ControlPoint .
Whether NXOpen::Routing::ControlPoint returned from the creator methods was an existing NXOpen::Routing::ControlPoint or a new NXOpen::Routing::ControlPoint .
Enumerator | |
---|---|
FoundExistingBrandNew |
Object is a new object. |
FoundExistingExisting |
Object existed already. |
iterator NXOpen::Routing::ControlPointCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Routing::ControlPoint* NXOpen::Routing::ControlPointCollection::CreateControlPoint | ( | const NXOpen::Point3d & | position, |
NXOpen::Routing::ControlPointCollection::CheckExisting | checkExisting, | ||
NXOpen::Routing::ControlPointCollection::FoundExisting * | foundExisting | ||
) |
Creates a dumb NXOpen::Routing::ControlPoint object.
The NXOpen::Routing::ControlPoint 's position is not associative to any other object.
position | ABS coordinates |
checkExisting | Return an existing NXOpen::Routing::ControlPoint object if one exists at the same location as the position. |
foundExisting | Returned NXOpen::Routing::ControlPoint is an existing control point. |
NXOpen::Routing::ControlPoint* NXOpen::Routing::ControlPointCollection::CreateControlPoint | ( | NXOpen::Routing::Port * | port, |
NXOpen::Routing::ControlPointCollection::CheckExisting | checkExisting, | ||
NXOpen::Routing::ControlPointCollection::FoundExisting * | foundExisting | ||
) |
Creates a smart NXOpen::Routing::ControlPoint object.
The NXOpen::Routing::ControlPoint 's position is associative to the input NXOpen::Routing::Port .
port | port |
checkExisting | Return an existing NXOpen::Routing::ControlPoint object if one exists at the same location as the position. |
foundExisting | Returned NXOpen::Routing::ControlPoint is an existing control point. |
NXOpen::Routing::ControlPoint* NXOpen::Routing::ControlPointCollection::CreateControlPoint | ( | NXOpen::TaggedObject * | object, |
double | objectParm, | ||
NXOpen::Routing::ControlPointCollection::CheckExisting | checkExisting, | ||
NXOpen::Routing::ControlPointCollection::FoundExisting * | foundExisting | ||
) |
Creates a NXOpen::Routing::ControlPoint at the given object and normalized parameter.
Supports curves [includes segments], ports and circular edges.
object | object |
objectParm | object parm |
checkExisting | Return an existing NXOpen::Routing::ControlPoint object if one exists at the same location as the position. |
foundExisting | Returned NXOpen::Routing::ControlPoint is an existing control point. |
NXOpen::Routing::ControlPoint* NXOpen::Routing::ControlPointCollection::CreateControlPoint | ( | NXOpen::Point * | point, |
NXOpen::Routing::ControlPointCollection::CheckExisting | checkExisting, | ||
NXOpen::Routing::ControlPointCollection::FoundExisting * | foundExisting | ||
) |
Creates a smart NXOpen::Routing::ControlPoint object.
The NXOpen::Routing::ControlPoint 's position is associative to the input NXOpen::Point .
point | point |
checkExisting | Return an existing NXOpen::Routing::ControlPoint object if one exists at the same location as the position. |
foundExisting | Returned NXOpen::Routing::ControlPoint is an existing control point. |
NXOpen::Routing::ControlPoint* NXOpen::Routing::ControlPointCollection::CreateControlPoint | ( | NXOpen::IBaseCurve * | conic, |
NXOpen::Routing::ControlPointCollection::CheckExisting | checkExisting, | ||
NXOpen::Routing::ControlPointCollection::FoundExisting * | foundExisting | ||
) |
Creates a smart NXOpen::Routing::ControlPoint object.
The NXOpen::Routing::ControlPoint 's position is associative to a NXOpen::Point that is defined at the center of a NXOpen::IBaseCurve object.
conic | conic |
checkExisting | Return an existing NXOpen::Routing::ControlPoint object if one exists at the same location as the position. |
foundExisting | Returned NXOpen::Routing::ControlPoint is an existing control point. |
NXOpen::Routing::ControlPoint* NXOpen::Routing::ControlPointCollection::CreateControlPoint | ( | NXOpen::Routing::IRoutePosition * | startObject, |
const NXOpen::Vector3d & | offset, | ||
NXOpen::Routing::ControlPointCollection::CheckExisting | checkExisting, | ||
NXOpen::Routing::ControlPointCollection::FoundExisting * | foundExisting | ||
) |
Creates a dumb NXOpen::Routing::ControlPoint object.
The NXOpen::Routing::ControlPoint 's position is not associative to any other object. The position of the object is located at the XC, YC, ZC offset (using the work coordinate system) from the input NXOpen::Routing::IRoutePosition object.
startObject | Starting position. |
offset | Offset values. |
checkExisting | Return an existing NXOpen::Routing::ControlPoint object if one exists at the same location as the position. |
foundExisting | Returned NXOpen::Routing::ControlPoint is an existing control point. |
NXOpen::Routing::ControlPoint* NXOpen::Routing::ControlPointCollection::CreateControlPoint | ( | NXOpen::Routing::ControlPoint * | cpOcc, |
NXOpen::Routing::ControlPointCollection::CheckExisting | checkExisting, | ||
NXOpen::Routing::ControlPointCollection::FoundExisting * | foundExisting | ||
) |
Creates a smart NXOpen::Routing::ControlPoint object.
The NXOpen::Routing::ControlPoint 's position is smart point that is associative to a NXOpen::Point that is associative to a NXOpen::Routing::ControlPoint occurrence.
cpOcc | Occurrence of a NXOpen::Routing::ControlPoint object. |
checkExisting | Return an existing NXOpen::Routing::ControlPoint object if one exists at the same location as the position. |
foundExisting | Returned NXOpen::Routing::ControlPoint is an existing control point. |
iterator NXOpen::Routing::ControlPointCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Routing::ControlPoint* NXOpen::Routing::ControlPointCollection::FindControlPoint | ( | const NXOpen::Point3d & | position, |
double | tolerance | ||
) |
Finds an existing NXOpen::Routing::ControlPoint at the given ABS coordinates within the given tolerance.
position | ABS coordinates |
tolerance | Distance tolerance, smallest useful tolerance is returned from NXOpen::Routing::RouteManager::GetLengthTolerance . |
tag_t NXOpen::Routing::ControlPointCollection::Tag | ( | ) | const |
Returns the tag of this object.