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

Represents a collection of NXOpen::Routing::DiscontinuityCorner objects. More...

Inheritance diagram for NXOpen::Routing::DiscontinuityCornerCollection:
NXOpen::TaggedObjectCollection

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...
 

Public Member Functions

bool AreSegmentsDisconnected (NXOpen::Routing::SplineSegment *segment1, NXOpen::Routing::SplineSegment *segment2, NXOpen::Routing::ControlPoint *rcp)
 Checks whether segment1 and segment2 are disconnected at a control point due to a discontinuity corner. More...
 
iterator begin ()
 Returns an iterator addressing the first element. More...
 
NXOpen::Routing::DiscontinuityCornerCreate (NXOpen::Routing::ControlPoint *rcp, NXOpen::Routing::ISegment *firstSegment, NXOpen::Routing::ISegment *secondSegment)
 Creates a discontinuity corner object at the given NXOpen::Routing::ControlPoint . More...
 
iterator end ()
 Returns an iterator addressing one past the last element. More...
 
std::vector
< NXOpen::Routing::DiscontinuityCorner * > 
GetDiscontinuityCorners (NXOpen::Routing::ControlPoint *rcp)
 Return the discontinuity corners assigned to the input control point. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of NXOpen::Routing::DiscontinuityCorner objects.


To obtain an instance of this class, refer to NXOpen::Routing::RouteManager

Created in NX4.0.0.

Member Function Documentation

bool NXOpen::Routing::DiscontinuityCornerCollection::AreSegmentsDisconnected ( NXOpen::Routing::SplineSegment segment1,
NXOpen::Routing::SplineSegment segment2,
NXOpen::Routing::ControlPoint rcp 
)

Checks whether segment1 and segment2 are disconnected at a control point due to a discontinuity corner.

Returns
TRUE: If the two segments are disconnected. FALSE: Otherwise .
Created in NX4.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
Parameters
segment1First segment associated with the corner.
segment2The 2nd segment associated with the corner.
rcpControl point.
iterator NXOpen::Routing::DiscontinuityCornerCollection::begin ( )

Returns an iterator addressing the first element.

NXOpen::Routing::DiscontinuityCorner* NXOpen::Routing::DiscontinuityCornerCollection::Create ( NXOpen::Routing::ControlPoint rcp,
NXOpen::Routing::ISegment firstSegment,
NXOpen::Routing::ISegment secondSegment 
)

Creates a discontinuity corner object at the given NXOpen::Routing::ControlPoint .

There must be two input NXOpen::Routing::ISegment objects, and they both must reference the input NXOpen::Routing::ControlPoint object.

Returns
The new disc corner object.
Created in NX4.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
Parameters
rcprcp
firstSegmentfirst segment to form discontinuity on, must be attached to the input RCP.
secondSegmentsecond segment to form discontinuity on, must be attached to the input RCP.
iterator NXOpen::Routing::DiscontinuityCornerCollection::end ( )

Returns an iterator addressing one past the last element.

std::vector<NXOpen::Routing::DiscontinuityCorner *> NXOpen::Routing::DiscontinuityCornerCollection::GetDiscontinuityCorners ( NXOpen::Routing::ControlPoint rcp)

Return the discontinuity corners assigned to the input control point.

There may be more than one discontinuity corner assigned to input control point. This may occur for example when four segments form a cross, the control point at the center may have two discontinuity corners assigned. One corner will force stock to split when crossing the horizontal segments, the other will cause stock to split when crossing the vertical segments.

Returns
Corner objects pointing to the rcp.
Created in NX4.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
Parameters
rcpThe control point
tag_t NXOpen::Routing::DiscontinuityCornerCollection::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.