'\"! tbl | mmdoc '\"macro stdmacro .ie n \{\ . ds Cr \fB . ds Cb \fB .\} .el \{\ . ds Cr \f7 . ds Cb \f8 .\} .TH SoLineDetail(3IV) .SH NAME SoLineDetail \(em stores detail information about vertex-based shapes made of line segments .SH INHERITS FROM SoDetail > SoLineDetail .SH SYNOPSIS .ps -1 \*(Cr#include .sp .in 1i \f1Methods from class SoLineDetail: .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\ \} \*(CbSoLineDetail\*(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~SoLineDetail\*(Cr() .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\ \} \*(CbgetPoint0\*(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\ \} \*(CbgetPoint1\*(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\ \} \*(CbgetLineIndex\*(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 line segment in a vertex-based shape made of line segments. The information includes the points at the ends of the segment, and the index of the \&segment within the shape. .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\ \} \*(CbSoLineDetail\*(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~SoLineDetail\*(Cr() .br .in 1i \f1Constructor and destructor. .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\ \} \*(CbgetPoint0\*(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\ \} \*(CbgetPoint1\*(Cr() const .br .in 1i \f1These return information about the two points forming the end vertices of the line segment, 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\ \} \*(CbgetLineIndex\*(Cr() const .br .in 1i \f1Returns the index of the line the segment is part of within a shape, such as the third line within an \*(CbSoLineSet\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\ \} \*(CbgetPartIndex\*(Cr() const .br .in 1i \f1Returns the index of the part containing the line segment within the shape. Usually, the part index is the same as the line segment index, such as the fifth segment overall within an \*(CbSoLineSet\f1. .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