|
Public Methods |
| _point2d_list (int m=16) |
| _point2d_list (const ARRAY< P > &p) |
int | contains (const TPLIST &list) const |
int | contains (const P &p) const |
bool | ray_intersect (const P &p, const V &d, P &hit, int loop=0) const |
P | ray_intersect (const P &p, const V &d, int k0, int k1) const |
Greal | dist_to_seg (const P &p, int k) const |
Greal | avg_dist_to_seg (const P &p, int k) const |
int | nearest_point (const P &p) const |
P | average () const |
void | closest (const P &p, P &, Greal &, int &) const |
Greal | closest (const P &p, P &, int &) const |
P | closest (const P &p) const |
void | update_length () |
Greal | partial_length (int i) const |
Greal | length () const |
Greal | segment_length (int i) const |
V | get_tangent (Greal s) const |
P | interpolate (Greal s, V *tan=0, int *segp=0, Greal *tp=0) const |
void | interpolate_length (Greal s, int &seg, Greal &t) const |
Greal | invert (const P &p) const |
Greal | invert (const P &p, int seg) const |
L * | clone_piece (int k1, int k2) const |
void | append (TPLIST *poly) |
void | prepend (TPLIST *poly) |
Protected Attributes |
ARRAY< Greal > | _partial_length |
Greal | _length |