Re: [fxtf-drafts] [geometry-1] Proposal: Geometry Utility Methods (#602)

Bringing over some ideas i mentioned on bluesky:

- Maybe add a circle intersection method (pass in a point and a radius to see if they intersect) (side note: if this is added would it be worth making an interface for `DOMCircle`/`DOMEllipse`
- Add a way to pass `MouseEvents` straight in to the `containsPoint` function to avoid developer footgunning by using the wrong x/y coordinates (and making code clearer)
- Extending these methods to exist on `DOMPoint` (`intersects` may need tweaked/removed here) and `DOMQuad` 
- Replace `contains` & `containsPoint` with a single generic `contains` method

-- 
GitHub Notification of comment by Afterlifepro
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/602#issuecomment-3038727856 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 5 July 2025 10:36:14 UTC