SbDPPlane - Online Linux Manual Page

Section : 3
Updated : Mon Jan 25 2021
Source : Version 4.0.0
Note : Coin

NAMESbDPPlane − The SbDPPlane class represents a plane in 3D space​.

SYNOPSIS
#include <Inventor/SbLinear​.h>

Public Member FunctionsSbDPPlane (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

Related Functions(Note that these are not member functions​.) int operator== (const SbDPPlane &p1, const SbDPPlane &p2)
int operator!= (const SbDPPlane &p1, const SbDPPlane &p2)

Detailed DescriptionThe SbDPPlane class represents a plane in 3D space​. 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​. Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2​.1 API​.
Since Coin 2​.0

Constructor & Destructor Documentation

SbDPPlane::SbDPPlane (void)An SbDPPlane instantiated with the default constructor will be uninitialized​.

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​.

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​.

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​.

Member Function Documentation

void SbDPPlane::offset (const double d)Add the given offset d to the plane distance from the origin​.

SbBool SbDPPlane::intersect (const SbDPLine & l, SbVec3d & intersection) constFind 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​. Do not pass an invalid line for the l parameter (i​.e​. with a null direction vector)​.

void SbDPPlane::transform (const SbDPMatrix & matrix)Transform the plane by matrix​. See also offset()

SbBool SbDPPlane::isInHalfSpace (const SbVec3d & point) constCheck if the given point lies in the halfspace of the plane which the plane normal vector is pointing​.

double SbDPPlane::getDistance (const SbVec3d & point) constReturn the distance from point to plane​. Positive distance means the point is in the plane's half space​. This method is an extension specific to Coin versus the original SGI Inventor API​.

const SbVec3d & SbDPPlane::getNormal (void) constReturn the plane's normal vector, which indicates which direction the plane is oriented​. See also getDistanceFromOrigin()​.

double SbDPPlane::getDistanceFromOrigin (void) constReturn 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) constDump the state of this object to the file stream​. Only works in debug version of library, method does nothing in an optimized build​.

SbBool SbDPPlane::intersect (const SbDPPlane & pl, SbDPLine & line) constIntersect 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​. 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

Friends And Related Function Documentation

int operator== (const SbDPPlane & p1, const SbDPPlane & p2) [related]Check the two given planes for equality​.

int operator!= (const SbDPPlane & p1, const SbDPPlane & p2) [related]Check the two given planes for unequality​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   25,358 byte
man-SbDPPlane.3coin4Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   19 / 2,084,077
Visitor ID   :     :  
Visitor IP   :   216.73.216.62   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   37.751000 x -97.822000   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :     :  
Provider Province   :   ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.