HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SampleTri2D Class Reference

#include <UT_PolySample.h>

Public Member Functions

int isBackface () const
 
void setVertices (fpreal x0, fpreal y0, fpreal x1, fpreal y1, fpreal x2, fpreal y2)
 
int sample (fpreal x, fpreal y, float &u, float &v, fpreal tol=0.0)
 

Detailed Description

Definition at line 71 of file UT_PolySample.h.

Member Function Documentation

int UT_SampleTri2D::isBackface ( ) const
inline

Definition at line 73 of file UT_PolySample.h.

int UT_SampleTri2D::sample ( fpreal  x,
fpreal  y,
float u,
float v,
fpreal  tol = 0.0 
)
inline

Definition at line 85 of file UT_PolySample.h.

void UT_SampleTri2D::setVertices ( fpreal  x0,
fpreal  y0,
fpreal  x1,
fpreal  y1,
fpreal  x2,
fpreal  y2 
)
inline

Definition at line 74 of file UT_PolySample.h.


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