|
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 | |
Public Member Functions inherited from NXOpen::Features::FeatureBuilder | |
| NXOpen::Features::Feature * | CommitFeature () |
| Commits the feature parameters and creates the feature. | |
| NXOpen::Features::Feature * | GetFeature () |
| Returns the feature currently being edited by this builder. | |
| void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
| Re-suppress an internal parent feature (a slave feature) after it has been edited. | |
| bool | ParentFeatureInternal () |
| Returns whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
| bool | PatchSolutionFlag () |
| Returns the patch solution flag Created in NX8.0.1. | |
| NXString | PatchSurfaceFilename () |
| Returns the patch surface filename Created in NX8.0.1. | |
| void | SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
| Set the parent features which would be internal or slaves to the feature being created or commited Created in NX6.0.0. | |
| void | SetParentFeatureInternal (bool isInternal) |
| Sets whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
| void | SetPatchSolutionFlag (bool optionValue) |
| Sets the patch solution flag Created in NX8.0.1. | |
| void | SetPatchSurfaceFilename (const NXString &surfaceFilename) |
| Sets the patch surface filename Created in NX8.0.1. | |
| void | SetPatchSurfaceFilename (const char *surfaceFilename) |
| Sets the patch surface filename Created in NX8.0.1. | |
| void | SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename) |
| Sets the surrounding patch surface filename Created in NX8.0.1. | |
| void | SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename) |
| Sets the surrounding patch surface filename Created in NX8.0.1. | |
| void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
| Unsuppress an internal parent feature (a slave feature) so it can be edited. | |
| NXString | SurroundingPatchSurfaceFilename () |
| Returns the surrounding patch surface filename Created in NX8.0.1. | |
| void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
| Set the internal parent feature of the feature being edited to external Created in NX6.0.0. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
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.
| bool NXOpen::Features::StudioSplineBuilder::Associative | ( | ) |
Returns the associative or non associative way of spline creation
Use Features::StudioSplineBuilderEx instead.
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
| NXOpen::Features::GeometricConstraintDataManager* NXOpen::Features::StudioSplineBuilder::ConstraintManager | ( | ) |
Returns the constraint manager
Use Features::StudioSplineBuilderEx instead.
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
| NXOpen::Spline* NXOpen::Features::StudioSplineBuilder::Curve | ( | ) |
Returns the spline curve
Use Features::StudioSplineBuilderEx instead.
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
| int NXOpen::Features::StudioSplineBuilder::Degree | ( | ) |
Returns the degree
Use Features::StudioSplineBuilderEx instead.
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
Use Features::StudioSplineBuilderEx instead.
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
| bool NXOpen::Features::StudioSplineBuilder::IsPeriodic | ( | ) |
Returns the periodicity
Use Features::StudioSplineBuilderEx instead.
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
Use Features::StudioSplineBuilderEx instead.
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
Use Features::StudioSplineBuilderEx instead.
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
| associative | associative |
| void NXOpen::Features::StudioSplineBuilder::SetDegree | ( | int | degree | ) |
Sets the degree
Use Features::StudioSplineBuilderEx instead.
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
Use Features::StudioSplineBuilderEx instead.
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
Use Features::StudioSplineBuilderEx instead.
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
Use Features::StudioSplineBuilderEx instead.
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
Use Features::StudioSplineBuilderEx instead.
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
Use Features::StudioSplineBuilderEx instead.
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")
| parameters | The parameters |
| void NXOpen::Features::StudioSplineBuilder::SetPeriodic | ( | bool | periodicity | ) |
Sets the periodicity
Use Features::StudioSplineBuilderEx instead.
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
Use Features::StudioSplineBuilderEx instead.
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
Use Features::StudioSplineBuilderEx instead.
Created in NX5.0.0.
License requirements : features_modeling ("FEATURES MODELING")