Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TPolygon2 > API/Runtime/GeometryCore/TPolygon2/DistanceSquared
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Polygon2.h |
| Include | #include "Polygon2.h" |
T DistanceSquared
&40;
const TVector2< T > & QueryPoint
&41; const
Remarks
Calculate the squared distance from a point to the polygon squared distance to the polygon
Parameters
| Name | Description |
|---|---|
| QueryPoint | the query point |