getBoundedSegmentSimpleIntersection Method

Compute intersection of (unbounded) segment with the plane.

  • If the ends are on the same side of the plane, return undefined.
  • If the intersection is an endpoint or interior to the segment return the fraction.
  • If both ends are on, return undefined.

getBoundedSegmentSimpleIntersection(pointA: Point3d, pointB: Point3d): undefined | number

Parameter Type Description
pointA Point3d  
pointB Point3d  

Returns - undefined | number

Defined in

Last Updated: 14 November, 2024