onSegmentPoints function

bool onSegmentPoints(
  1. PointD source,
  2. PointD point,
  3. PointD target
)

Implementation

bool onSegmentPoints(PointD source, PointD point, PointD target) =>
    Line(source, target).onSegment(point);