#include <UT_HilbertSequence.h>
Definition at line 17 of file UT_HilbertSequence.h.
UT_HilbertCurve2D::UT_HilbertCurve2D |
( |
int |
level = 0 | ) |
|
bool UT_HilbertCurve2D::advancePointAlongCurve |
( |
int & |
xp, |
|
|
int & |
yp |
|
) |
| const |
Advance the from the point at the given coordinates, to the next point along the curve and return those new coordinates. If the point is already at the end of the curve, this call returns false and the coordinates are left untouched.
int UT_HilbertCurve2D::getDistanceFromPoint |
( |
int |
xp, |
|
|
int |
yp |
|
) |
| const |
Retrieve the distance along the curve given coordinates of a point on the curve. If the coordinates are outside of the curve's bounding square, as defined by its level, the distance returned is -1.
int UT_HilbertCurve2D::getLength |
( |
| ) |
const |
|
inline |
int UT_HilbertCurve2D::getLevel |
( |
| ) |
const |
|
inline |
bool UT_HilbertCurve2D::getPointFromDistance |
( |
int |
d, |
|
|
int & |
xp, |
|
|
int & |
yp |
|
) |
| const |
int UT_HilbertCurve2D::getSize |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: