NX Open C++ Reference Guide
|
The Routing Wire object is a list of segments in a route and some stock. 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::Routing::Wire * | CreateWire (NXOpen::Routing::ControlPoint *startControlPoint, NXOpen::Routing::ControlPoint *endControlPoint, const std::vector< NXOpen::Routing::ISegment * > &segments, NXOpen::Routing::StockData *stockData, const std::vector< NXOpen::Routing::Stock * > &stocks, double lengthOfWire) |
Creates a wire object. | |
iterator | end () |
Returns an iterator addressing one past the last element. | |
tag_t | Tag () const |
Returns the tag of this object. | |
The Routing Wire object is a list of segments in a route and some stock.
It also contains the beginning and ending control point for the path.
To obtain an instance of this class, refer to Routing::RouteManager
Created in NX4.0.0.
iterator NXOpen::Routing::WireCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Routing::Wire* NXOpen::Routing::WireCollection::CreateWire | ( | NXOpen::Routing::ControlPoint * | startControlPoint, |
NXOpen::Routing::ControlPoint * | endControlPoint, | ||
const std::vector< NXOpen::Routing::ISegment * > & | segments, | ||
NXOpen::Routing::StockData * | stockData, | ||
const std::vector< NXOpen::Routing::Stock * > & | stocks, | ||
double | lengthOfWire | ||
) |
Creates a wire object.
startControlPoint | start of the path |
endControlPoint | end of the path |
segments | The list of segments this wire is following. |
stockData | stockdata |
stocks | Stock bodies that cover the segments. Can be none and the system will generate them. |
lengthOfWire | lengthofwire |
iterator NXOpen::Routing::WireCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
tag_t NXOpen::Routing::WireCollection::Tag | ( | ) | const |
Returns the tag of this object.