#include <RefineVertex.h>
Public Types | |
| typedef Geometry::Point< ambient > | Point |
| typedef ::GenericMesh< ambient > | Mesh |
| typedef ::ConcentricShells< RefineVertex, Point > | ConcentricShells |
| typedef MeshTypes< ambient >::Ball | Ball |
| typedef hudson::FastHashSet< RefineVertex *, hudson::HashPointer< RefineVertex > > | VertexSet |
| typedef hudson::OrderedHashSet< RefineVertex *, hudson::HashPointer< RefineVertex > > | VertexUniqueList |
| typedef std::vector< const Mesh * >::const_iterator | upper_iterator |
Public Member Functions | |
| RefineVertex (const Point &p, unsigned cd=-1) | |
| void | setContainingDimension (unsigned cd) |
| void | replaceHandle (Ball *handle) |
| Ball * | getHandle () const |
| void | addUpperMesh (const Mesh *m) |
| void | setID (unsigned id) |
| upper_iterator | begin_uppers (unsigned d) const |
| upper_iterator | end_uppers (unsigned d) const |
| const std::vector< const Mesh * > & | get_uppers (unsigned d) const |
| bool | hasUpperMesh (const Mesh *m) const |
| unsigned | getID () const |
| unsigned | getCD () const |
| double | dist2 (const RefineVertex *other) const |
| bool | isCrowded (const Mesh *m) const |
| bool | isCrowded () const |
| RefineVertex * | getFarVertex (const Mesh *m) const |
| RefineVertex * | getFarVertex () const |
| void | reassignTo (const Mesh *m, RefineVertex *other) |
| void | addUninserted (const Mesh *m, RefineVertex *uninserted) |
| pair< RefineVertex *, double > | findClosest (const Mesh *m, const Point &q, double r2) const |
| const Point & | toPoint () const |
| double | x (size_t i) const |
| const double * | x () const |
| std::string | toString () const |
Classes | |
| struct | IsCloser |
| struct | Printer |
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
Get the meshes that contain this vertex. |
|
|||||
|
|
|
|||||
|
|
|
||||||||||||||||
|
Constructor. The Vertex signature requires having a constructor taking only a point; for those calls, we set the containing dimension to -1 to be fixed later with setContainingDimension(). |
|
||||||||||||||||
|
Add one new vertex to our list. |
|
||||||||||
|
Add a new mesh to the list of meshes that care about this vertex. We keep the list sorted. |
|
||||||||||
|
|
|
||||||||||
|
Distance to a vertex. |
|
||||||||||
|
|
|
||||||||||||||||||||
|
Get the closest uninserted vertex to a given point (NULL if there is no point closer than the given range, for shortcut execution). |
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
Return an uninserted point, about as far as possible, that crowds this vertex. |
|
|||||||||
|
Get the handle associated with the top-dimensional mesh. |
|
|||||||||
|
Get the unique ID number for this vertex. |
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
Is this vertex crowded? |
|
||||||||||||||||
|
Reassign uninserted vertices from this vertex to the new vertex. |
|
||||||||||
|
Change the handle into the simplices of the top-dimensional mesh. |
|
||||||||||
|
Set the containing dimension on a vertex that had to be constructed with the Point constructor. |
|
||||||||||
|
The creator of the vertex doesn't know what ID it will have (if any); only the SVR main loop does. Thus we need this accessor. IDs must be positive. Note that the ID can only be set once, and never reset. |
|
|||||||||
|
Get the position of this vertex. |
|
|||||||||
|
For debugging: Get a (ugly) string for the point. |
|
|||||||||
|
Get a C array pointing to the point's data. |
|
||||||||||
|
Read the ith coordinate of the point. |
1.4.6