SoLineDetail(3IV)NAMESoLineDetail (SoLineDtl) - stores detail information about vertex-based
shapes made of line segments
INHERITS FROM
SoDetail > SoLineDetailSYNOPSIS
#include <Inventor_c/details/SoLineDetail.h>
typedef SoLineDetail SoLineDtl
Functions from class SoLineDetail:
SoLineDetail * SoLineDtlCreate()
void SoLineDtlDelete(SoLineDtl *this)
const SoPointDetail * SoLineDtlGetPt0(const SoLineDtl *this)
const SoPointDetail * SoLineDtlGetPt1(const SoLineDtl *this)
int32_t SoLineDtlGetLineInd(const SoLineDtl *this)
int32_t SoLineDtlGetPartInd(const SoLineDtl *this)
SoType SoLineDtlGetClassTypeId()
Functions from class SoDetail:
SoDetail * SoLineDtlVirtual(const SoLineDtl *this)
SoType SoLineDtlGetTypeId(const SoLineDtl *this)
SbBool SoLineDtlIsOfType(const SoLineDtl *this, SoType type)
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.
FUNCTIONSSoLineDetail * SoLineDtlCreate()
void SoLineDtlDelete(SoLineDtl *this)
Constructor and destructor.
const SoPointDetail * SoLineDtlGetPt0(const SoLineDtl *this)
const SoPointDetail * SoLineDtlGetPt1(const SoLineDtl *this)
These return information about the two points forming the end
vertices of the line segment, represented as an SoPointDetail.
int32_t SoLineDtlGetLineInd(const SoLineDtl *this)
Returns the index of the line the segment is part of within a shape,
such as the third line within an SoLineSet.
int32_t SoLineDtlGetPartInd(const SoLineDtl *this)
Returns the index of the part containing the line segment within the
shape. Usually, the part index is the same as the line segment
Page 1SoLineDetail(3IV)
index, such as the fifth segment overall within an SoLineSet.
SoType SoLineDtlGetClassTypeId()
Returns type identifier for this class.
SEE ALSO
SoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape
Page 2