Returns true if point is within or on boundary of rect.
rect
import { Rects } from "https://unpkg.com/ixfx/dist/geometry.js";Rects.intersectsPoint(rect, { x: 100, y: 100});Rects.intersectsPoint(rect, 100, 100); Copy
import { Rects } from "https://unpkg.com/ixfx/dist/geometry.js";Rects.intersectsPoint(rect, { x: 100, y: 100});Rects.intersectsPoint(rect, 100, 100);
Returns true if point is within, or on boundary of rect.
point
import { Rects } from "https://unpkg.com/ixfx/dist/geometry.js";Rects.intersectsPoint(rect, { x: 100, y: 100}); Copy
import { Rects } from "https://unpkg.com/ixfx/dist/geometry.js";Rects.intersectsPoint(rect, { x: 100, y: 100});
Returns true if x,y coordinate is within, or on boundary of rect.
import { Rects } from "https://unpkg.com/ixfx/dist/geometry.js";Rects.intersectsPoint(rect, 100, 100); Copy
import { Rects } from "https://unpkg.com/ixfx/dist/geometry.js";Rects.intersectsPoint(rect, 100, 100);
Returns true if point is within or on boundary of
rect
.Param: rect
Param: a
Param: b
Returns