PlaneD Class Reference

#include <mPlane.h>

Inheritance diagram for PlaneD:

Inheritance graph
[legend]
List of all members.

Public Types

 Front = 1
 On = 0
 Back = -1
enum  Side {
  Front = 1,
  On = 0,
  Back = -1
}

Public Member Functions

 PlaneD ()
 PlaneD (const PlaneF &copy)
 PlaneD (const Point3D &p, const Point3D &n)
 PlaneD (F64 _x, F64 _y, F64 _z, F64 _d)
 PlaneD (const Point3D &j, const Point3D &k, const Point3D &l)
void set (const F64 _x, const F64 _y, const F64 _z)
void set (const Point3D &p, const Point3D &n)
void set (const Point3D &k, const Point3D &j, const Point3D &l)
void setPoint (const Point3D &p)
void setXY (F64 zz)
void setYZ (F64 xx)
void setXZ (F64 yy)
void setXY (const Point3D &P, F64 dir)
void setYZ (const Point3D &P, F64 dir)
void setXZ (const Point3D &P, F64 dir)
void shiftX (F64 xx)
void shiftY (F64 yy)
void shiftZ (F64 zz)
void invert ()
void neg ()
Point3D project (const Point3D &pt) const
F64 distToPlane (const Point3D &cp) const
Side whichSide (const Point3D &cp) const
F64 intersect (const Point3D &start, const Point3D &end) const
bool isHorizontal () const
bool isVertical () const
Side whichSideBox (const Point3D &center, const Point3D &axisx, const Point3D &axisy, const Point3D &axisz, const Point3D &offset) const

Public Attributes

F64 d

Member Enumeration Documentation

Enumerator:
Front 
On 
Back 


Constructor & Destructor Documentation

PlaneD::PlaneD (  )  [inline]

PlaneD::PlaneD ( const PlaneF copy  )  [inline]

PlaneD::PlaneD ( const Point3D p,
const Point3D n 
) [inline]

PlaneD::PlaneD ( F64  _x,
F64  _y,
F64  _z,
F64  _d 
) [inline]

PlaneD::PlaneD ( const Point3D j,
const Point3D k,
const Point3D l 
) [inline]


Member Function Documentation

void PlaneD::set ( const F64  _x,
const F64  _y,
const F64  _z 
) [inline]

Reimplemented from Point3D.

void PlaneD::set ( const Point3D p,
const Point3D n 
) [inline]

void PlaneD::set ( const Point3D k,
const Point3D j,
const Point3D l 
) [inline]

void PlaneD::setPoint ( const Point3D p  )  [inline]

void PlaneD::setXY ( F64  zz  )  [inline]

void PlaneD::setYZ ( F64  xx  )  [inline]

void PlaneD::setXZ ( F64  yy  )  [inline]

void PlaneD::setXY ( const Point3D P,
F64  dir 
) [inline]

void PlaneD::setYZ ( const Point3D P,
F64  dir 
) [inline]

void PlaneD::setXZ ( const Point3D P,
F64  dir 
) [inline]

void PlaneD::shiftX ( F64  xx  )  [inline]

void PlaneD::shiftY ( F64  yy  )  [inline]

void PlaneD::shiftZ ( F64  zz  )  [inline]

void PlaneD::invert (  )  [inline]

void PlaneD::neg (  )  [inline]

Reimplemented from Point3D.

Point3D PlaneD::project ( const Point3D pt  )  const [inline]

F64 PlaneD::distToPlane ( const Point3D cp  )  const [inline]

PlaneD::Side PlaneD::whichSide ( const Point3D cp  )  const [inline]

F64 PlaneD::intersect ( const Point3D start,
const Point3D end 
) const [inline]

bool PlaneD::isHorizontal (  )  const [inline]

bool PlaneD::isVertical (  )  const [inline]

PlaneD::Side PlaneD::whichSideBox ( const Point3D center,
const Point3D axisx,
const Point3D axisy,
const Point3D axisz,
const Point3D offset 
) const [inline]


Member Data Documentation