projectOntoLineSegmentPoint method

Point projectOntoLineSegmentPoint(
  1. Point p,
  2. Point q
)

Modify this point to be the closest point to this point that is on a finite line segment. @param {Point} p one end of the finite line segment @param {Point} q the other end of the finite line segment @return {Point} this modified Point @since 1.3

Implementation

_i3.Point projectOntoLineSegmentPoint(
  _i3.Point p,
  _i3.Point q,
) =>
    _i4.callMethod(
      this,
      'projectOntoLineSegmentPoint',
      [
        p,
        q,
      ],
    );