ug4
resolve_intersections.h File Reference

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

template<class TAAPosVRT >
int ug::FindClosestVertexInArray (const std::vector< Vertex * > &array, const Vertex *p, TAAPosVRT &aaPos, number snapThreshold)
 returns the index of the closest vertex to p if closer than snapThreshold. More...
 
template<class TAAPosVRT , class vector_t >
int ug::FindClosestVertexInPointSet (const vector_t *pointSet, const Vertex *p, TAAPosVRT &aaPos, number snapThreshold, size_t numPoints)
 returns the index of the closest vertex to p if closer than snapThreshold More...
 
template<class TAAPosVRT >
int ug::FindCloseVertexInArray (const std::vector< Vertex * > &array, const typename TAAPosVRT::ValueType &p, TAAPosVRT &aaPos, number snapThreshold)
 returns the index of the first vertex closer to p than snapThreshold. More...
 
template<class TObjectCollection , class TAAPosVRT >
bool ug::IntersectCloseEdges (Grid &grid, TObjectCollection &elems, TAAPosVRT &aaPos, number snapThreshold)
 
template<class TAAPosVRT >
bool ug::ProjectVerticesToCloseEdges (Grid &grid, GridObjectCollection elems, TAAPosVRT &aaPos, number snapThreshold)
 
template<class TObjectCollection , class TAPos >
bool ug::ProjectVerticesToCloseFaces (Grid &grid, TObjectCollection &elems, TAPos &aPos, number snapThreshold)
 
template<class TAAPosVRT >
Vertex * ug::ResolveEdgeEdgeIntersection (Grid &grid, Edge *e1, Edge *e2, TAAPosVRT &aaPos, number snapThreshold)
 
template<class TAAPosVRT >
bool ug::ResolveEdgeFaceIntersection (Grid &grid, Edge *e, Face *f, TAAPosVRT &aaPos, number snapThreshold)
 
template<class TAPos >
bool ug::ResolveTriangleIntersections (Grid &grid, TriangleIterator trisBegin, TriangleIterator trisEnd, number snapThreshold, TAPos &aPos)
 
template<class TAAPosVRT >
Vertex * ug::ResolveVertexEdgeIntersection (Grid &grid, Vertex *v, Edge *e, TAAPosVRT &aaPos, number snapThreshold)
 
template<class TAAPosVRT >
bool ug::ResolveVertexFaceIntersection (Grid &grid, Vertex *v, Face *f, TAAPosVRT &aaPos, number snapThreshold, std::vector< Face * > *pNewFacesOut)