NX Open C++ Reference Guide
|
Studio Spline builder class. More...
Public Types | |
enum | CurveOption { CurveOptionRetain, CurveOptionBlank, CurveOptionDelete } |
Options of the actions to be taken on an input non-parametric spline after its editing is done. More... | |
enum | MatchKnotsType { MatchKnotsTypeNone, MatchKnotsTypeCubic, MatchKnotsTypeGeneral } |
Options for creating knots at the defining points in case of through point spline. More... | |
enum | Method { MethodThroughPoints, MethodByPoles } |
Spline methods. More... | |
Public Member Functions | |
bool | Associative () |
Returns the associative or non associative way of spline creation | |
NXOpen::Features::GeometricConstraintDataManager * | ConstraintManager () |
Returns the constraint manager | |
NXOpen::Spline * | Curve () |
Returns the spline curve | |
int | Degree () |
Returns the degree | |
std::vector< double > | GetKnots () |
Queries the knot sequence for by pole spline. | |
std::vector< double > | GetParameters () |
Queries the parameters at defining points for a through point spline. | |
NXOpen::Features::StudioSplineBuilder::CurveOption | InputCurveOption () |
Returns the input curve option | |
bool | IsPeriodic () |
Returns the periodicity | |
NXOpen::Features::StudioSplineBuilder::MatchKnotsType | MatchKnots () |
Returns a constraint to match knots at the defining points for a through point spline | |
void | SetAssociative (bool associative) |
Sets the associative or non associative way of spline creation | |
void | SetDegree (int degree) |
Sets the degree | |
void | SetInputCurveOption (NXOpen::Features::StudioSplineBuilder::CurveOption option) |
Sets the input curve option | |
void | SetKnots (const std::vector< double > &knots) |
Sets the optional knot sequence for by pole spline | |
void | SetMatchKnots (NXOpen::Features::StudioSplineBuilder::MatchKnotsType matchKnots) |
Sets a constraint to match knots at the defining points for a through point spline | |
void | SetNonParametricSpline (NXOpen::Spline *spline, NXOpen::Features::StudioSplineBuilder::Method method) |
Sets a non-parametric spline for editing | |
void | SetParameters (const std::vector< double > ¶meters) |
Sets the optional parameters at defining points for a through point spline | |
void | SetPeriodic (bool periodicity) |
Sets the periodicity | |
void | SetSplineMethod (NXOpen::Features::StudioSplineBuilder::Method method) |
Sets the spline method | |
NXOpen::Features::StudioSplineBuilder::Method | SplineMethod () |
Returns the spline method |
Studio Spline builder class.
To create a new instance of this class, use Features::FeatureCollection::CreateStudioSplineBuilder
Created in NX5.0.0.
Options of the actions to be taken on an input non-parametric spline after its editing is done.
These options are used only while trying to make non-parametric spline a feature.
Options for creating knots at the defining points in case of through point spline.
Returns the associative or non associative way of spline creation
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
NXOpen::Features::GeometricConstraintDataManager* NXOpen::Features::StudioSplineBuilder::ConstraintManager | ( | ) |
Returns the constraint manager
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
Returns the spline curve
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
Returns the degree
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
std::vector<double> NXOpen::Features::StudioSplineBuilder::GetKnots | ( | ) |
Queries the knot sequence for by pole spline.
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
std::vector<double> NXOpen::Features::StudioSplineBuilder::GetParameters | ( | ) |
Queries the parameters at defining points for a through point spline.
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
NXOpen::Features::StudioSplineBuilder::CurveOption NXOpen::Features::StudioSplineBuilder::InputCurveOption | ( | ) |
Returns the input curve option
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
Returns the periodicity
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
NXOpen::Features::StudioSplineBuilder::MatchKnotsType NXOpen::Features::StudioSplineBuilder::MatchKnots | ( | ) |
Returns a constraint to match knots at the defining points for a through point spline
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
void NXOpen::Features::StudioSplineBuilder::SetAssociative | ( | bool | associative | ) |
Sets the associative or non associative way of spline creation
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
associative | associative |
void NXOpen::Features::StudioSplineBuilder::SetDegree | ( | int | degree | ) |
Sets the degree
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
degree | degree |
void NXOpen::Features::StudioSplineBuilder::SetInputCurveOption | ( | NXOpen::Features::StudioSplineBuilder::CurveOption | option | ) |
Sets the input curve option
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
option | option |
void NXOpen::Features::StudioSplineBuilder::SetKnots | ( | const std::vector< double > & | knots | ) |
Sets the optional knot sequence for by pole spline
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
knots | The knot sequence |
void NXOpen::Features::StudioSplineBuilder::SetMatchKnots | ( | NXOpen::Features::StudioSplineBuilder::MatchKnotsType | matchKnots | ) |
Sets a constraint to match knots at the defining points for a through point spline
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
matchKnots | match knots |
void NXOpen::Features::StudioSplineBuilder::SetNonParametricSpline | ( | NXOpen::Spline * | spline, |
NXOpen::Features::StudioSplineBuilder::Method | method | ||
) |
Sets a non-parametric spline for editing
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
spline | Non parameteric spline |
method | Spline method for parameterization |
void NXOpen::Features::StudioSplineBuilder::SetParameters | ( | const std::vector< double > & | parameters | ) |
Sets the optional parameters at defining points for a through point spline
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
parameters | The parameters |
void NXOpen::Features::StudioSplineBuilder::SetPeriodic | ( | bool | periodicity | ) |
Sets the periodicity
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
periodicity | periodicity |
void NXOpen::Features::StudioSplineBuilder::SetSplineMethod | ( | NXOpen::Features::StudioSplineBuilder::Method | method | ) |
Sets the spline method
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
method | method |
NXOpen::Features::StudioSplineBuilder::Method NXOpen::Features::StudioSplineBuilder::SplineMethod | ( | ) |
Returns the spline method
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")