NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::GeometricUtilities::CurveFitData Class Reference

Represents the curve fitting methods options. More...

Inheritance diagram for NXOpen::GeometricUtilities::CurveFitData:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  Join { JoinNo, JoinCubic, JoinGeneral, JoinQuintic }
 Represents the curve join method. More...
enum  Method { MethodDegreeAndSegments, MethodDegreeAndTolerance, MethodKeepParameterization, MethodAutoFit }
 Represents the curve fitting method in the case of advanced fitting. More...

Public Member Functions

NXOpen::GeometricUtilities::CurveFitData::Join CurveJoinMethod ()
 Returns the curve join method
Created in NX8.0.0.
int Degree ()
 Returns the fitting degree
Created in NX8.0.0.
NXOpen::GeometricUtilities::CurveFitData::Method FitMethod ()
 Returns the fitting method
Created in NX8.0.0.
bool IsAdvancedFit ()
 Returns the advanced fitting option
Created in NX8.0.0.
bool IsAlignShape ()
 Returns the align shape option
Created in NX8.0.0.
int MaximumDegree ()
 Returns the maximum degree
Created in NX8.0.0.
int MaximumSegments ()
 Returns the maximum segments
Created in NX8.0.0.
int MinimumDegree ()
 Returns the minimum degree
Created in NX8.0.0.
int Segments ()
 Returns the fitting segments
Created in NX8.0.0.
void SetAdvancedFit (bool isAdvancedFit)
 Sets the advanced fitting option
Created in NX8.0.0.
void SetAlignShape (bool isAlignShape)
 Sets the align shape option
Created in NX8.0.0.
void SetCurveJoinMethod (NXOpen::GeometricUtilities::CurveFitData::Join curveJoinMethod)
 Sets the curve join method
Created in NX8.0.0.
void SetDegree (int degree)
 Sets the fitting degree
Created in NX8.0.0.
void SetFitMethod (NXOpen::GeometricUtilities::CurveFitData::Method fitMethod)
 Sets the fitting method
Created in NX8.0.0.
void SetMaximumDegree (int maximumDegree)
 Sets the maximum degree
Created in NX8.0.0.
void SetMaximumSegments (int maximumSegments)
 Sets the maximum segments
Created in NX8.0.0.
void SetMinimumDegree (int minimumDegree)
 Sets the minimum degree
Created in NX8.0.0.
void SetSegments (int segments)
 Sets the fitting segments
Created in NX8.0.0.
void SetTolerance (double tolerance)
 Sets the tolerance
Created in NX8.0.0.
double Tolerance ()
 Returns the tolerance
Created in NX8.0.0.
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called.

Detailed Description

Represents the curve fitting methods options.


Created in NX8.0.0.


Member Enumeration Documentation

Represents the curve join method.

Enumerator:
JoinNo 

No.

JoinCubic 

Cubic.

JoinGeneral 

General.

JoinQuintic 

Quintic.

Represents the curve fitting method in the case of advanced fitting.

Enumerator:
MethodDegreeAndSegments 

Degree and Segments.

MethodDegreeAndTolerance 

Degree and Tolerance.

MethodKeepParameterization 

Keep Parameterization.

MethodAutoFit 

Auto Fit.


Member Function Documentation

Returns the curve join method
Created in NX8.0.0.



License requirements : None

Returns the fitting degree
Created in NX8.0.0.



License requirements : None

Returns the fitting method
Created in NX8.0.0.



License requirements : None

Returns the advanced fitting option
Created in NX8.0.0.



License requirements : None

Returns the align shape option
Created in NX8.0.0.



License requirements : None

Returns the maximum degree
Created in NX8.0.0.



License requirements : None

Returns the maximum segments
Created in NX8.0.0.



License requirements : None

Returns the minimum degree
Created in NX8.0.0.



License requirements : None

Returns the fitting segments
Created in NX8.0.0.



License requirements : None

Sets the advanced fitting option
Created in NX8.0.0.



License requirements : None

Parameters:
isAdvancedFitisadvancedfit

Sets the align shape option
Created in NX8.0.0.



License requirements : None

Parameters:
isAlignShapeisalignshape

Sets the curve join method
Created in NX8.0.0.



License requirements : None

Parameters:
curveJoinMethodcurvejoinmethod

Sets the fitting degree
Created in NX8.0.0.



License requirements : None

Parameters:
degreedegree

Sets the fitting method
Created in NX8.0.0.



License requirements : None

Parameters:
fitMethodfitmethod

Sets the maximum degree
Created in NX8.0.0.



License requirements : None

Parameters:
maximumDegreemaximumdegree

Sets the maximum segments
Created in NX8.0.0.



License requirements : None

Parameters:
maximumSegmentsmaximumsegments

Sets the minimum degree
Created in NX8.0.0.



License requirements : None

Parameters:
minimumDegreeminimumdegree

Sets the fitting segments
Created in NX8.0.0.



License requirements : None

Parameters:
segmentssegments

Sets the tolerance
Created in NX8.0.0.



License requirements : None

Parameters:
tolerancetolerance

Returns the tolerance
Created in NX8.0.0.



License requirements : None

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.

Returns:
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


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