Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Attributes | List of all members
wmtk::components::tracking::volume::Location Struct Reference

#include <volume_geometry.hpp>

Public Attributes

size_t tet
 
Eigen::Vector4d b
 
double min_coordinate
 

Detailed Description

The tet of T (positions X) holding p, among those accept takes: one that holds it exactly; else, of those p is outside of by a rounding (its distance to each face plane it is outside of below 1e-9 of the tet's size), the one whose smallest exact barycentric coordinate is largest; nothing if p is farther out of them all. With p's coordinates in it, clamped to it, and that smallest coordinate before clamping (0 if held exactly); nothing for a point that is not a number. Coordinates that doubles get wrong – outside the tet for a point in it, as in a nearly flat tet – are computed exactly.


The documentation for this struct was generated from the following file: