Public Member Functions | Public Attributes | List of all members
Plane Class Reference

#include <IcePlane.h>

Public Member Functions

inline_ bool Belongs (const Point &p) const
 
inline_ float Distance (const Point &p) const
 
inline_ void Normalize ()
 
inline_ operator HPoint () const
 
inline_ operator Point () const
 
inline_ Plane operator* (const Matrix4x4 &m) const
 
inline_ Planeoperator*= (const Matrix4x4 &m)
 
inline_ Plane ()
 Constructor. More...
 
inline_ Plane (float nx, float ny, float nz, float d)
 Constructor from a normal and a distance. More...
 
inline_ Plane (const Point &p, const Point &n)
 Constructor from a point on the plane and a normal. More...
 
inline_ Plane (const Point &p0, const Point &p1, const Point &p2)
 Constructor from three points. More...
 
inline_ Plane (const Point &_n, float _d)
 Constructor from a normal and a distance. More...
 
inline_ Plane (const Plane &plane)
 Copy constructor. More...
 
inline_ PlaneSet (float nx, float ny, float nz, float _d)
 
inline_ PlaneSet (const Point &p, const Point &_n)
 
PlaneSet (const Point &p0, const Point &p1, const Point &p2)
 
inline_ PlaneZero ()
 
inline_ ~Plane ()
 Destructor. More...
 

Public Attributes

float d
 The distance from the origin. More...
 
Point n
 The normal to the plane. More...
 

Detailed Description

Plane class.

Author
Pierre Terdiman
Version
1.0

Definition at line 17 of file IcePlane.h.

Constructor & Destructor Documentation

inline_ Plane::Plane ( )
inline

Constructor.

Definition at line 21 of file IcePlane.h.

inline_ Plane::Plane ( float  nx,
float  ny,
float  nz,
float  d 
)
inline

Constructor from a normal and a distance.

Definition at line 23 of file IcePlane.h.

inline_ Plane::Plane ( const Point p,
const Point n 
)
inline

Constructor from a point on the plane and a normal.

Definition at line 25 of file IcePlane.h.

inline_ Plane::Plane ( const Point p0,
const Point p1,
const Point p2 
)
inline

Constructor from three points.

Definition at line 27 of file IcePlane.h.

inline_ Plane::Plane ( const Point _n,
float  _d 
)
inline

Constructor from a normal and a distance.

Definition at line 29 of file IcePlane.h.

inline_ Plane::Plane ( const Plane plane)
inline

Copy constructor.

Definition at line 31 of file IcePlane.h.

inline_ Plane::~Plane ( )
inline

Destructor.

Definition at line 33 of file IcePlane.h.

Member Function Documentation

inline_ bool Plane::Belongs ( const Point p) const
inline

Definition at line 41 of file IcePlane.h.

inline_ float Plane::Distance ( const Point p) const
inline

Definition at line 40 of file IcePlane.h.

inline_ void Plane::Normalize ( )
inline

Definition at line 43 of file IcePlane.h.

inline_ Plane::operator HPoint ( ) const
inline

Definition at line 58 of file IcePlane.h.

inline_ Plane::operator Point ( ) const
inline

Definition at line 57 of file IcePlane.h.

inline_ Plane Plane::operator* ( const Matrix4x4 m) const
inline

Definition at line 61 of file IcePlane.h.

inline_ Plane& Plane::operator*= ( const Matrix4x4 m)
inline

Definition at line 68 of file IcePlane.h.

inline_ Plane& Plane::Set ( float  nx,
float  ny,
float  nz,
float  _d 
)
inline

Definition at line 36 of file IcePlane.h.

inline_ Plane& Plane::Set ( const Point p,
const Point _n 
)
inline

Definition at line 37 of file IcePlane.h.

Plane& Plane::Set ( const Point p0,
const Point p1,
const Point p2 
)
inline_ Plane& Plane::Zero ( )
inline

Definition at line 35 of file IcePlane.h.

Member Data Documentation

float Plane::d

The distance from the origin.

Definition at line 54 of file IcePlane.h.

Point Plane::n

The normal to the plane.

Definition at line 53 of file IcePlane.h.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:29