Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rectangle type #4

Open
erelsgl opened this issue Dec 27, 2013 · 2 comments
Open

Rectangle type #4

erelsgl opened this issue Dec 27, 2013 · 2 comments

Comments

@erelsgl
Copy link

erelsgl commented Dec 27, 2013

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.

@otm
Copy link
Owner

otm commented Dec 29, 2013

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//issues/4
.

@otm
Copy link
Owner

otm commented Jan 18, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants