UT_Plane Class Reference

#include <UT_Plane.h>

Inheritance diagram for UT_Plane:

UT_CoordSpace

List of all members.

Public Types

enum  UT_PlaneType { UT_PLANE_XY, UT_PLANE_YZ, UT_PLANE_XZ }

Public Member Functions

 UT_Plane (UT_PlaneType p=UT_PLANE_XY)
 UT_Plane (const UT_Vector3 &apoint, const UT_Vector3 &nmlVec, int norm=1)
 UT_Plane (const UT_Vector3 &p0, const UT_Vector3 &p1, const UT_Vector3 &p2)
 UT_Plane (const UT_Vector4 &p)
 UT_Plane (const UT_Plane &p)
virtual ~UT_Plane (void)
UT_Vector3 intersect (const UT_Vector3 &p, const UT_Vector3 &v) const
int intersectLine (const UT_Vector3 &p, const UT_Vector3 &v, UT_Vector3 &hit) const
int intersectRay (const UT_Vector3 &p, const UT_Vector3 &v, UT_Vector3 &hit) const
int intersectLine (const UT_Vector3 &offsetPt, const UT_Vector3 &p, const UT_Vector3 &v, UT_Vector3 &hit) const
int intersectRay (const UT_Vector3 &offsetPt, const UT_Vector3 &p, const UT_Vector3 &v, UT_Vector3 &hit) const
UT_Vector3 project (const UT_Vector3 &p) const
fpreal project (const UT_Vector3 &p, UT_Vector3 &projection) const
void symmetry (UT_Vector3 &p)
int contains (const UT_Vector3 &p) const
int side (const UT_Vector3 &p) const
UT_Vector3point (void)
const UT_Vector3point (void) const
UT_Vector3normal (void)
const UT_Vector3normal (void) const
virtual void negate (void)
virtual void rotate (UT_Vector3 &axis, fpreal theta, int norm=1)
virtual void rotate (UT_Axis3::axis a, fpreal theta)
virtual void transform (const UT_Matrix4 &matx)
virtual void transform (UT_Matrix4 &matx)
virtual void transform (const UT_DMatrix4 &matx)
virtual void transform (UT_DMatrix4 &matx)
UT_Planeoperator= (const UT_Plane &p)
void shiftOffset (fpreal byFactor)
virtual const char * className () const


Detailed Description

Definition at line 31 of file UT_Plane.h.


Member Enumeration Documentation

Enumerator:
UT_PLANE_XY 
UT_PLANE_YZ 
UT_PLANE_XZ 

Definition at line 35 of file UT_Plane.h.


Constructor & Destructor Documentation

UT_Plane::UT_Plane ( UT_PlaneType  p = UT_PLANE_XY  ) 

UT_Plane::UT_Plane ( const UT_Vector3 apoint,
const UT_Vector3 nmlVec,
int  norm = 1 
)

UT_Plane::UT_Plane ( const UT_Vector3 p0,
const UT_Vector3 p1,
const UT_Vector3 p2 
)

UT_Plane::UT_Plane ( const UT_Vector4 p  ) 

UT_Plane::UT_Plane ( const UT_Plane p  ) 

virtual UT_Plane::~UT_Plane ( void   )  [virtual]


Member Function Documentation

virtual const char* UT_Plane::className (  )  const [virtual]

Reimplemented in UT_CoordSpace.

int UT_Plane::contains ( const UT_Vector3 p  )  const

UT_Vector3 UT_Plane::intersect ( const UT_Vector3 p,
const UT_Vector3 v 
) const

int UT_Plane::intersectLine ( const UT_Vector3 offsetPt,
const UT_Vector3 p,
const UT_Vector3 v,
UT_Vector3 hit 
) const

int UT_Plane::intersectLine ( const UT_Vector3 p,
const UT_Vector3 v,
UT_Vector3 hit 
) const

int UT_Plane::intersectRay ( const UT_Vector3 offsetPt,
const UT_Vector3 p,
const UT_Vector3 v,
UT_Vector3 hit 
) const

int UT_Plane::intersectRay ( const UT_Vector3 p,
const UT_Vector3 v,
UT_Vector3 hit 
) const

virtual void UT_Plane::negate ( void   )  [virtual]

Reimplemented in UT_CoordSpace.

const UT_Vector3& UT_Plane::normal ( void   )  const [inline]

Definition at line 85 of file UT_Plane.h.

UT_Vector3& UT_Plane::normal ( void   )  [inline]

Definition at line 84 of file UT_Plane.h.

UT_Plane& UT_Plane::operator= ( const UT_Plane p  )  [inline]

Definition at line 102 of file UT_Plane.h.

const UT_Vector3& UT_Plane::point ( void   )  const [inline]

Definition at line 83 of file UT_Plane.h.

UT_Vector3& UT_Plane::point ( void   )  [inline]

Definition at line 82 of file UT_Plane.h.

fpreal UT_Plane::project ( const UT_Vector3 p,
UT_Vector3 projection 
) const

UT_Vector3 UT_Plane::project ( const UT_Vector3 p  )  const

virtual void UT_Plane::rotate ( UT_Axis3::axis  a,
fpreal  theta 
) [virtual]

Reimplemented in UT_CoordSpace.

virtual void UT_Plane::rotate ( UT_Vector3 axis,
fpreal  theta,
int  norm = 1 
) [virtual]

Reimplemented in UT_CoordSpace.

void UT_Plane::shiftOffset ( fpreal  byFactor  )  [inline]

Definition at line 113 of file UT_Plane.h.

int UT_Plane::side ( const UT_Vector3 p  )  const

void UT_Plane::symmetry ( UT_Vector3 p  ) 

virtual void UT_Plane::transform ( UT_DMatrix4 matx  )  [virtual]

Reimplemented in UT_CoordSpace.

virtual void UT_Plane::transform ( const UT_DMatrix4 matx  )  [virtual]

Reimplemented in UT_CoordSpace.

virtual void UT_Plane::transform ( UT_Matrix4 matx  )  [virtual]

Reimplemented in UT_CoordSpace.

virtual void UT_Plane::transform ( const UT_Matrix4 matx  )  [virtual]

Reimplemented in UT_CoordSpace.


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

Generated on Fri May 25 00:10:51 2012 for HDK by  doxygen 1.5.9