Function gamer::getTangent(const SurfaceMesh&, SurfaceMesh::SimplexID<3>)¶
Defined in File SurfaceMesh.h
Function Documentation¶
-
tensor<double, 3, 2> gamer::getTangent(const SurfaceMesh &mesh, SurfaceMesh::SimplexID<3> faceID)¶
Compute the tangent of a face.
This function gets the tangent by computing the sum of oriented wedge products.
- Parameters
mesh – [in] SurfaceMesh of interest.
faceID – [in] SimplexID of the face to get the tangent of.
- Returns
Returns a 2-tensor representing the tangent plane.