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

Represents a NXOpen::Routing::SubdivideSegmentBuilder . More...

Inheritance diagram for NXOpen::Routing::SubdivideSegmentBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  EqualSegmentsMethod { EqualSegmentsMethodEqualArcLength, EqualSegmentsMethodEqualParameter }
 Options for subdivision with Equal Segments spacing method. More...
 
enum  Types { TypesAtPoint, TypesEqualSegments, TypesArcLengthSegments }
 Spacing method to use for subdivision. More...
 

Public Member Functions

NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod EqualSegmentsOption ()
 Returns the equal segments option as NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod
Created in NX6.0.0. More...
 
void GetSplineSettings (bool *createTangency, bool *createPoints)
 Gets the current subdivide spline settings. More...
 
void GetSplineSettings (bool *createTangency, bool *createPoints, bool *addFixConstraint)
 Gets the current subdivide spline settings. More...
 
bool ReverseSubdividePoint ()
 Returns the direction of the start of segment to subdivide. More...
 
NXOpen::Routing::SelectISegmentSegment ()
 Returns the segment to subdivide
Created in NX6.0.0. More...
 
void SetEqualSegmentsOption (NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod equalSegmentsOption)
 Sets the equal segments option as NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod
Created in NX6.0.0. More...
 
void SetReverseSubdividePoint (bool reverseSubdividePoint)
 Sets the direction of the start of segment to subdivide. More...
 
void SetSplineSettings (bool createTangency, bool addPoints)
 Sets options for subdividing splines. More...
 
void SetSplineSettings (bool createTangency, bool addPoints, bool addFixConstraint)
 Sets options for subdividing splines. More...
 
void SetSubdivideNumSegments (int subdivideNumSegments)
 Sets the number of subdivisions to do on the given segment, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesEqualSegments or NXOpen::Routing::SubdivideSegmentBuilder::TypesArcLengthSegments. More...
 
void SetType (NXOpen::Routing::SubdivideSegmentBuilder::Types type)
 Sets the spacing method as NXOpen::Routing::SubdivideSegmentBuilder::Types
Created in NX6.0.0. More...
 
NXOpen::GeometricUtilities::OnPathDimensionBuilderSubdivideArcLength ()
 Returns the arc length of each resulting segment from subdivision, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesArcLengthSegments. More...
 
NXOpen::GeometricUtilities::OnPathDimensionBuilderSubdivideEndPercentage ()
 Returns the end location of subdivision on the segment as percentage, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesEqualSegments or NXOpen::Routing::SubdivideSegmentBuilder::TypesArcLengthSegments. More...
 
int SubdivideNumSegments ()
 Returns the number of subdivisions to do on the given segment, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesEqualSegments or NXOpen::Routing::SubdivideSegmentBuilder::TypesArcLengthSegments. More...
 
NXOpen::GeometricUtilities::OnPathDimensionBuilderSubdividePoint ()
 Returns the location of the subdivision point on segment as arclength or arclength or point, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesAtPoint. More...
 
NXOpen::GeometricUtilities::OnPathDimensionBuilderSubdivideStartPercentage ()
 Returns the start location of subdivision on the segment as percentage, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesEqualSegments or NXOpen::Routing::SubdivideSegmentBuilder::TypesArcLengthSegments. More...
 
NXOpen::Routing::SubdivideSegmentBuilder::Types Type ()
 Returns the spacing method as NXOpen::Routing::SubdivideSegmentBuilder::Types
Created in NX6.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a NXOpen::Routing::SubdivideSegmentBuilder .

This is used to subidivide a given segment into two or more segments based on one of the three spacing methods.
To create a new instance of this class, use NXOpen::Routing::RouteManager::CreateSubdivideSegmentBuilder
Default values.

Property Value

EqualSegmentsOption

EqualArcLength

SubdivideNumSegments

2


Created in NX6.0.0.

Member Enumeration Documentation

Options for subdivision with Equal Segments spacing method.

Enumerator
EqualSegmentsMethodEqualArcLength 

Equal Arc Length.

EqualSegmentsMethodEqualParameter 

Equal Parameter.

Spacing method to use for subdivision.

Enumerator
TypesAtPoint 

At Point.

TypesEqualSegments 

Equal Segments.

TypesArcLengthSegments 

Arc Length Segments.

Member Function Documentation

NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsOption ( )

Returns the equal segments option as NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod
Created in NX6.0.0.



License requirements : routing_base ("Routing Basic")

void NXOpen::Routing::SubdivideSegmentBuilder::GetSplineSettings ( bool *  createTangency,
bool *  createPoints 
)

Gets the current subdivide spline settings.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
createTangencyCreates tangency at the point where the spline is subdivided by adding parallel extensions.
createPointsAdd points to the new segments to maintain shape after subdivision.
void NXOpen::Routing::SubdivideSegmentBuilder::GetSplineSettings ( bool *  createTangency,
bool *  createPoints,
bool *  addFixConstraint 
)

Gets the current subdivide spline settings.


Created in NX7.5.2.

License requirements : routing_base ("Routing Basic")

Parameters
createTangencyCreates tangency at the point where the spline is subdivided by adding parallel extensions.
createPointsAdd points to the new segments to maintain shape after subdivision.
addFixConstraintAdds a fix constraint at newly created subdivision locations
bool NXOpen::Routing::SubdivideSegmentBuilder::ReverseSubdividePoint ( )

Returns the direction of the start of segment to subdivide.

The distance of the subdivision point on the segment is measured from this end.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

NXOpen::Routing::SelectISegment* NXOpen::Routing::SubdivideSegmentBuilder::Segment ( )

Returns the segment to subdivide
Created in NX6.0.0.



License requirements : routing_base ("Routing Basic")

void NXOpen::Routing::SubdivideSegmentBuilder::SetEqualSegmentsOption ( NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod  equalSegmentsOption)

Sets the equal segments option as NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod
Created in NX6.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
equalSegmentsOptionequalsegmentsoption
void NXOpen::Routing::SubdivideSegmentBuilder::SetReverseSubdividePoint ( bool  reverseSubdividePoint)

Sets the direction of the start of segment to subdivide.

The distance of the subdivision point on the segment is measured from this end.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
reverseSubdividePointreversesubdividepoint
void NXOpen::Routing::SubdivideSegmentBuilder::SetSplineSettings ( bool  createTangency,
bool  addPoints 
)

Sets options for subdividing splines.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
createTangencyCreates tangency at the point where the spline is subdivided by adding parallel extensions.
addPointsAdd points to the new segments to maintain shape after subdivision.
void NXOpen::Routing::SubdivideSegmentBuilder::SetSplineSettings ( bool  createTangency,
bool  addPoints,
bool  addFixConstraint 
)

Sets options for subdividing splines.


Created in NX7.5.2.

License requirements : routing_base ("Routing Basic")

Parameters
createTangencyCreates tangency at the point where the spline is subdivided by adding parallel extensions.
addPointsAdd points to the new segments to maintain shape after subdivision.
addFixConstraintAdds a fix constraint at newly created subdivision locations
void NXOpen::Routing::SubdivideSegmentBuilder::SetSubdivideNumSegments ( int  subdivideNumSegments)

Sets the number of subdivisions to do on the given segment, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesEqualSegments or NXOpen::Routing::SubdivideSegmentBuilder::TypesArcLengthSegments.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
subdivideNumSegmentssubdividenumsegments
void NXOpen::Routing::SubdivideSegmentBuilder::SetType ( NXOpen::Routing::SubdivideSegmentBuilder::Types  type)

Sets the spacing method as NXOpen::Routing::SubdivideSegmentBuilder::Types
Created in NX6.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
typetype
NXOpen::GeometricUtilities::OnPathDimensionBuilder* NXOpen::Routing::SubdivideSegmentBuilder::SubdivideArcLength ( )

Returns the arc length of each resulting segment from subdivision, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesArcLengthSegments.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

NXOpen::GeometricUtilities::OnPathDimensionBuilder* NXOpen::Routing::SubdivideSegmentBuilder::SubdivideEndPercentage ( )

Returns the end location of subdivision on the segment as percentage, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesEqualSegments or NXOpen::Routing::SubdivideSegmentBuilder::TypesArcLengthSegments.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

int NXOpen::Routing::SubdivideSegmentBuilder::SubdivideNumSegments ( )

Returns the number of subdivisions to do on the given segment, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesEqualSegments or NXOpen::Routing::SubdivideSegmentBuilder::TypesArcLengthSegments.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

NXOpen::GeometricUtilities::OnPathDimensionBuilder* NXOpen::Routing::SubdivideSegmentBuilder::SubdividePoint ( )

Returns the location of the subdivision point on segment as arclength or arclength or point, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesAtPoint.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

NXOpen::GeometricUtilities::OnPathDimensionBuilder* NXOpen::Routing::SubdivideSegmentBuilder::SubdivideStartPercentage ( )

Returns the start location of subdivision on the segment as percentage, if NXOpen::Routing::SubdivideSegmentBuilder::Types is NXOpen::Routing::SubdivideSegmentBuilder::TypesEqualSegments or NXOpen::Routing::SubdivideSegmentBuilder::TypesArcLengthSegments.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

NXOpen::Routing::SubdivideSegmentBuilder::Types NXOpen::Routing::SubdivideSegmentBuilder::Type ( )

Returns the spacing method as NXOpen::Routing::SubdivideSegmentBuilder::Types
Created in NX6.0.0.



License requirements : routing_base ("Routing Basic")


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