Public Member Functions | Public Attributes
IceMaths::Plane Class Reference

#include <OPC_IceHook.h>

List of all members.

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.
inline_ Plane (float nx, float ny, float nz, float d)
 Constructor from a normal and a distance.
inline_ Plane (const Point &p, const Point &n)
 Constructor from a point on the plane and a normal.
inline_ Plane (const Point &p0, const Point &p1, const Point &p2)
 Constructor from three points.
inline_ Plane (const Point &_n, float _d)
 Constructor from a normal and a distance.
inline_ Plane (const Plane &plane)
 Copy constructor.
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.

Public Attributes

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

Detailed Description

Definition at line 18 of file OPC_IceHook.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 22 of file OPC_IceHook.h.

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

Constructor from a normal and a distance.

Definition at line 24 of file OPC_IceHook.h.

inline_ IceMaths::Plane::Plane ( const Point p,
const Point n 
) [inline]

Constructor from a point on the plane and a normal.

Definition at line 26 of file OPC_IceHook.h.

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

Constructor from three points.

Definition at line 28 of file OPC_IceHook.h.

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

Constructor from a normal and a distance.

Definition at line 30 of file OPC_IceHook.h.

inline_ IceMaths::Plane::Plane ( const Plane plane) [inline]

Copy constructor.

Definition at line 32 of file OPC_IceHook.h.

Destructor.

Definition at line 34 of file OPC_IceHook.h.


Member Function Documentation

inline_ bool IceMaths::Plane::Belongs ( const Point p) const [inline]

Definition at line 42 of file OPC_IceHook.h.

inline_ float IceMaths::Plane::Distance ( const Point p) const [inline]

Definition at line 41 of file OPC_IceHook.h.

Definition at line 44 of file OPC_IceHook.h.

inline_ IceMaths::Plane::operator HPoint ( ) const [inline]

Definition at line 59 of file OPC_IceHook.h.

inline_ IceMaths::Plane::operator Point ( ) const [inline]

Definition at line 58 of file OPC_IceHook.h.

inline_ Plane IceMaths::Plane::operator* ( const Matrix4x4 m) const [inline]

Definition at line 62 of file OPC_IceHook.h.

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

Definition at line 69 of file OPC_IceHook.h.

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

Definition at line 37 of file OPC_IceHook.h.

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

Definition at line 38 of file OPC_IceHook.h.

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

Computes the plane equation from 3 points.

Parameters:
p0[in] first point
p1[in] second point
p2[in] third point
Returns:
Self-reference

Definition at line 34 of file IcePlane.cpp.

Definition at line 36 of file OPC_IceHook.h.


Member Data Documentation

The distance from the origin.

Definition at line 55 of file OPC_IceHook.h.

The normal to the plane.

Definition at line 54 of file OPC_IceHook.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:22