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

RFE: API change IPolyline should extends IConstraint #20

Open
jandam opened this issue Oct 23, 2017 · 2 comments
Open

RFE: API change IPolyline should extends IConstraint #20

jandam opened this issue Oct 23, 2017 · 2 comments

Comments

@jandam
Copy link

jandam commented Oct 23, 2017

IPolyline should extends IConstraint.
Another possiblity is to completely remove IPolyline because all methods can be member of IConstraint.

@gwlucastrig
Copy link
Owner

I've run into a few annoying dependency issues with those two interfaces. Maybe your idea of just getting rid of IPolyline is a good idea.

@gwlucastrig
Copy link
Owner

gwlucastrig commented Oct 23, 2017

I'm not sure what I can do with this.

IConstraint extends IPolyline because the polyline concept is less specific than the constraint concept. All constraints are polylines. But a polyline can be something other than a constraint.

That being said, I don't think that the code I have that operates on polylines is sufficiently useful that anyone would want to apply it to other applications. So I am considering just getting rid of the IPolyline interface.

I am curious about why you want to see IPolyline removed. Is it interfering with something you want to do?

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