NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Edge Class Reference

Represents an edge
An edge is obtained from its parent Body

Created in NX3.0.0. More...

Inheritance diagram for NXOpen::Edge:
NXOpen::DisplayableObject NXOpen::IReferenceAxis NXOpen::ICurve NXOpen::IProfile NXOpen::NXObject NXOpen::IFitTo NXOpen::INXObject NXOpen::IBaseCurve NXOpen::INXObject NXOpen::TaggedObject NXOpen::INXObject NXOpen::INXObject NXOpen::INXObject

List of all members.

Public Types

enum  EdgeType {
  EdgeTypeRubber, EdgeTypeLinear, EdgeTypeCircular, EdgeTypeElliptical,
  EdgeTypeIntersection, EdgeTypeSpline, EdgeTypeSpCurve, EdgeTypeForeign,
  EdgeTypeConstantParameter, EdgeTypeTrimmedCurve, EdgeTypeUndefined
}
 Solid edge type. More...

Public Member Functions

NXOpen::BodyGetBody ()
 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.

Detailed Description

Represents an edge
An edge is obtained from its parent Body

Created in NX3.0.0.



Member Enumeration Documentation

Solid edge type.

Enumerator:
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.


Member Function Documentation

Returns the body containing this edge.

Returns:

Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Returns the faces connected to the edge.

Returns:

Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")
virtual double NXOpen::Edge::GetLength ( ) [virtual]

Returns the length of the object.

Returns:

Created in NX3.0.0.

License requirements : None

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")

Parameters:
vertex1First vertex in the edge
vertex2Second 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")


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.