1SoLineDetail(3IV)()                                        SoLineDetail(3IV)()
2
3
4

NAME

6       SoLineDetail — stores detail information about vertex-based shapes made
7       of line segments
8

INHERITS FROM

10       SoDetail > SoLineDetail
11

SYNOPSIS

13       #include <Inventor/details/SoLineDetail.h>
14
15          Methods from class SoLineDetail:
16
17                            SoLineDetail()
18     virtual                ~SoLineDetail()
19     const SoPointDetail *  getPoint0() const
20     const SoPointDetail *  getPoint1() const
21     int32_t                getLineIndex() const
22     int32_t                getPartIndex() const
23     static SoType          getClassTypeId()
24
25          Methods from class SoDetail:
26
27     SoDetail *          copy() const
28     virtual SoType      getTypeId() const
29     SbBool              isOfType(SoType type) const
30
31

DESCRIPTION

33       This class contains detail information about a point on a line  segment
34       in a vertex-based shape made of line segments. The information includes
35       the points at the ends of the segment, and the  index  of  the  segment
36       within the shape.
37

METHODS

39                            SoLineDetail()
40     virtual                ~SoLineDetail()
41          Constructor and destructor.
42
43     const SoPointDetail *  getPoint0() const
44     const SoPointDetail *  getPoint1() const
45          These  return  information about the two points forming the end ver‐
46          tices of the line segment, represented as an SoPointDetail.
47
48     int32_t                getLineIndex() const
49          Returns the index of the line the segment is part of within a shape,
50          such as the third line within an SoLineSet.
51
52     int32_t                getPartIndex() const
53          Returns the index of the part containing the line segment within the
54          shape. Usually, the part index is  the  same  as  the  line  segment
55          index, such as the fifth segment overall within an SoLineSet.
56
57     static SoType          getClassTypeId()
58          Returns type identifier for this class.
59
60

SEE ALSO

62       SoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape
63
64
65
66
67                                                           SoLineDetail(3IV)()
Impressum