HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_PlaneT< T > Class Template Reference

#include <UT_Plane.h>

Public Member Functions

 UT_PlaneT (UT_PlaneType plane_type=UT_PLANE_XY)
 
 UT_PlaneT (const UT_Vector3T< T > &pt, UT_PlaneType plane_type=UT_PLANE_XY)
 
 UT_PlaneT (const UT_Vector3T< T > &apoint, const UT_Vector3T< T > &norm_dir, bool norm=true)
 
 UT_PlaneT (const UT_Vector3T< T > &p0, const UT_Vector3T< T > &p1, const UT_Vector3T< T > &p2)
 
 UT_PlaneT (const UT_Vector4T< T > &p)
 
 ~UT_PlaneT ()
 
UT_Vector3T< Tintersect (const UT_Vector3T< T > &p, const UT_Vector3T< T > &v) const
 
int intersectLine (const UT_Vector3T< T > &p, const UT_Vector3T< T > &v, UT_Vector3T< T > &hit) const
 
int intersectRay (const UT_Vector3T< T > &p, const UT_Vector3T< T > &v, UT_Vector3T< T > &hit) const
 
int intersectLine (const UT_Vector3T< T > &offset_pt, const UT_Vector3T< T > &p, const UT_Vector3T< T > &v, UT_Vector3T< T > &hit) const
 
int intersectRay (const UT_Vector3T< T > &offset_pt, const UT_Vector3T< T > &p, const UT_Vector3T< T > &v, UT_Vector3T< T > &hit) const
 
UT_Vector3T< Tproject (const UT_Vector3T< T > &p) const
 
T project (const UT_Vector3T< T > &p, UT_Vector3T< T > &projection) const
 
void symmetry (UT_Vector3T< T > &p) const
 
bool contains (const UT_Vector3T< T > &p) const
 
int side (const UT_Vector3T< T > &p) const
 
const UT_Vector3T< T > & point () const
 
void setPoint (const UT_Vector3T< T > &p)
 
const UT_Vector3T< T > & normal () const
 
void setNormal (const UT_Vector3T< T > &n)
 
void setVectorAsNormal (const UT_Vector3T< T > &n)
 
void setNormal (UT_PlaneType plane_type)
 
void negate ()
 
void rotate (UT_Vector3T< T > &axis, T theta, bool norm=true)
 
void rotate (UT_Axis3::axis a, T theta)
 
void rotatePoint (const UT_Matrix3T< T > &rot_matx)
 
void rotateNormal (const UT_Matrix3T< T > &rot_matx, bool norm=true)
 
void transform (const UT_Matrix4F &matx)
 
void transform (UT_Matrix4F &matx)
 
void transform (const UT_Matrix4D &matx)
 
void transform (UT_Matrix4D &matx)
 
void shiftOffset (T by_factor)
 
void translate (const UT_Vector3T< T > &offset)
 

Detailed Description

template<typename T>
class UT_PlaneT< T >

Definition at line 33 of file UT_Plane.h.

Constructor & Destructor Documentation

template<typename T >
UT_PlaneT< T >::UT_PlaneT ( UT_PlaneType  plane_type = UT_PLANE_XY)

Definition at line 32 of file UT_PlaneImpl.h.

template<typename T >
UT_PlaneT< T >::UT_PlaneT ( const UT_Vector3T< T > &  pt,
UT_PlaneType  plane_type = UT_PLANE_XY 
)

Definition at line 39 of file UT_PlaneImpl.h.

template<typename T >
UT_PlaneT< T >::UT_PlaneT ( const UT_Vector3T< T > &  apoint,
const UT_Vector3T< T > &  norm_dir,
bool  norm = true 
)

Definition at line 46 of file UT_PlaneImpl.h.

template<typename T >
UT_PlaneT< T >::UT_PlaneT ( const UT_Vector3T< T > &  p0,
const UT_Vector3T< T > &  p1,
const UT_Vector3T< T > &  p2 
)

Definition at line 71 of file UT_PlaneImpl.h.

template<typename T >
UT_PlaneT< T >::UT_PlaneT ( const UT_Vector4T< T > &  p)

Definition at line 58 of file UT_PlaneImpl.h.

template<typename T >
UT_PlaneT< T >::~UT_PlaneT ( )

Definition at line 85 of file UT_PlaneImpl.h.

Member Function Documentation

template<typename T >
bool UT_PlaneT< T >::contains ( const UT_Vector3T< T > &  p) const

Definition at line 307 of file UT_PlaneImpl.h.

template<typename T >
UT_Vector3T< T > UT_PlaneT< T >::intersect ( const UT_Vector3T< T > &  p,
const UT_Vector3T< T > &  v 
) const

Definition at line 92 of file UT_PlaneImpl.h.

template<typename T >
int UT_PlaneT< T >::intersectLine ( const UT_Vector3T< T > &  p,
const UT_Vector3T< T > &  v,
UT_Vector3T< T > &  hit 
) const

Definition at line 109 of file UT_PlaneImpl.h.

template<typename T >
int UT_PlaneT< T >::intersectLine ( const UT_Vector3T< T > &  offset_pt,
const UT_Vector3T< T > &  p,
const UT_Vector3T< T > &  v,
UT_Vector3T< T > &  hit 
) const

Definition at line 159 of file UT_PlaneImpl.h.

template<typename T >
int UT_PlaneT< T >::intersectRay ( const UT_Vector3T< T > &  p,
const UT_Vector3T< T > &  v,
UT_Vector3T< T > &  hit 
) const

Definition at line 134 of file UT_PlaneImpl.h.

template<typename T >
int UT_PlaneT< T >::intersectRay ( const UT_Vector3T< T > &  offset_pt,
const UT_Vector3T< T > &  p,
const UT_Vector3T< T > &  v,
UT_Vector3T< T > &  hit 
) const

Definition at line 183 of file UT_PlaneImpl.h.

template<typename T >
void UT_PlaneT< T >::negate ( )

Definition at line 209 of file UT_PlaneImpl.h.

template<typename T >
const UT_Vector3T<T>& UT_PlaneT< T >::normal ( ) const
inline

Definition at line 108 of file UT_Plane.h.

template<typename T >
const UT_Vector3T<T>& UT_PlaneT< T >::point ( ) const
inline

Definition at line 104 of file UT_Plane.h.

template<typename T >
UT_Vector3T< T > UT_PlaneT< T >::project ( const UT_Vector3T< T > &  p) const

Definition at line 224 of file UT_PlaneImpl.h.

template<typename T >
T UT_PlaneT< T >::project ( const UT_Vector3T< T > &  p,
UT_Vector3T< T > &  projection 
) const

Definition at line 232 of file UT_PlaneImpl.h.

template<typename T >
void UT_PlaneT< T >::rotate ( UT_Vector3T< T > &  axis,
T  theta,
bool  norm = true 
)

Definition at line 241 of file UT_PlaneImpl.h.

template<typename T >
void UT_PlaneT< T >::rotate ( UT_Axis3::axis  a,
T  theta 
)

Definition at line 253 of file UT_PlaneImpl.h.

template<typename T >
void UT_PlaneT< T >::rotateNormal ( const UT_Matrix3T< T > &  rot_matx,
bool  norm = true 
)
inline

Definition at line 153 of file UT_Plane.h.

template<typename T >
void UT_PlaneT< T >::rotatePoint ( const UT_Matrix3T< T > &  rot_matx)
inline

Definition at line 149 of file UT_Plane.h.

template<typename T >
void UT_PlaneT< T >::setNormal ( const UT_Vector3T< T > &  n)
inline

Definition at line 110 of file UT_Plane.h.

template<typename T >
void UT_PlaneT< T >::setNormal ( UT_PlaneType  plane_type)
inline

Definition at line 120 of file UT_Plane.h.

template<typename T >
void UT_PlaneT< T >::setPoint ( const UT_Vector3T< T > &  p)
inline

Definition at line 106 of file UT_Plane.h.

template<typename T >
void UT_PlaneT< T >::setVectorAsNormal ( const UT_Vector3T< T > &  n)
inline

Definition at line 115 of file UT_Plane.h.

template<typename T >
void UT_PlaneT< T >::shiftOffset ( T  by_factor)
inline

Definition at line 169 of file UT_Plane.h.

template<typename T >
int UT_PlaneT< T >::side ( const UT_Vector3T< T > &  p) const

Definition at line 314 of file UT_PlaneImpl.h.

template<typename T >
void UT_PlaneT< T >::symmetry ( UT_Vector3T< T > &  p) const

Definition at line 216 of file UT_PlaneImpl.h.

template<typename T >
void UT_PlaneT< T >::transform ( const UT_Matrix4F matx)

Definition at line 265 of file UT_PlaneImpl.h.

template<typename T >
void UT_PlaneT< T >::transform ( UT_Matrix4F matx)

Definition at line 276 of file UT_PlaneImpl.h.

template<typename T >
void UT_PlaneT< T >::transform ( const UT_Matrix4D matx)

Definition at line 286 of file UT_PlaneImpl.h.

template<typename T >
void UT_PlaneT< T >::transform ( UT_Matrix4D matx)

Definition at line 297 of file UT_PlaneImpl.h.

template<typename T >
void UT_PlaneT< T >::translate ( const UT_Vector3T< T > &  offset)
inline

Definition at line 174 of file UT_Plane.h.


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