HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_ImplicitTorus< PREC > Class Template Reference

#include <GEO_ImplicitBasicSurfaces.h>

Public Member Functions

 GEO_ImplicitTorus (VEXfloat< PREC > ra, VEXfloat< PREC > rb, bool invert=false)
 
VEXfloat< PREC > eval (const VEXvec3< PREC > p, VEXvec3< PREC > *grad, VEXfloat< PREC > *ra_grad, VEXfloat< PREC > *rb_grad) const
 
VEXfloat< PREC > operator() (const VEXvec3< PREC > p) const
 
VEXfloat< PREC > operator() (const VEXvec3< PREC > p, VEXvec3< PREC > &grad) const
 
VEXfloat< PREC > operator() (const VEXvec3< PREC > p, VEXvec3< PREC > &grad, VEXfloat< PREC > &ra_grad, VEXfloat< PREC > &rb_grad) const
 
UT_IntervalT< VEXfloat< PREC > > operator() (const UT_BoundingBoxT< VEXfloat< PREC >> &p) const
 
UT_IntervalT< VEXfloat< PREC > > operator() (const VEXvec3< PREC > &center, VEXfloat< PREC > radius) const
 

Public Attributes

VEXfloat< PREC > ra = 1
 
VEXfloat< PREC > rb = 0.25
 
bool invert = false
 

Detailed Description

template<VEX_Precision PREC>
class GEO_ImplicitTorus< PREC >

Definition at line 115 of file GEO_ImplicitBasicSurfaces.h.

Constructor & Destructor Documentation

template<VEX_Precision PREC>
GEO_ImplicitTorus< PREC >::GEO_ImplicitTorus ( VEXfloat< PREC >  ra,
VEXfloat< PREC >  rb,
bool  invert = false 
)
inline

Definition at line 122 of file GEO_ImplicitBasicSurfaces.h.

Member Function Documentation

template<VEX_Precision PREC>
VEXfloat<PREC> GEO_ImplicitTorus< PREC >::eval ( const VEXvec3< PREC >  p,
VEXvec3< PREC > *  grad,
VEXfloat< PREC > *  ra_grad,
VEXfloat< PREC > *  rb_grad 
) const
template<VEX_Precision PREC>
VEXfloat<PREC> GEO_ImplicitTorus< PREC >::operator() ( const VEXvec3< PREC >  p) const
template<VEX_Precision PREC>
VEXfloat<PREC> GEO_ImplicitTorus< PREC >::operator() ( const VEXvec3< PREC >  p,
VEXvec3< PREC > &  grad 
) const
template<VEX_Precision PREC>
VEXfloat<PREC> GEO_ImplicitTorus< PREC >::operator() ( const VEXvec3< PREC >  p,
VEXvec3< PREC > &  grad,
VEXfloat< PREC > &  ra_grad,
VEXfloat< PREC > &  rb_grad 
) const
template<VEX_Precision PREC>
UT_IntervalT<VEXfloat<PREC> > GEO_ImplicitTorus< PREC >::operator() ( const UT_BoundingBoxT< VEXfloat< PREC >> &  p) const
template<VEX_Precision PREC>
UT_IntervalT<VEXfloat<PREC> > GEO_ImplicitTorus< PREC >::operator() ( const VEXvec3< PREC > &  center,
VEXfloat< PREC >  radius 
) const

Member Data Documentation

template<VEX_Precision PREC>
bool GEO_ImplicitTorus< PREC >::invert = false

Definition at line 120 of file GEO_ImplicitBasicSurfaces.h.

template<VEX_Precision PREC>
VEXfloat<PREC> GEO_ImplicitTorus< PREC >::ra = 1

Definition at line 118 of file GEO_ImplicitBasicSurfaces.h.

template<VEX_Precision PREC>
VEXfloat<PREC> GEO_ImplicitTorus< PREC >::rb = 0.25

Definition at line 119 of file GEO_ImplicitBasicSurfaces.h.


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