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

Implementing Wrapping Algorithm(Jarvis March) #493

Open
svenkat19 opened this issue Mar 3, 2022 · 4 comments
Open

Implementing Wrapping Algorithm(Jarvis March) #493

svenkat19 opened this issue Mar 3, 2022 · 4 comments
Labels
algorithms miscellaneous question Further information is requested

Comments

@svenkat19
Copy link

svenkat19 commented Mar 3, 2022

Description of the problem

To find convex hull using Wrapping algorithm

(I will be able to do this as a part of GSSoC'22)

Example of the problem

References/Other comments

https://www.youtube.com/watch?v=ZnTiWcIznEQ&ab_channel=LeiosLabs

@svenkat19 svenkat19 changed the title Implementing Gift Wrapping Algorithm Implementing Wrapping Algorithm(Jarvis March) Mar 3, 2022
@czgdp1807
Copy link
Member

What are the applications of convex hull algorithm? What will the API for finding convex hull? Any thoughts?

@svenkat19
Copy link
Author

APPLICATIONS OF CONVEX HULL

Collision avoidance: If the convex hull of a car avoids collision with obstacles then so does the car. Since the computation of paths that avoid collision is much easier with a convex car, then it is often used to plan paths.
collision avoidance using convex hull

Smallest box: The smallest area rectangle that encloses a polygon has at least one side flush with the convex hull of the polygon, and so the hull is computed at the first step of minimum rectangle algorithms. Similarly, finding the smallest three-dimensional box surrounding an object depends on the 3D-convex hull.

Shape analysis: Shapes may be classified for the purposes of matching by their "convex deficiency trees", structures that depend for their computation on convex hulls.

@czgdp1807
Copy link
Member

czgdp1807 commented Mar 4, 2022

N.B. https://en.wikipedia.org/wiki/Convex_hull#Applications

Now coming on to API of convex hull algorithm, how would the call to the function (which will find convex hull) look like?

@czgdp1807 czgdp1807 added algorithms miscellaneous question Further information is requested labels Mar 4, 2022
@svenkat19
Copy link
Author

Get the vertices of the convex hull in a List during function call.
Returns:
vertices of the convex hull in a list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
algorithms miscellaneous question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants