Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/TTetrahedron
Description
Note: this method will fail to project to the actual surface if Location is outside and the closest point is on an edge with an acute angle such that Location is outside both connected faces. FindClosestPointAndBary will work in this case.
| Name | ProjectToSurface |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Tetrahedron.h |
| Include Path | #include "Chaos/Tetrahedron.h" |
TVec3< T > ProjectToSurface
(
const TArray < TTriangle < T > > & Tris,
const TVec3< T > & Location
) const