DistanceOfPointFromSegment static method

num DistanceOfPointFromSegment(
  1. Vector2 p,
  2. Vector2 segA,
  3. Vector2 segB
)

Implementation

external static num DistanceOfPointFromSegment(Vector2 p, Vector2 segA, Vector2 segB);