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 23 of file GT_Parametric.h.
|
inline |
Definition at line 27 of file GT_Parametric.h.
|
inline |
Definition at line 34 of file GT_Parametric.h.
Definition at line 64 of file GT_Parametric.h.
Definition at line 66 of file GT_Parametric.h.
|
inline |
Definition at line 59 of file GT_Parametric.h.
|
inline |
Definition at line 61 of file GT_Parametric.h.
|
inline |
Definition at line 74 of file GT_Parametric.h.
|
inline |
Definition at line 75 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.
|
inline |
Definition at line 72 of file GT_Parametric.h.
Definition at line 77 of file GT_Parametric.h.
|
inline |
Definition at line 36 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 44 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 52 of file GT_Parametric.h.
void GT_Parametric::splitV | ( | GT_Parametric & | bottom, |
GT_Parametric & | top | ||
) | const |