svg.math.js icon indicating copy to clipboard operation
svg.math.js copied to clipboard

Rectangle type

Open erelsgl opened this issue 12 years ago • 2 comments

Hi,

I am doing some research on rectangles, and would like to create a Rectangle type. Would you like to add this type to svg.math.js? It will probably have methods such as: containsPoint, intersectsRect, etc.

erelsgl avatar Dec 27 '13 06:12 erelsgl

That is OK. I have been thinking about adding some more shapes to it, and having generic intersect and contains functions. Write something up an send a pull request. It does not have to be finished. On Dec 27, 2013 7:35 AM, "Erel Segal-Halevi" [email protected] wrote:

Hi,

I am doing some research on rectangles, and would like to create a Rectangle type. Would you like to add this type to svg.math.js? It will probably have methods such as: containsPoint, intersectsRect, etc.

— Reply to this email directly or view it on GitHubhttps://github.com/otm/svg.math.js/issues/4 .

otm avatar Dec 29 '13 18:12 otm

Sorry for a late response, I have been traveling for a while.

There are some minor details I want to fix in this pull request. I would like to make the contains and intersects functions more general.

otm avatar Jan 18 '14 15:01 otm