alexbol99 / flatten-js

Javascript library for 2d geometry
MIT License
546 stars 56 forks source link

Intersect ray with ray or line #129

Closed edemaine closed 1 year ago

edemaine commented 1 year ago

Ray's intersect method supports Segment and Arc, but not Ray or Line. I'd hope this is pretty similar to intersectSegment2Segment.

Related, Point's on method doesn't support Ray arguments. Instead we need to use Ray's contains method.

alexbol99 commented 1 year ago

Hi, @edemaine Intersection ray with other shaped supported in v1.4.1