UT_SampleSimpleTri2D Class Reference

#include <UT_PolySample.h>

List of all members.

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)

Public Attributes

float u0
float u1
float v0
float v1
float Nxi


Detailed Description

Definition at line 36 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 42 of file UT_PolySample.h.

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

Definition at line 56 of file UT_PolySample.h.

int UT_SampleSimpleTri2D::sample ( fpreal  sx,
fpreal  sy,
fpreal  x0,
fpreal  y0,
float &  u,
float &  v 
) [inline]

Definition at line 63 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 48 of file UT_PolySample.h.


Member Data Documentation

Definition at line 40 of file UT_PolySample.h.

Definition at line 38 of file UT_PolySample.h.

Definition at line 38 of file UT_PolySample.h.

Definition at line 39 of file UT_PolySample.h.

Definition at line 39 of file UT_PolySample.h.


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

Generated on Fri May 25 00:10:52 2012 for HDK by  doxygen 1.5.9