Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Polygon2.h |
Include |
#include "Polygon2.h" |
T DistanceSquared
(
const FVector2< T > & QueryPoint,
int & NearestSegIndexOut,
T & NearestSegParamOut
) const
Calculate the squared distance from a point to the polygon
squared distance to the polygon
Parameter |
Description |
---|---|
QueryPoint |
the query point |
NearestSegIndexOut |
The index of the nearest segment |
NearestSegParamOut |
the parameter value of the nearest point on the segment |