Method PointOnOppositeSideOfPolygon
PointOnOppositeSideOfPolygon(List<Vector3>, Vector3)
Finds the point on a polygon perimeter farthest from a specified point in space.
Declaration
public static Vector3 PointOnOppositeSideOfPolygon(List<Vector3> vertices, Vector3 point)
Parameters
Type | Name | Description |
---|---|---|
List<Vector3> | vertices | Vertices defining the outline of a polygon. |
Vector3 | point | The position in world space to find the furthest intersection point. |
Returns
Type | Description |
---|---|
Vector3 | A world space position of a point on the polygon that is as far from the input point as possible.
Returns zero if |