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

#include <UT_PolySample.h>

Public Member Functions

void init (float x0[2], float x1[2], float x2[2])
 
void setVertices (fpreal x0, fpreal y0, fpreal x1, fpreal y1, fpreal x2, fpreal y2)
 
void initD0 (float x0[2], float x2[2], fpreal dx, fpreal dy)
 
int sample (fpreal sx, fpreal sy, fpreal x0, fpreal y0, float &u, float &v, fpreal tol=0.0)
 

Public Attributes

float u0
 
float u1
 
float v0
 
float v1
 
float Nxi
 

Detailed Description

Definition at line 28 of file UT_PolySample.h.

Member Function Documentation

void UT_SampleSimpleTri2D::init ( float  x0[2],
float  x1[2],
float  x2[2] 
)
inline

Definition at line 34 of file UT_PolySample.h.

void UT_SampleSimpleTri2D::initD0 ( float  x0[2],
float  x2[2],
fpreal  dx,
fpreal  dy 
)
inline

Definition at line 48 of file UT_PolySample.h.

int UT_SampleSimpleTri2D::sample ( fpreal  sx,
fpreal  sy,
fpreal  x0,
fpreal  y0,
float u,
float v,
fpreal  tol = 0.0 
)
inline

Definition at line 55 of file UT_PolySample.h.

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

Definition at line 40 of file UT_PolySample.h.

Member Data Documentation

float UT_SampleSimpleTri2D::Nxi

Definition at line 32 of file UT_PolySample.h.

float UT_SampleSimpleTri2D::u0

Definition at line 30 of file UT_PolySample.h.

float UT_SampleSimpleTri2D::u1

Definition at line 30 of file UT_PolySample.h.

float UT_SampleSimpleTri2D::v0

Definition at line 31 of file UT_PolySample.h.

float UT_SampleSimpleTri2D::v1

Definition at line 31 of file UT_PolySample.h.


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