#include <SimplexData.h>
Public Types | |
| typedef BallSet::const_iterator | lower_it |
| typedef BallSet::const_iterator | upper_it |
| typedef list< Vertex * >::const_iterator | vertex_it |
Public Member Functions | |
| SimplexData () | |
| ~SimplexData () | |
Simplex<->Ball mapping. | |
Simplices and balls are in one-to-one correspondence during SVR, except temporarily -- the simplex is created first. The following functions maintain that correspondence. | |
| Ball * | toBall () const |
| void | setBall (Ball *b) |
| bool | isCrowded () const |
| Vertex * | findWarpVertex (const Point &p, double &r2) const |
| lower_it | begin_lowers () const |
| lower_it | end_lowers () const |
| upper_it | begin_uppers () const |
| upper_it | end_uppers () const |
| void | removeLower (Ball *b) |
| void | blindlyAddLower (Ball *b) |
| void | removeUpper (Ball *b) |
| void | blindlyAddUpper (Ball *b) |
| void | unlink () |
| void | gatherLowers (BallSet &output) const |
| void | gatherUppers (BallSet &output) const |
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Iterate over the list of lower-dimensional balls. |
|
|||||||||
|
Iterate over the list of upper-dimensional balls. |
|
||||||||||
|
Add a lower-dimensional ball associated with this simplex. The caller is assumed to know that the simplex and ball should be associated. |
|
||||||||||
|
Add an upper-dimensional ball associated with this simplex. The caller is assumed to know that the simplex and ball should be associated. |
|
|||||||||
|
Iterate over the list of lower-dimensional balls. |
|
|||||||||
|
Iterate over the list of upper-dimensional balls. |
|
||||||||||||||||
|
Return the uninserted point nearest to p, at a maximum distance of r2. Outputs the point and updates r2 (returns NULL and leaves r2 unchanged if no nearer point is used). |
|
||||||||||
|
Gather the set of lower-dimensional balls and output them into the set. |
|
||||||||||
|
Gather the set of higher-dimensional balls and output them into the set. |
|
|||||||||
|
Return whether the simplex is crowded. This occurs exactly when its list of uninserted vertices is non-empty. |
|
||||||||||
|
Remove a lower-dimensional ball associated with this simplex. |
|
||||||||||
|
Remove an upper-dimensional ball associated with this simplex. |
|
||||||||||
|
Set the ball to be associated with the simplex. It is an error to call this function twice. Really we should have this be private, befriending PBall<Mesh>. |
|
|||||||||
|
Return the ball associated with the simplex. Returns NULL if no ball has yet been attached to the simplex. |
|
|||||||||
|
|
1.4.6