Click or drag to resize
SoFaceDetail Class

Stores detail information about vertex-based shapes made of faces.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.DetailsSoDetail
      OIV.Inventor.DetailsSoFaceDetail

Namespace: OIV.Inventor.Details
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public class SoFaceDetail : SoDetail

The SoFaceDetail type exposes the following members.

Constructors
Methods
  NameDescription
Public methodClone (Inherited from SoDetail.)
Public methodCopy

Returns an instance that is a copy of this instance.

(Overrides SoDetailCopy.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetFaceIndex

Returns the index of the face within the shape.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetNumPoints

Returns the number of points in the face.

Public methodGetPartIndex

Returns the index of the part containing the face within the shape.

Public methodGetPoint

Returns information about the point forming the i'th vertex of the face, represented as an OIV.Inventor.Details.SoPointDetail.

Public methodGetPoints
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetFaceIndex
Public methodSetNumPoints
Public methodSetPartIndex
Public methodSetPoint
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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.

See Also