clipUnboundedSegment Method

Find the parts of the (unbounded) line segment (if any) that is within the convex clip volume.

clipUnboundedSegment(pointA: Point3d, pointB: Point3d, announce?: (fraction0: number, fraction1: number) => void): boolean

Parameter Type Description
pointA Point3d segment start (fraction 0)
pointB Point3d segment end (fraction 1)
announce (fraction0: number, fraction1: number) => void function to be called to announce a fraction interval that is within the convex clip volume.

Returns - boolean

true if a segment was announced, false if entirely outside.

Defined in

Last Updated: 13 June, 2024