/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Plane.h
This method follows FindClosestPointOnTriangle but does less duplicate work and can handle degenerate triangles. It also returns the barycentric coordinates for the returned point.
namespace Chaos { template<typename T, int d> [TVector](API\Runtime\Chaos\Chaos\TVector)< T, d > Chaos::FindClosestPointAndBaryOnTriangle ( const [TVector](API\Runtime\Chaos\Chaos\TVector)< T, d > & P0, const [TVector](API\Runtime\Chaos\Chaos\TVector)< T, d > & P1, const [TVector](API\Runtime\Chaos\Chaos\TVector)< T, d > & P2, const [TVector](API\Runtime\Chaos\Chaos\TVector)< T, d > & P, [TVector](API\Runtime\Chaos\Chaos\TVector)< T, 3 > & Bary ) }