SbDPPlane(3)
π SbDPPlane β the plane girlies' manual (Coin 3) π
okay so bestie, welcome to SbDPPlane(3), the Coin manual page. she's a plane. in 3D space. that's the whole vibe. let's get into it π©οΈβ¨
πΈ NAME πΈ
SbDPPlane β the SbDPPlane class represents a plane in 3D space. no cap.
β¨ SYNOPSIS β¨
#include <Inventor/SbLinear.h>
π Public Member Functions π
SbDPPlane (void)
SbDPPlane (const SbVec3d &normal, const double D)
SbDPPlane (const SbVec3d &p0, const SbVec3d &p1, const SbVec3d &p2)
SbDPPlane (const SbVec3d &normal, const SbVec3d &point)
void offset (const double d)
SbBool intersect (const SbDPLine &l, SbVec3d &intersection) const
void transform (const SbDPMatrix &matrix)
SbBool isInHalfSpace (const SbVec3d &point) const
double getDistance (const SbVec3d &point) const
const SbVec3d & getNormal (void) const
double getDistanceFromOrigin (void) const
void print (FILE *file) const
SbBool intersect (const SbDPPlane &pl, SbDPLine &line) const
π¦ Detailed Description π¦
The SbDPPlane class represents a plane in 3D space. literally what it says on the tin π
SbDPPlane is used by many other classes in Coin. it provides a way of representing a plane, specified by a plane normal vector and a distance from the origin of the coordinate system. so it's giving "normal + how far from home" energy.
β οΈ be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API. she's a Coin exclusive, iykyk.
Since
Coin 2.0 β she's been iconic since 2.0 π
π Constructor & Destructor Documentation π
π§ SbDPPlane::SbDPPlane (void )
An SbDPPlane instantiated with the default constructor will be uninitialized. so likeβ¦ she exists but she doesn't know who she is yet π do not use her until you've given her a glow-up (i.e. actually initialized her).
π§ SbDPPlane::SbDPPlane (const SbVec3d & normalref, const double D)
Construct an SbDPPlane instance with a normal pointing in the given direction and the given shortest distance from the origin of the coordinate system to a point in the plane.
π normal must not be a null vector. fr fr, don't do it.
π§ SbDPPlane::SbDPPlane (const SbVec3d & p0, const SbVec3d & p1, const SbVec3d & p2)
Construct an SbDPPlane with three points laying in the plane. Make sure p0, p1 and p2 are actually three distinct points when using this constructor. three besties, three different spots, periodt β¨
π§ SbDPPlane::SbDPPlane (const SbVec3d & normalref, const SbVec3d & point)
Construct an SbDPPlane from a normal and a point laying in the plane.
π normal must not be a null vector. same rule, same energy.
π Member Function Documentation π
π void SbDPPlane::offset (const double d)
Add the given offset d to the plane distance from the origin. little slide to the side, slay.
π SbBool SbDPPlane::intersect (const SbDPLine & l, SbVec3d & intersection) const
Find the point on given line l intersecting the plane and return it in intersection. If the line is parallel to the plane, we return FALSE, otherwise TRUE. she said "parallel? not today π
"
π Do not pass an invalid line for the l parameter (i.e. with a null direction vector). just don't, bestie.
π void SbDPPlane::transform (const SbDPMatrix & matrix)
Transform the plane by matrix. glow-up via linear algebra β¨
See also
offset()
π SbBool SbDPPlane::isInHalfSpace (const SbVec3d & point) const
Check if the given point lies in the halfspace of the plane which the plane normal vector is pointing. are you on her side of the fence or not π«Ά
π double SbDPPlane::getDistance (const SbVec3d & point) const
Return the distance from point to plane. Positive distance means the point is in the plane's halfspace.
this method is an extension specific to Coin versus the original SGI Inventor API. coin exclusive, no cap π
π const SbVec3d & SbDPPlane::getNormal (void ) const
Return the plane's normal vector, which indicates which direction the plane is oriented. her main character direction π
See also
getDistanceFromOrigin().
π double SbDPPlane::getDistanceFromOrigin (void ) const
Return distance from origin of coordinate system to the point in the plane which is closest to the origin.
See also
getNormal().
π void SbDPPlane::print (FILE * fp) const
Dump the state of this object to the fp file stream. Only works in debug version of library, method does nothing in an optimized build. so in release she's silent, in debug she's spilling everything π£οΈ
π SbBool SbDPPlane::intersect (const SbDPPlane & pl, SbDPLine & line) const
Intersect this plane with pl, and return the resulting line in line. Returns TRUE if an intersection line can be found, and FALSE if the planes are parallel. two planes, one line, unless they're parallel and then it's giving nothing π
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
Since
Coin 2.0
πΈ Author πΈ
Generated automatically by Doxygen for Coin from the source code. the robots did this one, not me π«Ά
and that's the whole page, bestie!! this gorgeous thing is Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and she lives in section SbDPPlane(3). go build something iconic with her π
β¨ππ¦
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms