SoFaceDetail Class |
Stores detail information about vertex-based shapes made of faces.
Namespace: OIV.Inventor.Details
The SoFaceDetail type exposes the following members.
Name | Description | |
---|---|---|
SoFaceDetail | Constructor. | |
SoFaceDetail(SoFaceDetail) |
Copy constructor.
|
Name | Description | |
---|---|---|
Clone | (Inherited from SoDetail.) | |
Copy | Returns an instance that is a copy of this instance. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetFaceIndex | Returns the index of the face within the shape. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetNumPoints | Returns the number of points in the face. | |
GetPartIndex | Returns the index of the part containing the face within the shape. | |
GetPoint | Returns information about the point forming the i'th vertex of the face, represented as an OIV.Inventor.Details.SoPointDetail. | |
GetPoints | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetFaceIndex | ||
SetNumPoints | ||
SetPartIndex | ||
SetPoint | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
This class contains detail information about a face in a vertex-based shape made of faces. The information includes the number of points in the face, the points forming the vertices of the face, and the index of the face within the shape.
Note that when an OIV.Inventor.Details.SoFaceDetail is returned from picking (in an OIV.Inventor.SoPickedPoint), it will contain details for all points defining the face that was intersected. However, when an OIV.Inventor.Details.SoFaceDetail is created for a triangle produced during primitive generation (in an OIV.Inventor.SoPrimitiveVertex), it will contain details for only the three vertices of the triangle.