Home
Manual
Reference
Scripting
Scripting Reference
HandleUtility
.DistancePointToLine
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
HandleUtility
All Members
Class Variables
acceleration
niceMouseDelta
niceMouseDeltaZoom
Class Functions
AddControl
AddDefaultControl
CalcLineTranslation
ClosestPointToArc
ClosestPointToDisc
ClosestPointToPolyLine
DistancePointBezier
DistancePointLine
DistancePointToLine
DistancePointToLineSegment
DistanceToArc
DistanceToCircle
DistanceToDisc
DistanceToLine
DistanceToPolyLine
DistanceToRectangle
GetHandleSize
GUIPointToWorldRay
PickGameObject
PickRectObjects
PointOnLineParameter
PopCamera
ProjectPointLine
PushCamera
RaySnap
Repaint
WorldPointToSizedRect
WorldToGUIPoint
static
function
DistancePointToLine (p :
Vector2
, a :
Vector2
, b :
Vector2
) :
float
Description
Distance from a point
p
in 2d to a line defined by two points
a
and
b