SOLINEDETAIL(3iv)
πΈ NAME πΈ
ok so bestie, meet SoLineDetail β the lil class that stores detail information about vertex-based shapes made of line segments. it's giving backstage-pass energy for your lines π
π¦ INHERITS FROM π¦
SoDetail > SoLineDetail
so it's a SoDetail girlie first, and everything SoDetail can do, she can do too. inheritance slay β¨
β¨ SYNOPSIS β¨
include it like this, no cap:
#include <Inventor/details/SoLineDetail.h>
Methods from class SoLineDetail:
SoLineDetail()
virtual ~SoLineDetail()
const SoPointDetail * getPoint0() const
const SoPointDetail * getPoint1() const
int32_t getLineIndex() const
int32_t getPartIndex() const
static SoType getClassTypeId()
Methods from class SoDetail:
SoDetail * copy() const
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
π DESCRIPTION π
ok so picture this: you got a vertex-based shape that's literally just line segments strung together. SoLineDetail is the class that holds the detail information about a point on one of those line segments. what's inside? the points at the ends of the segment, plus the index of the segment within the shape. that's it, that's the vibe. lowkey essential, highkey underrated π«Ά
π METHODS π
SoLineDetail()β the constructor β¨virtual ~SoLineDetail()β the destructor π- yeah these two are just constructor and destructor. they do exactly what it says on the tin, bestie.
const SoPointDetail * getPoint0() constβ returns info about one of the two points that form the end vertices of the line segment πΈconst SoPointDetail * getPoint1() constβ same deal for the other end vertex π- both of these hand you the end-vertex points, and they come represented as an
SoPointDetail. two points, one segment, iconic.
- both of these hand you the end-vertex points, and they come represented as an
int32_t getLineIndex() constβ returns the index of the line that the segment is part of, within a shape π§- like, say, the third line within an
SoLineSet. iykyk.
- like, say, the third line within an
int32_t getPartIndex() constβ returns the index of the part containing the line segment, within the shape π- heads up: usually the part index is the same as the line segment index β like the fifth segment overall within an
SoLineSet. so don't be shocked when they match, that's normal fr fr.
- heads up: usually the part index is the same as the line segment index β like the fifth segment overall within an
static SoType getClassTypeId()β returns the type identifier for this class β
π SEE ALSO π
SoDetailSoPickedPointSoPrimitiveVertexSoVertexShape
and that's the whole page, bestie π₯° this one signs off as SoLineDetail(3IV)() β that's the source/version stamp at the bottom, and there's no date on it, so don't come for me. periodt π
πβ¨
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms