|
NX Open C++ 参考指南 2406 v1.1
|
#include <Sketch.hxx>
Public 成员函数 | |
| SketchGeometry (NXOpen::NXObject *geometryInitial, NXOpen::Sketch::PointType pointTypeInitial, int pointIndexInitial) | |
Public 属性 | |
| NXOpen::NXObject * | Geometry |
| 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.
|
inline |
Constructor for the SketchGeometry struct.
| geometryInitial | Sketch geometry of type NXOpen::Curve or NXOpen::Point |
| pointTypeInitial | If set to NXOpen::Sketch::PointTypeNone , the entire geometry is used. Otherwise the appropriate control point of the geometry is used. |
| pointIndexInitial | 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. |
| NXOpen::NXObject* NXOpen::Sketch::SketchGeometry::Geometry |
Sketch geometry of type NXOpen::Curve or NXOpen::Point
| 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.
| 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.