SoLineDetail — stores detail information about vertex-based shapes made of line segments
Contents
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.
Inherits From
SoDetail > SoLineDetail
Methods
SoLineDetail()virtual~SoLineDetail()
Constructor and destructor.
constSoPointDetail*getPoint0()constconstSoPointDetail*getPoint1()const
These return information about the two points forming the end vertices of the line segment,
represented as an SoPointDetail.
int32_tgetLineIndex()const
Returns the index of the line the segment is part of within a shape, such as the third line within an
SoLineSet.
int32_tgetPartIndex()const
Returns 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 SoLineSet.
staticSoTypegetClassTypeId()
Returns type identifier for this class.
Name
SoLineDetail — stores detail information about vertex-based shapes made of line segments
See Also
SoDetail,SoPickedPoint,SoPrimitiveVertex,SoVertexShapeSoLineDetail(3IV)()
Synopsis
#include<Inventor/details/SoLineDetail.h>
Methods from class SoLineDetail:
SoLineDetail()virtual~SoLineDetail()constSoPointDetail*getPoint0()constconstSoPointDetail*getPoint1()constint32_tgetLineIndex()constint32_tgetPartIndex()conststaticSoTypegetClassTypeId()
Methods from class SoDetail:
SoDetail*copy()constvirtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)const