NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NXOpen::Features::FitCurveBuilder类 参考

拟合曲线构建器 更多...

#include <Features_FitCurveBuilder.hxx>

类 NXOpen::Features::FitCurveBuilder 继承关系图:
NXOpen::Features::FeatureBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder NXOpen::Features::SketchFitCurveBuilder

Public 类型

enum  FittingParametersOptions { FittingParametersOptionsDegreeAndSegments , FittingParametersOptionsDegreeAndTolerance , FittingParametersOptionsTemplateCurve }
enum  ProjectionDirectionOptions {
  ProjectionDirectionOptionsXc , ProjectionDirectionOptionsYc , ProjectionDirectionOptionsZc , ProjectionDirectionOptionsNormal ,
  ProjectionDirectionOptionsView , ProjectionDirectionOptionsVector
}
enum  TargetSourceTypes {
  TargetSourceTypesInfer , TargetSourceTypesSpecifiedPoints , TargetSourceTypesChainedPoints , TargetSourceTypesCurve ,
  TargetSourceTypesFace , TargetSourceTypesFacetBody
}
enum  Types { TypesFitSpline , TypesFitLine , TypesFitCircle , TypesFitEllipse }

Public 成员函数

bool CanKeepTemplateSelected ()
bool CanRejectPointsAutomatically ()
bool CanUseAllPointsInPart ()
void ChainAllPoints ()
NXOpen::Features::GeometricConstraintDataManagerConstraintManager ()
int Degree ()
void DeleteTargetPoints (const std::vector< NXOpen::Point * > &points)
void Evaluate ()
NXOpen::GeometricUtilities::CurveExtensionBuilderExtender ()
NXOpen::Features::FitCurveBuilder::FittingParametersOptions FittingParameters ()
NXOpen::PointGetFinalTargetPoint (int index)
int GetFinalTargetPointsSize ()
bool HasRadius ()
bool HasReversedDirection ()
bool HasUniformSegments ()
bool IsAssociative ()
bool IsClosedBSpline ()
bool IsClosedCurve ()
void MakeConstraint (NXOpen::Point *point)
NXOpen::DirectionProjectionDirection ()
NXOpen::Features::FitCurveBuilder::ProjectionDirectionOptions ProjectionDirectionOption ()
NXOpen::ExpressionRadius ()
NXOpen::ExpressionRejectionThreshold ()
void RemoveConstraint (NXOpen::Point *point)
int Segments ()
void SetAssociative (bool associative)
void SetCanKeepTemplateSelected (bool canKeepTemplateSelected)
void SetCanRejectPointsAutomatically (bool rejectPoints)
void SetCanUseAllPointsInPart (bool canUseAllPointsInPart)
void SetClosedBSpline (bool isClosed)
void SetClosedCurve (bool isClosed)
void SetDegree (int degree)
void SetFittingParameters (NXOpen::Features::FitCurveBuilder::FittingParametersOptions fittingParameters)
void SetHasRadius (bool hasRadius)
void SetHasReversedDirection (bool hasReversedDirection)
void SetHasUniformSegments (bool hasUniformSegments)
void SetProjectionDirection (NXOpen::Direction *projectionDirection)
void SetProjectionDirectionOption (NXOpen::Features::FitCurveBuilder::ProjectionDirectionOptions projectionDirectionOption)
void SetSegments (int segments)
void SetTargetSourceType (NXOpen::Features::FitCurveBuilder::TargetSourceTypes targetSourceType)
void SetTolerance (double tolerance)
void SetType (NXOpen::Features::FitCurveBuilder::Types type)
NXOpen::SelectTaggedObjectListTarget ()
NXOpen::Features::FitCurveBuilder::TargetSourceTypes TargetSourceType ()
NXOpen::SelectSplineTemplateCurve ()
double Tolerance ()
NXOpen::Features::FitCurveBuilder::Types Type ()
void UpdateTargetSelectionOnPointEditing ()
Public 成员函数 继承自 NXOpen::Features::FeatureBuilder
NXOpen::Features::FeatureCommitFeature ()
NXOpen::Features::FeatureGetFeature ()
void HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature)
bool ParentFeatureInternal ()
void SetParentFeatureInternal (bool isInternal)
void SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
void ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature)
void UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
Public 成员函数 继承自 NXOpen::Builder
NXOpen::NXObjectCommit ()
void Destroy ()
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
NXOpen::NXObjectGetObject ()
NXOpen::PreviewBuilderPreviewBuilder ()
void ShowResults ()
virtual bool Validate ()
Public 成员函数 继承自 NXOpen::TaggedObject
tag_t Tag () const

友元

class _FitCurveBuilderBuilder

详细描述

拟合曲线构建器

表示 @link NXOpen::Features::FitCurve NXOpen::Features::FitCurve@endlink  构建器
 <br> 要创建此类的新实例,请使用 @link NXOpen::Features::FeatureCollection::CreateFitCurveBuilder  NXOpen::Features::FeatureCollection::CreateFitCurveBuilder @endlink  <br>

默认值。

属性
Extender.EndExtensionOption None
Extender.EndValue.Value 0 (毫米单位部件), 0 (英寸单位部件)
Extender.StartExtensionOption None
Extender.StartValue.Value 0 (毫米单位部件), 0 (英寸单位部件)
IsClosedCurve true
ProjectionDirectionOption Normal
Radius.Value 50.0 (毫米单位部件), 2.0 (英寸单位部件)
RejectionThreshold.Value 10.0 (毫米单位部件), 0.5 (英寸单位部件)


在 NX8.5.0 中创建.

成员枚举类型说明

◆ FittingParametersOptions

拟合参数选项

枚举值
FittingParametersOptionsDegreeAndSegments 

拟合到次数和段数

FittingParametersOptionsDegreeAndTolerance 

拟合到次数和公差

FittingParametersOptionsTemplateCurve 

拟合到模板样条

◆ ProjectionDirectionOptions

辅助曲线投影方向选项

枚举值
ProjectionDirectionOptionsXc 

WCS X轴

ProjectionDirectionOptionsYc 

WCS Y轴

ProjectionDirectionOptionsZc 

WCS Z轴

ProjectionDirectionOptionsNormal 

面法线

ProjectionDirectionOptionsView 

视图

ProjectionDirectionOptionsVector 

矢量

◆ TargetSourceTypes

拟合目标类型

枚举值
TargetSourceTypesInfer 

从选择推断目标

TargetSourceTypesSpecifiedPoints 

指定点

TargetSourceTypesChainedPoints 

使用一个或两个点链式连接

TargetSourceTypesCurve 

曲线

TargetSourceTypesFace 

TargetSourceTypesFacetBody 

小平面体

◆ Types

拟合类型

枚举值
TypesFitSpline 

拟合样条

TypesFitLine 

拟合直线

TypesFitCircle 

拟合圆弧或圆

TypesFitEllipse 

拟合椭圆

成员函数说明

◆ CanKeepTemplateSelected()

bool NXOpen::Features::FitCurveBuilder::CanKeepTemplateSelected ( )

返回表示是否应保持模板曲线选中状态的标志
于NX8.5.0中创建。

许可要求:无

◆ CanRejectPointsAutomatically()

bool NXOpen::Features::FitCurveBuilder::CanRejectPointsAutomatically ( )

返回指示在拟合过程中是否应忽略超出阈值的点的标志
创建于NX8.5.0。

许可证要求:无

◆ CanUseAllPointsInPart()

bool NXOpen::Features::FitCurveBuilder::CanUseAllPointsInPart ( )

获取用于指示是否可以使用部件中所有点进行链接的标志
创建于NX8.5.0。

许可证要求:无

◆ ChainAllPoints()

void NXOpen::Features::FitCurveBuilder::ChainAllPoints ( )

基于一个选定的点链接工作部件中的所有点并评估曲线。 该操作仅对NXOpen::Features::FitCurveBuilder::TargetSourceTypesInfer 有效。
创建于NX8.5.0。

许可证要求:实体建模 ("SOLIDS MODELING")

◆ ConstraintManager()

NXOpen::Features::GeometricConstraintDataManager * NXOpen::Features::FitCurveBuilder::ConstraintManager ( )

获取约束管理器
创建于NX8.5.0。

许可证要求:无

◆ Degree()

int NXOpen::Features::FitCurveBuilder::Degree ( )

返回次数
于NX8.5.0中创建。

许可要求:无

◆ DeleteTargetPoints()

void NXOpen::Features::FitCurveBuilder::DeleteTargetPoints ( const std::vector< NXOpen::Point * > & points)

删除目标点
创建于NX8.5.0。

许可证要求:实体建模 ("SOLIDS MODELING")

参数
points要删除的原始目标点或约束管理器点之一

◆ Evaluate()

void NXOpen::Features::FitCurveBuilder::Evaluate ( )

评估曲线
创建于NX8.5.0。

许可证要求:实体建模 ("SOLIDS MODELING")

◆ Extender()

NXOpen::GeometricUtilities::CurveExtensionBuilder * NXOpen::Features::FitCurveBuilder::Extender ( )

返回延伸选项
创建于NX8.5.0。

许可证要求:无

◆ FittingParameters()

NXOpen::Features::FitCurveBuilder::FittingParametersOptions NXOpen::Features::FitCurveBuilder::FittingParameters ( )

返回拟合参数
于NX8.5.0中创建。

许可要求:无

◆ GetFinalTargetPoint()

NXOpen::Point * NXOpen::Features::FitCurveBuilder::GetFinalTargetPoint ( int index)

返回最终用于拟合的目标点

返回

创建于NX8.5.0。

许可证要求:实体建模 ("SOLIDS MODELING")
参数
index索引

◆ GetFinalTargetPointsSize()

int NXOpen::Features::FitCurveBuilder::GetFinalTargetPointsSize ( )

返回最终用于拟合的目标点数量
创建于NX8.5.0。

许可证要求:实体建模 ("SOLIDS MODELING")

◆ HasRadius()

bool NXOpen::Features::FitCurveBuilder::HasRadius ( )

获取是否有半径
创建于NX8.5.0。

许可证要求:无

◆ HasReversedDirection()

bool NXOpen::Features::FitCurveBuilder::HasReversedDirection ( )

返回指示是否应反转拟合曲线方向的标志
创建于NX8.5.0。

许可证要求:无

◆ HasUniformSegments()

bool NXOpen::Features::FitCurveBuilder::HasUniformSegments ( )

返回表示是否应创建均匀段的标志
于NX8.5.0中创建。

许可要求:无

◆ IsAssociative()

bool NXOpen::Features::FitCurveBuilder::IsAssociative ( )

返回指示是否应创建特征的标志
创建于NX8.5.0。

许可证要求:无

◆ IsClosedBSpline()

bool NXOpen::Features::FitCurveBuilder::IsClosedBSpline ( )

返回表示是否要拟合闭合B样条的标志
于NX8.5.0中创建。

许可要求:无

◆ IsClosedCurve()

bool NXOpen::Features::FitCurveBuilder::IsClosedCurve ( )

获取用于指示是否要拟合完整圆或椭圆的标志
创建于NX8.5.0。

许可证要求:无

◆ MakeConstraint()

void NXOpen::Features::FitCurveBuilder::MakeConstraint ( NXOpen::Point * point)

对于点目标,使目标点成为位置约束。对于其他目标,使指定点之一成为位置约束
创建于NX8.5.0。

许可证要求:实体建模 ("SOLIDS MODELING")

参数
point要设为约束的原始目标点之一

◆ ProjectionDirection()

NXOpen::Direction * NXOpen::Features::FitCurveBuilder::ProjectionDirection ( )

获取投影方向
创建于NX8.5.0。

许可证要求:无

◆ ProjectionDirectionOption()

NXOpen::Features::FitCurveBuilder::ProjectionDirectionOptions NXOpen::Features::FitCurveBuilder::ProjectionDirectionOption ( )

获取投影方向选项
创建于NX8.5.0。

许可证要求:无

◆ Radius()

NXOpen::Expression * NXOpen::Features::FitCurveBuilder::Radius ( )

获取圆半径
创建于NX8.5.0。

许可证要求:无

◆ RejectionThreshold()

NXOpen::Expression * NXOpen::Features::FitCurveBuilder::RejectionThreshold ( )

返回剔除阈值
创建于NX8.5.0。

许可证要求:无

◆ RemoveConstraint()

void NXOpen::Features::FitCurveBuilder::RemoveConstraint ( NXOpen::Point * point)

使现有的位置约束成为自由目标点
创建于NX8.5.0。

许可证要求:实体建模 ("SOLIDS MODELING")

参数
point要移除约束的原始目标点或约束管理器点之一

◆ Segments()

int NXOpen::Features::FitCurveBuilder::Segments ( )

返回段数
于NX8.5.0中创建。

许可要求:无

◆ SetAssociative()

void NXOpen::Features::FitCurveBuilder::SetAssociative ( bool associative)

设置指示是否应创建特征的标志
创建于NX8.5.0。

许可证要求:实体建模 ("SOLIDS MODELING")

参数
associative关联标志

◆ SetCanKeepTemplateSelected()

void NXOpen::Features::FitCurveBuilder::SetCanKeepTemplateSelected ( bool canKeepTemplateSelected)

设置表示是否应保持模板曲线选中状态的标志
于NX8.5.0中创建。

许可要求:solid_modeling ("SOLIDS MODELING")

参数
canKeepTemplateSelected是否保持模板选中

◆ SetCanRejectPointsAutomatically()

void NXOpen::Features::FitCurveBuilder::SetCanRejectPointsAutomatically ( bool rejectPoints)

设置指示在拟合过程中是否应忽略超出阈值的点的标志
创建于NX8.5.0。

许可证要求:实体建模 ("SOLIDS MODELING")

参数
rejectPoints自动点剔除标志

◆ SetCanUseAllPointsInPart()

void NXOpen::Features::FitCurveBuilder::SetCanUseAllPointsInPart ( bool canUseAllPointsInPart)

设置用于指示是否可以使用部件中所有点进行链接的标志
创建于NX8.5.0。

许可证要求:solid_modeling ("SOLIDS MODELING")

参数
canUseAllPointsInPartcanuseallpointsinpart

◆ SetClosedBSpline()

void NXOpen::Features::FitCurveBuilder::SetClosedBSpline ( bool isClosed)

设置表示是否要拟合闭合B样条的标志
于NX8.5.0中创建。

许可要求:solid_modeling ("SOLIDS MODELING")

参数
isClosed是否闭合

◆ SetClosedCurve()

void NXOpen::Features::FitCurveBuilder::SetClosedCurve ( bool isClosed)

设置表示是否要拟合完整圆形或椭圆形的标志
于NX8.5.0中创建。

许可要求:solid_modeling ("SOLIDS MODELING")

参数
isClosed是否闭合

◆ SetDegree()

void NXOpen::Features::FitCurveBuilder::SetDegree ( int degree)

设置次数
于NX8.5.0中创建。

许可要求:solid_modeling ("SOLIDS MODELING")

参数
degree次数

◆ SetFittingParameters()

void NXOpen::Features::FitCurveBuilder::SetFittingParameters ( NXOpen::Features::FitCurveBuilder::FittingParametersOptions fittingParameters)

设置拟合参数
于NX8.5.0中创建。

许可要求:solid_modeling ("SOLIDS MODELING")

参数
fittingParameters拟合参数

◆ SetHasRadius()

void NXOpen::Features::FitCurveBuilder::SetHasRadius ( bool hasRadius)

设置是否有半径
创建于NX8.5.0。

许可证要求:solid_modeling ("SOLIDS MODELING")

参数
hasRadiushasradius

◆ SetHasReversedDirection()

void NXOpen::Features::FitCurveBuilder::SetHasReversedDirection ( bool hasReversedDirection)

设置指示是否应反转拟合曲线方向的标志
创建于NX8.5.0。

许可证要求:实体建模 ("SOLIDS MODELING")

参数
hasReversedDirection反转方向标志

◆ SetHasUniformSegments()

void NXOpen::Features::FitCurveBuilder::SetHasUniformSegments ( bool hasUniformSegments)

设置表示是否应创建均匀段的标志
于NX8.5.0中创建。

许可要求:solid_modeling ("SOLIDS MODELING")

参数
hasUniformSegments是否有均匀段

◆ SetProjectionDirection()

void NXOpen::Features::FitCurveBuilder::SetProjectionDirection ( NXOpen::Direction * projectionDirection)

设置投影方向
创建于NX8.5.0。

许可证要求:solid_modeling ("SOLIDS MODELING")

参数
projectionDirectionprojectiondirection

◆ SetProjectionDirectionOption()

void NXOpen::Features::FitCurveBuilder::SetProjectionDirectionOption ( NXOpen::Features::FitCurveBuilder::ProjectionDirectionOptions projectionDirectionOption)

设置投影方向选项
创建于NX8.5.0。

许可证要求:solid_modeling ("SOLIDS MODELING")

参数
projectionDirectionOptionprojectiondirectionoption

◆ SetSegments()

void NXOpen::Features::FitCurveBuilder::SetSegments ( int segments)

设置段数
于NX8.5.0中创建。

许可要求:solid_modeling ("SOLIDS MODELING")

参数
segments段数

◆ SetTargetSourceType()

void NXOpen::Features::FitCurveBuilder::SetTargetSourceType ( NXOpen::Features::FitCurveBuilder::TargetSourceTypes targetSourceType)

设置目标类型
创建于NX8.5.0。

许可证要求:solid_modeling ("SOLIDS MODELING")

参数
targetSourceTypetargetsourcetype

◆ SetTolerance()

void NXOpen::Features::FitCurveBuilder::SetTolerance ( double tolerance)

设置公差
于NX8.5.0中创建。

许可要求:solid_modeling ("SOLIDS MODELING")

参数
tolerance公差

◆ SetType()

void NXOpen::Features::FitCurveBuilder::SetType ( NXOpen::Features::FitCurveBuilder::Types type)

设置类型
创建于NX8.5.0。

许可证要求:solid_modeling ("SOLIDS MODELING")

参数
typetype

◆ Target()

NXOpen::SelectTaggedObjectList * NXOpen::Features::FitCurveBuilder::Target ( )

获取目标对象。此命令的输入可以是收敛对象。
创建于NX8.5.0。

许可证要求:无

◆ TargetSourceType()

NXOpen::Features::FitCurveBuilder::TargetSourceTypes NXOpen::Features::FitCurveBuilder::TargetSourceType ( )

获取目标类型
创建于NX8.5.0。

许可证要求:无

◆ TemplateCurve()

NXOpen::SelectSpline * NXOpen::Features::FitCurveBuilder::TemplateCurve ( )

返回模板曲线
于NX8.5.0中创建。

许可要求:无

◆ Tolerance()

double NXOpen::Features::FitCurveBuilder::Tolerance ( )

返回公差
于NX8.5.0中创建。

许可要求:无

◆ Type()

NXOpen::Features::FitCurveBuilder::Types NXOpen::Features::FitCurveBuilder::Type ( )

获取类型
创建于NX8.5.0。

许可证要求:无

◆ UpdateTargetSelectionOnPointEditing()

void NXOpen::Features::FitCurveBuilder::UpdateTargetSelectionOnPointEditing ( )

通过用编辑后的点替换原始点来更新目标选择。 当通过拖动编辑目标点时,最初选择的目标 点会被表示编辑位置的另一个点替换。因此 原始点不再需要保持选中状态。
创建于NX8.5.0。

许可证要求:实体建模 ("SOLIDS MODELING")