clipSegmentToLLeftOfLineXY MethodStatic

Find the portion of a line within a half-plane clip.

  • The half-plane clip is to the left of the line from clipA to clipB.
  • The original clipped segment has fractions 0 and 1 at respective segment points.
  • Caller initializes the interval
  • This method reduces the interval size.
  • See clipSegmentToCCWTriangleXY for typical use.

clipSegmentToLLeftOfLineXY(linePointA: XAndY, linePointB: XAndY, segmentPoint0: XAndY, segmentPoint1: XAndY, interval: Range1d, absoluteTolerance: number = 1.0e-14): void

Parameter Type Description
linePointA XAndY First point of clip line
linePointB XAndY Second point of clip line
segmentPoint0 XAndY First point of clipped segment
segmentPoint1 XAndY Second point of clipped segment
interval Range1d Live interval.
*
absoluteTolerance number absolute tolerance for both cross product values to indicate "on" the line

Returns - void

Defined in

Last Updated: 04 June, 2026