/Engine/Source/Runtime/GeometryCore/Public/Implicit/SweepingMeshSDF.h
Find distance x0 is from segment x1-x2
static double PointSegmentDistance ( const FVector3d & x0, const FVector3d & x1, const FVector3d & x2 )