intersects

open fun intersects(annulus: Annulus): Boolean

Returns true if this ray intersects the given annulus.


open fun intersects(circle: Circle): Boolean

Returns true if this ray intersects the given circle.


open fun intersects(lineSegment: LineSegment): Boolean

Returns true if this ray intersects the given lineSegment.


open fun intersects(ray: Ray): Boolean

Returns true if this ray intersects the given ray.


open fun intersects(rectangle: Rectangle): Boolean
open fun intersects(rectangle: RoundedRectangle): Boolean

Returns true if this ray intersects the given rectangle.


open fun intersects(polygon: RegularPolygon): Boolean

Returns true if this ray intersects the given polygon.


open fun intersects(triangle: RegularTriangle): Boolean
open fun intersects(triangle: Triangle): Boolean

Returns true if this ray intersects the given triangle.


open fun intersects(square: Square): Boolean

Returns true if this ray intersects the given square.