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

Add support vector for VPolygon #13

Closed
mforets opened this issue Oct 30, 2017 · 2 comments
Closed

Add support vector for VPolygon #13

mforets opened this issue Oct 30, 2017 · 2 comments
Assignees
Labels
feature ➕ A new feature

Comments

@mforets
Copy link
Member

mforets commented Oct 30, 2017

given a set of 2d vertices, the support vector of a VPolygon <:LazySet can be computed by:

  • sorting vertices by polar angle (see function <=)
  • performing binary search for the given direction

a convex hull preprocessing maybe needed, in general.

in a similar manner to HPolygonOpt, there can be a VPolygonOpt for warm-starting.

@mforets mforets added the feature ➕ A new feature label Nov 7, 2017
@mforets mforets self-assigned this Nov 13, 2017
@mforets
Copy link
Member Author

mforets commented Nov 20, 2017

a convex hull preprocessing maybe needed, in general.

we perform the convex hull on the construction of each VPolygon, by default.

we plan to do a straightfoward implementation first and leave the binary search approach for later (see this geomalgorithms entry).

mforets pushed a commit that referenced this issue Nov 20, 2017
#13 - Implement support vector for VPolygon
@mforets
Copy link
Member Author

mforets commented Nov 21, 2017

done in PR #41

@mforets mforets closed this as completed Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ➕ A new feature
Projects
None yet
Development

No branches or pull requests

1 participant