NX Open C++ Reference Guide
Classes | Public Member Functions | List of all members
NXOpen::Routing::WireCollection Class Reference

The Routing Wire object is a list of segments in a route and some stock. More...

Inheritance diagram for NXOpen::Routing::WireCollection:
NXOpen::TaggedObjectCollection

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::Routing::WireCreateWire (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. More...
 
iterator end ()
 Returns an iterator addressing one past the last element. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

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 NXOpen::Routing::RouteManager

Created in NX4.0.0.

Member Function Documentation

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.

Returns

Created in NX4.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
Parameters
startControlPointstart of the path
endControlPointend of the path
segmentsThe list of segments this wire is following.
stockDatastockdata
stocksStock bodies that cover the segments. Can be none and the system will generate them.
lengthOfWirelengthofwire
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.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.