52#ifndef _SO_LINE_DETAIL_
53#define _SO_LINE_DETAIL_
55#include <Inventor/details/SoPointDetail.h>
142 void setLineIndex(int32_t i) { lineIndex = i; }
143 void setPartIndex(int32_t i) { partIndex = i; }
148 void setLineIndex(
long i)
149 { setLineIndex ((int32_t) i); }
154 void setPartIndex(
long i)
155 { setPartIndex ((int32_t) i); }
164 static void initClass();
165 static void exitClass();
169 int32_t lineIndex, partIndex;
Base class for describing detail information about a shape node.
Stores detail information about vertex-based shapes made of line segments.
const SoPointDetail * getPoint1() const
Returns information about the second of two points forming the end vertices of the line segment,...
int32_t getLineIndex() const
Returns the index of the line the segment is part of within a shape, such as the third line within an...
virtual SoDetail * copy() const
Returns an instance that is a copy of this instance.
const SoPointDetail * getPoint0() const
Returns information about the first of two points forming the end vertices of the line segment,...
const SoPointDetail * getPoint(int32_t i) const
Returns information about the point forming the i'th end of the line, represented as an SoPointDetail...
SoLineDetail()
Constructor.
int32_t getPartIndex() const
Returns the index of the part containing the line segment within the shape.
virtual ~SoLineDetail()
Destructor.
Stores detail information about vertex-based shapes made of points.