Skip to content

Commit e55a15c

Browse files
authored
function documented
1 parent 4180e6f commit e55a15c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: TriangleMeshDistance/include/tmd/TriangleMeshDistance.h

+4
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ namespace tmd
6969

7070
// Point-Triangle distance declarations
7171
enum class NearestEntity { V0, V1, V2, E01, E12, E02, F };
72+
73+
/**
74+
* Computes the squared distance, the nearest entity (vertex, edge or face) and the nearest point from a point to a triangle.
75+
*/
7276
static double point_triangle_sq_unsigned(NearestEntity& nearest_entity, Vec3d& nearest_point, const Vec3d& point, const Vec3d& v0, const Vec3d& v1, const Vec3d& v2);
7377
// -----------------------------------
7478

0 commit comments

Comments
 (0)