HDK
|
Class to keep track for a 2D parametric interval. More...
#include <GT_Parametric.h>
Public Member Functions | |
GT_Parametric (fpreal u0=0, fpreal u1=1, fpreal v0=0, fpreal v1=1) | |
GT_Parametric (const GT_Parametric &src) | |
~GT_Parametric () | |
GT_Parametric & | operator= (const GT_Parametric &src) |
GT_Parametric | splitU () |
GT_Parametric | splitV () |
bool | containsU (fpreal u) const |
bool | containsV (fpreal v) const |
fpreal | closestU (fpreal u) const |
fpreal | closestV (fpreal v) const |
fpreal | getU0 () const |
fpreal | getU1 () const |
fpreal | getV0 () const |
fpreal | getV1 () const |
fpreal | getDU () const |
fpreal | getDV () const |
void | init (fpreal u0, fpreal u1, fpreal v0, fpreal v1) |
void | splitU (GT_Parametric &left, GT_Parametric &right) const |
void | splitV (GT_Parametric &bottom, GT_Parametric &top) const |
bool | save (UT_JSONWriter &w) const |
Save to JSON. More... | |
Class to keep track for a 2D parametric interval.
Definition at line 20 of file GT_Parametric.h.
Definition at line 22 of file GT_Parametric.h.
|
inline |
Definition at line 26 of file GT_Parametric.h.
|
inline |
Definition at line 33 of file GT_Parametric.h.
Definition at line 63 of file GT_Parametric.h.
Definition at line 65 of file GT_Parametric.h.
|
inline |
Definition at line 58 of file GT_Parametric.h.
|
inline |
Definition at line 60 of file GT_Parametric.h.
|
inline |
Definition at line 73 of file GT_Parametric.h.
|
inline |
Definition at line 74 of file GT_Parametric.h.
|
inline |
Definition at line 68 of file GT_Parametric.h.
|
inline |
Definition at line 69 of file GT_Parametric.h.
|
inline |
Definition at line 70 of file GT_Parametric.h.
|
inline |
Definition at line 71 of file GT_Parametric.h.
Definition at line 76 of file GT_Parametric.h.
|
inline |
Definition at line 35 of file GT_Parametric.h.
bool GT_Parametric::save | ( | UT_JSONWriter & | w | ) | const |
Save to JSON.
|
inline |
Split this parametric rectangle in U. This will become the left, the returned value will be the right.
Definition at line 43 of file GT_Parametric.h.
void GT_Parametric::splitU | ( | GT_Parametric & | left, |
GT_Parametric & | right | ||
) | const |
|
inline |
Split this parametric rectangle in V. This will become the bottom, the returned value will be the top.
Definition at line 51 of file GT_Parametric.h.
void GT_Parametric::splitV | ( | GT_Parametric & | bottom, |
GT_Parametric & | top | ||
) | const |