ug4
ray_element_intersection_util.h File Reference

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

bool ug::RayElementIntersection (number &sminOut, number &smaxOut, const vector2 &from, const vector2 &dir, Edge *e, Grid &g, Grid::VertexAttachmentAccessor< AVector2 > aaPos, number sml=SMALL)
 2d ray-element intersection for edges More...
 
bool ug::RayElementIntersection (number &sminOut, number &smaxOut, const vector2 &from, const vector2 &dir, Face *f, Grid &g, Grid::VertexAttachmentAccessor< AVector2 > aaPos, number sml=SMALL)
 2d ray-element intersection for faces More...
 
bool ug::RayElementIntersection (number &sminOut, number &smaxOut, const vector3 &from, const vector3 &dir, Edge *e, Grid &g, Grid::VertexAttachmentAccessor< AVector3 > aaPos, number sml=SMALL)
 3d ray-element intersection for edges More...
 
bool ug::RayElementIntersection (number &sminOut, number &smaxOut, const vector3 &from, const vector3 &dir, Face *f, Grid &g, Grid::VertexAttachmentAccessor< AVector3 > aaPos, number sml=SMALL)
 3d ray-element intersection for faces More...
 
bool ug::RayElementIntersection (number &sminOut, number &smaxOut, const vector3 &from, const vector3 &dir, Volume *v, Grid &g, Grid::VertexAttachmentAccessor< AVector3 > aaPos, number sml=SMALL)
 3d ray-element intersection for volumes More...