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

#include <GU_NSidedSubdivPatch.h>

Public Types

using Real = T
 
using Patch = GU_NSidedSubdivPatchT< T >
 

Public Member Functions

 GU_NSidedSubdivPatchT ()=default
 
 GU_NSidedSubdivPatchT (int sides, int divs=1)
 
SYS_FORCE_INLINE int divs () const
 
SYS_FORCE_INLINE int sides () const
 
SYS_FORCE_INLINE const
UT_Vector3T< T > & 
pos (int m, int i, int j) const
 
SYS_FORCE_INLINE UT_Vector3T< T > & pos (int m, int i, int j)
 
void subdivide (const Patch &src)
 
UT_Vector3T< Tinterpolate (int m, T u, T v)
 

Detailed Description

template<typename T>
class GU_NSidedSubdivPatchT< T >

Definition at line 28 of file GU_NSidedSubdivPatch.h.

Member Typedef Documentation

template<typename T >
using GU_NSidedSubdivPatchT< T >::Patch = GU_NSidedSubdivPatchT<T>

Definition at line 32 of file GU_NSidedSubdivPatch.h.

template<typename T >
using GU_NSidedSubdivPatchT< T >::Real = T

Definition at line 31 of file GU_NSidedSubdivPatch.h.

Constructor & Destructor Documentation

template<typename T >
GU_NSidedSubdivPatchT< T >::GU_NSidedSubdivPatchT ( )
default
template<typename T >
GU_NSidedSubdivPatchT< T >::GU_NSidedSubdivPatchT ( int  sides,
int  divs = 1 
)
inlineexplicit

Definition at line 36 of file GU_NSidedSubdivPatch.h.

Member Function Documentation

template<typename T >
SYS_FORCE_INLINE int GU_NSidedSubdivPatchT< T >::divs ( ) const
inline

Definition at line 41 of file GU_NSidedSubdivPatch.h.

template<typename T >
UT_Vector3T<T> GU_NSidedSubdivPatchT< T >::interpolate ( int  m,
T  u,
T  v 
)
template<typename T >
SYS_FORCE_INLINE const UT_Vector3T<T>& GU_NSidedSubdivPatchT< T >::pos ( int  m,
int  i,
int  j 
) const
inline

Definition at line 48 of file GU_NSidedSubdivPatch.h.

template<typename T >
SYS_FORCE_INLINE UT_Vector3T<T>& GU_NSidedSubdivPatchT< T >::pos ( int  m,
int  i,
int  j 
)
inline

Definition at line 52 of file GU_NSidedSubdivPatch.h.

template<typename T >
SYS_FORCE_INLINE int GU_NSidedSubdivPatchT< T >::sides ( ) const
inline

Definition at line 44 of file GU_NSidedSubdivPatch.h.

template<typename T >
void GU_NSidedSubdivPatchT< T >::subdivide ( const Patch src)

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