distanceLineSegmentSquared static method
This static function returns the square of the distance from the point P to the finite line segment from point A to point B.
Implementation
static _i2.num distanceLineSegmentSquared(
_i2.num px,
_i2.num py,
_i2.num ax,
_i2.num ay,
_i2.num bx,
_i2.num by,
) =>
_i4.callMethod(
_declaredPoint,
'distanceLineSegmentSquared',
[
px,
py,
ax,
ay,
bx,
by,
],
);