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