Module spherical_cow::util
[−]
[src]
Useful helper functions such as a fast ray casting method and volume finder for use with arbitrary shaped triangular meshes.
Functions
ray_intersection_count |
Find the baycentric coordinates (u,v) and distance t given three triangle veriticies |
trimesh_volume |
Identify the volume of a trimesh which contains the cartesian origin (0, 0, 0). Consider the tetrahedron created by any triangle and the origin OABC and sum thier volumes. |