man SoFaceDetail () - stores detail information about vertex-based shapes made of faces

NAME

SoFaceDetail - stores detail information about vertex-based shapes made of faces

INHERITS FROM

SoDetail > SoFaceDetail

SYNOPSIS

#include <Inventor/details/SoFaceDetail.h> Methods from class SoFaceDetail: c } c } SoFaceDetail()

c } c } ~SoFaceDetail()

c } c } getNumPoints() const

c } c } getPoint(int i) const

c } c } getFaceIndex() const

c } c } getPartIndex() const

c } c } getClassTypeId() Methods from class SoDetail: c } c } copy() const

c } c } getTypeId() const

c } c } isOfType(SoType type) const

DESCRIPTION

This class contains detail information about a point on 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 SoFaceDetail is returned from picking (in an SoPickedPoint), it will contain details for all points defining the face that was intersected. However, when an SoFaceDetail is created for a triangle produced during primitive generation (in an SoPrimitiveVertex), it will contain details for only the three vertices of the triangle.

METHODS

c } c } SoFaceDetail()

c } c } ~SoFaceDetail()

Constructor and destructor. c } c } getNumPoints() const

Returns the number of points in the face. c } c } getPoint(int i) const

Returns information about the point forming the i'th vertex of the face, represented as an SoPointDetail. c } c } getFaceIndex() const

Returns the index of the face within the shape. c } c } getPartIndex() const

Returns the index of the part containing the face within the shape. c } c } getClassTypeId()

Returns type identifier for this class.

SEE ALSO

SoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape