Table of Contents

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

lineSegment LineSegment2D
point Vector2

Returns

float

SqrDistanceToPoint(Vector2, LineSegment2D)

public static float SqrDistanceToPoint(Vector2 point, LineSegment2D segment)

Parameters

point Vector2
segment LineSegment2D

Returns

float