Oriented plane in 3D.  
 More...
#include <Inventor/SbLinear.h>
 | 
|   | SbPlane () | 
|   | Default constructor.  
  | 
|   | 
|   | SbPlane (const SbVec3f &p0, const SbVec3f &p1, const SbVec3f &p2) | 
|   | Construct a plane given three points.  
  | 
|   | 
|   | SbPlane (const SbVec3f &n, float d) | 
|   | Construct a plane given normal and distance from origin along normal.  
  | 
|   | 
|   | SbPlane (const SbVec3f &n, const SbVec3f &p) | 
|   | Construct a plane given normal and a point to pass through Orientation is given by the normal vector n.  
  | 
|   | 
| void  | offset (float d) | 
|   | Offset a plane by a given distance.  
  | 
|   | 
| bool  | intersect (const SbLine &l, SbVec3f &intersection) const | 
|   | Intersect line and plane, returning TRUE if there is an intersection, FALSE if line is parallel to plane.  
  | 
|   | 
| void  | transform (const SbMatrix &matrix) | 
|   | Transforms the plane by the given matrix.  
  | 
|   | 
| bool  | isInHalfSpace (const SbVec3f &point) const | 
|   | Returns TRUE if the given point is within the half-space defined by the plane.  
  | 
|   | 
| float  | getDistance (const SbVec3f &point) const | 
|   | Returns the distance of the point to the plane.  
  | 
|   | 
| const SbVec3f &  | getNormal () const | 
|   | Returns normal vector to plane.  
  | 
|   | 
| float  | getDistanceFromOrigin () const | 
|   | Returns distance from origin to plane.  
  | 
|   | 
Represents an oriented plane in 3D. This is a lightweight class/datatype that is used for arguments to some Inventor objects. {}
- See Also
 
- SbVec3f, SbLine 
 
Definition at line 1360 of file SbLinear.h.
 
◆ SbPlane() [1/4]
◆ SbPlane() [2/4]
p0, p1, and p2 represent three points in the plane. 
 
 
◆ SbPlane() [3/4]
      
        
          | SbPlane::SbPlane  | 
          ( | 
          const SbVec3f &  | 
          n,  | 
        
        
           | 
           | 
          float  | 
          d  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Orientation is given by the normal vector n. 
 
 
◆ SbPlane() [4/4]
◆ getDistance()
      
        
          | float SbPlane::getDistance  | 
          ( | 
          const SbVec3f &  | 
          point | ) | 
           const | 
        
      
 
 
◆ getDistanceFromOrigin()
  
  
      
        
          | float SbPlane::getDistanceFromOrigin  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getNormal()
  
  
      
        
          | const SbVec3f & SbPlane::getNormal  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ intersect()
      
        
          | bool SbPlane::intersect  | 
          ( | 
          const SbLine &  | 
          l,  | 
        
        
           | 
           | 
          SbVec3f &  | 
          intersection  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
◆ isInHalfSpace()
      
        
          | bool SbPlane::isInHalfSpace  | 
          ( | 
          const SbVec3f &  | 
          point | ) | 
           const | 
        
      
 
 
◆ offset()
      
        
          | void SbPlane::offset  | 
          ( | 
          float  | 
          d | ) | 
           | 
        
      
 
 
◆ transform()
      
        
          | void SbPlane::transform  | 
          ( | 
          const SbMatrix &  | 
          matrix | ) | 
           | 
        
      
 
 
◆ operator!=
◆ operator==
The documentation for this class was generated from the following file:
- /home/jenkins/workspaces/mevislab/4.2.0_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/SbLinear.h