'\"! tbl | mmdoc '\"macro stdmacro .ie n \{\ . ds Cr \fB . ds Cb \fB .\} .el \{\ . ds Cr \f7 . ds Cb \f8 .\} .TH SoFaceDetail(3IV) .SH NAME SoFaceDetail \(em stores detail information about vertex-based shapes made of faces .SH INHERITS FROM SoDetail > SoFaceDetail .SH SYNOPSIS .ps -1 \*(Cr#include .sp .in 1i \f1Methods from class SoFaceDetail: .in 0.5i .sp .ta 23m .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Cr .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbSoFaceDetail\*(Cr() .br .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crvirtual .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(Cb~SoFaceDetail\*(Cr() .br .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crlong .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetNumPoints\*(Cr() const .br .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crconst SoPointDetail * .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetPoint\*(Cr(int i) const .br .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crint32_t .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetFaceIndex\*(Cr() const .br .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crint32_t .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetPartIndex\*(Cr() const .br .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crstatic SoType .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetClassTypeId\*(Cr() .sp .in 1i \f1Methods from class SoDetail: .in 0.5i .sp .ta 20m .in 1i+20n .ti 0.5i .ta 20m .ds Pt \*(CrSoDetail * .ie \w'\*(Pt'>=20n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(Cbcopy\*(Cr() const .br .in 1i+20n .ti 0.5i .ta 20m .ds Pt \*(Crvirtual SoType .ie \w'\*(Pt'>=20n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetTypeId\*(Cr() const .br .in 1i+20n .ti 0.5i .ta 20m .ds Pt \*(CrSbBool .ie \w'\*(Pt'>=20n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbisOfType\*(Cr(SoType type) const .sp .SH 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. .sp Note that when an \*(CbSoFaceDetail\f1 is returned from picking (in an \*(CbSoPickedPoint\f1), it will contain details for all points defining the face that was intersected. However, when an \*(CbSoFaceDetail\f1 is created \&for a triangle produced during primitive generation (in an \*(CbSoPrimitiveVertex\f1), it will contain details for only the three vertices of the triangle. .SH METHODS .ta 23m .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Cr .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbSoFaceDetail\*(Cr() .br .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crvirtual .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(Cb~SoFaceDetail\*(Cr() .br .in 1i \f1Constructor and destructor. .sp .in 0.5i .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crlong .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetNumPoints\*(Cr() const .br .in 1i \f1Returns the number of points in the face. .sp .in 0.5i .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crconst SoPointDetail * .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetPoint\*(Cr(int i) const .br .in 1i \f1Returns information about the point forming the \*(Cri\f1'th vertex of the face, represented as an \*(CbSoPointDetail\f1. .sp .in 0.5i .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crint32_t .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetFaceIndex\*(Cr() const .br .in 1i \f1Returns the index of the face within the shape. .sp .in 0.5i .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crint32_t .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetPartIndex\*(Cr() const .br .in 1i \f1Returns the index of the part containing the face within the shape. .sp .in 0.5i .in 1i+23n .ti 0.5i .ta 23m .ds Pt \*(Crstatic SoType .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetClassTypeId\*(Cr() .br .in 1i \f1Returns type identifier for this class. .sp .in 0.5i .SH SEE ALSO \*(CbSoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape