Class LineSegment2Dextention
- Namespace
- AwesomeTechnologies.Utility
- Assembly
- Assembly-CSharp.dll
public static class LineSegment2Dextention
- Inheritance
-
LineSegment2Dextention
- Inherited Members
Methods
DistanceToPoint(LineSegment2D, Vector2)
public static float DistanceToPoint(this LineSegment2D lineSegment, Vector2 point)
Parameters
lineSegmentLineSegment2DpointVector2
Returns
SqrDistanceToPoint(Vector2, LineSegment2D)
public static float SqrDistanceToPoint(Vector2 point, LineSegment2D segment)
Parameters
pointVector2segmentLineSegment2D