NX Open C++ Reference Guide
|
Represents an edge
An edge is obtained from its parent Body
Created in NX3.0.0.
More...
Public Types | |
enum | EdgeType { EdgeTypeRubber, EdgeTypeLinear, EdgeTypeCircular, EdgeTypeElliptical, EdgeTypeIntersection, EdgeTypeSpline, EdgeTypeSpCurve, EdgeTypeForeign, EdgeTypeConstantParameter, EdgeTypeTrimmedCurve, EdgeTypeUndefined } |
Solid edge type. More... | |
Public Member Functions | |
NXOpen::Body * | GetBody () |
Returns the body containing this edge. | |
std::vector< NXOpen::Face * > | GetFaces () |
Returns the faces connected to the edge. | |
virtual double | GetLength () |
Returns the length of the object. | |
void | GetVertices (NXOpen::Point3d *vertex1, NXOpen::Point3d *vertex2) |
Returns the vertices of the edge. | |
virtual bool | IsReference () |
Returns the reference state of a curve Created in NX8.0.0. | |
NXOpen::Edge::EdgeType | SolidEdgeType () |
Returns the solid type of the edge Created in NX3.0.0. |
Represents an edge
An edge is obtained from its parent Body
Created in NX3.0.0.
Solid edge type.
EdgeTypeRubber |
Rubber edge, no curve attached. |
EdgeTypeLinear |
Linear edge. |
EdgeTypeCircular |
Circular edge. |
EdgeTypeElliptical |
Elliptical edge. |
EdgeTypeIntersection |
Intersection edge. |
EdgeTypeSpline |
Spline edge. |
EdgeTypeSpCurve |
SP curve edge. |
EdgeTypeForeign |
Foreign edge. |
EdgeTypeConstantParameter |
Constant parameter edge. |
EdgeTypeTrimmedCurve |
Trimmed curve edge. |
EdgeTypeUndefined |
Undefined. |
Returns the body containing this edge.
std::vector<NXOpen::Face *> NXOpen::Edge::GetFaces | ( | ) |
Returns the faces connected to the edge.
virtual double NXOpen::Edge::GetLength | ( | ) | [virtual] |
Returns the length of the object.
Implements NXOpen::IBaseCurve.
void NXOpen::Edge::GetVertices | ( | NXOpen::Point3d * | vertex1, |
NXOpen::Point3d * | vertex2 | ||
) |
Returns the vertices of the edge.
If the edge is closed, the second vertex is the same as the first.
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
vertex1 | First vertex in the edge |
vertex2 | Second vertex in the edge |
virtual bool NXOpen::Edge::IsReference | ( | ) | [virtual] |
Returns the reference state of a curve
Created in NX8.0.0.
License requirements : None
Implements NXOpen::IBaseCurve.
Returns the solid type of the edge
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")