NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NXOpen::Sketch::SketchGeometry结构体 参考

#include <Sketch.hxx>

Public 成员函数

 SketchGeometry (NXOpen::NXObject *geometryInitial, NXOpen::Sketch::PointType pointTypeInitial, int pointIndexInitial)

Public 属性

NXOpen::NXObjectGeometry
int PointIndex
NXOpen::Sketch::PointType PointType

详细描述

Sketch operations can use an entire geometry, such as a NXOpen::Line , or a control point of the geometry, such as a start point or center point.

构造及析构函数说明

◆ SketchGeometry()

NXOpen::Sketch::SketchGeometry::SketchGeometry ( NXOpen::NXObject * geometryInitial,
NXOpen::Sketch::PointType pointTypeInitial,
int pointIndexInitial )
inline

Constructor for the SketchGeometry struct.

参数
geometryInitialSketch geometry of type NXOpen::Curve or NXOpen::Point
pointTypeInitialIf set to NXOpen::Sketch::PointTypeNone , the entire geometry is used. Otherwise the appropriate control point of the geometry is used.
pointIndexInitialFor PointType set to NXOpen::Sketch::PointTypeSplineDefiningPoint or NXOpen::Sketch::PointTypeSplinePole , this index identifies which point or pole along the NXOpen::Spline . A value of 0 is the same as using NXOpen::Sketch::PointTypeStartPoint . For PointType set to NXOpen::Sketch::PointTypeQuadrant , a value of 0 should be used for a closed NXOpen::Arc or NXOpen::Ellipse to indicate the major radius point. A value of 1 indicates an NXOpen::Ellipse minor radius.

类成员变量说明

◆ Geometry

NXOpen::NXObject* NXOpen::Sketch::SketchGeometry::Geometry

Sketch geometry of type NXOpen::Curve or NXOpen::Point

◆ PointIndex

int NXOpen::Sketch::SketchGeometry::PointIndex

For PointType set to NXOpen::Sketch::PointTypeSplineDefiningPoint or NXOpen::Sketch::PointTypeSplinePole , this index identifies which point or pole along the NXOpen::Spline . A value of 0 is the same as using NXOpen::Sketch::PointTypeStartPoint . For PointType set to NXOpen::Sketch::PointTypeQuadrant , a value of 0 should be used for a closed NXOpen::Arc or NXOpen::Ellipse to indicate the major radius point. A value of 1 indicates an NXOpen::Ellipse minor radius.

◆ PointType

NXOpen::Sketch::PointType NXOpen::Sketch::SketchGeometry::PointType

If set to NXOpen::Sketch::PointTypeNone , the entire geometry is used. Otherwise the appropriate control point of the geometry is used.