NX Open C++ Reference Guide
|
Interface class for all routing segments [Line/Arc/Spline]
Created in NX4.0.0.
More...
Public Member Functions | |
virtual NXOpen::Routing::ConvertEccentricLinearToLinear | ConvertEccentricLinearToLinear ()=0 |
Is line segment eccentric converted to line segment? | |
virtual NXOpen::Routing::ConvertLinearToEccentricLinear | ConvertLinearToEccentricLinear ()=0 |
Is line segment converted to eccentric line segment? | |
virtual NXOpen::Curve * | FollowCurve ()=0 |
Returns the segment follow curve. | |
virtual std::vector < NXOpen::Routing::Electrical::CableDevice * > | GetCableDevices ()=0 |
Returns Routing::Electrical::CableDevice objects from Routing::ISegment . | |
virtual std::vector < NXOpen::Routing::Electrical::CablewaysLayoutView * > | GetCablewaysLayoutViews ()=0 |
Returns Routing::Electrical::CablewaysLayoutView objects from the Routing::ISegment . | |
virtual void | GetEndPoints (NXOpen::Point3d *startPoint, NXOpen::Point3d *endPoint)=0 |
Get the current location of the segment ends in ABS coordinates. | |
virtual void | GetEndRcps (NXOpen::Routing::ControlPoint **startRcp, NXOpen::Routing::ControlPoint **endRcp)=0 |
Return of segment end control points. | |
virtual NXOpen::Routing::Eccentric | GetIsEccentricSegment ()=0 |
Is given segment a eccentric segment? | |
virtual NXOpen::Routing::Interior | GetIsSegmentInterior ()=0 |
Query if a segment is interior to any part. | |
virtual NXOpen::Routing::Terminal | GetIsTerminalSegment ()=0 |
Is given segment a terminal segment? | |
virtual std::vector < NXOpen::Routing::Stock * > | GetSegmentAllStocks ()=0 |
Returns Routing::Stock as well as Routing::Overstock objects from the Routing::ISegment . | |
virtual std::vector < NXOpen::Routing::Stock * > | GetSegmentStock ()=0 |
Returns all stocks that directly reference this segment as part of the path defining the stock. | |
virtual void | SetEndPoints (const NXOpen::Point3d &startPoint, const NXOpen::Point3d &endPoint)=0 |
Set the current location of the segment ends in ABS coordinates. | |
virtual void | SetEndRcps (NXOpen::Routing::ControlPoint *startRcp, NXOpen::Routing::ControlPoint *endRcp)=0 |
Created in NX4.0.0. | |
virtual void | SetIsTerminalSegment (NXOpen::Routing::Terminal isTerminal)=0 |
Set given segment to be a terminal segment? Created in NX4.0.0. | |
virtual void | SetSegmentInteriorPart (NXOpen::Assemblies::Component *interiorPart)=0 |
Set a segment to be interior to supplied part Created in NX4.0.0. |
Interface class for all routing segments [Line/Arc/Spline]
Created in NX4.0.0.
virtual NXOpen::Routing::ConvertEccentricLinearToLinear NXOpen::Routing::ISegment::ConvertEccentricLinearToLinear | ( | ) | [pure virtual] |
Is line segment eccentric converted to line segment?
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual NXOpen::Routing::ConvertLinearToEccentricLinear NXOpen::Routing::ISegment::ConvertLinearToEccentricLinear | ( | ) | [pure virtual] |
Is line segment converted to eccentric line segment?
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual NXOpen::Curve* NXOpen::Routing::ISegment::FollowCurve | ( | ) | [pure virtual] |
Returns the segment follow curve.
NULL object indicates segment has no follow curve
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual std::vector<NXOpen::Routing::Electrical::CableDevice *> NXOpen::Routing::ISegment::GetCableDevices | ( | ) | [pure virtual] |
Returns Routing::Electrical::CableDevice objects from Routing::ISegment .
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual std::vector<NXOpen::Routing::Electrical::CablewaysLayoutView *> NXOpen::Routing::ISegment::GetCablewaysLayoutViews | ( | ) | [pure virtual] |
Returns Routing::Electrical::CablewaysLayoutView objects from the Routing::ISegment .
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual void NXOpen::Routing::ISegment::GetEndPoints | ( | NXOpen::Point3d * | startPoint, |
NXOpen::Point3d * | endPoint | ||
) | [pure virtual] |
Get the current location of the segment ends in ABS coordinates.
This value is overridden by the coordinates of the end RCPs associated with this segment.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
startPoint | Location of end 0 in ABS coordinates |
endPoint | Location of end 1 in ABS coordinates |
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual void NXOpen::Routing::ISegment::GetEndRcps | ( | NXOpen::Routing::ControlPoint ** | startRcp, |
NXOpen::Routing::ControlPoint ** | endRcp | ||
) | [pure virtual] |
Return of segment end control points.
The Routing::ControlPoint defines an end of a segment
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
startRcp | RCP defining start of segment |
endRcp | RCP defining end of segment |
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual NXOpen::Routing::Eccentric NXOpen::Routing::ISegment::GetIsEccentricSegment | ( | ) | [pure virtual] |
Is given segment a eccentric segment?
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual NXOpen::Routing::Interior NXOpen::Routing::ISegment::GetIsSegmentInterior | ( | ) | [pure virtual] |
Query if a segment is interior to any part.
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual NXOpen::Routing::Terminal NXOpen::Routing::ISegment::GetIsTerminalSegment | ( | ) | [pure virtual] |
Is given segment a terminal segment?
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual std::vector<NXOpen::Routing::Stock *> NXOpen::Routing::ISegment::GetSegmentAllStocks | ( | ) | [pure virtual] |
Returns Routing::Stock as well as Routing::Overstock objects from the Routing::ISegment .
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual std::vector<NXOpen::Routing::Stock *> NXOpen::Routing::ISegment::GetSegmentStock | ( | ) | [pure virtual] |
Returns all stocks that directly reference this segment as part of the path defining the stock.
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual void NXOpen::Routing::ISegment::SetEndPoints | ( | const NXOpen::Point3d & | startPoint, |
const NXOpen::Point3d & | endPoint | ||
) | [pure virtual] |
Set the current location of the segment ends in ABS coordinates.
This value is overridden by the coordinates of the end RCPs associated with this segment.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
startPoint | New location of end 0 in ABS coordinates |
endPoint | New location of end 1 in ABS coordinates |
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual void NXOpen::Routing::ISegment::SetEndRcps | ( | NXOpen::Routing::ControlPoint * | startRcp, |
NXOpen::Routing::ControlPoint * | endRcp | ||
) | [pure virtual] |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
startRcp | RCP defining start of segment |
endRcp | RCP defining end of segment |
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual void NXOpen::Routing::ISegment::SetIsTerminalSegment | ( | NXOpen::Routing::Terminal | isTerminal | ) | [pure virtual] |
Set given segment to be a terminal segment?
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
isTerminal | Set as terminal segment? |
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.
virtual void NXOpen::Routing::ISegment::SetSegmentInteriorPart | ( | NXOpen::Assemblies::Component * | interiorPart | ) | [pure virtual] |
Set a segment to be interior to supplied part
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
interiorPart | Part segment interior? |
Implemented in NXOpen::Routing::LineSegment, NXOpen::Routing::ArcSegment, and NXOpen::Routing::SplineSegment.