Assignments on Comp Geomety
Assignments on Comp Geomety
What is the application of convex hulls in data analysis and clustering? How
does it help in outlier detection and shape analysis? (5 Marks)
Explain the Ray-Casting Algorithm for determining whether a point lies inside
a polygon. Include the mathematical details, steps, and complexity analysis. (10
Marks)
Discuss the importance of point-in-polygon testing in computational geometry.
Highlight applications in real-world scenarios such as GIS, computer graphics, or
game development. (10 Marks)
Write a pseudocode for the Convex Polygon Test for checking if a point lies
inside a convex polygon. Explain each step in detail with mathematical
justification. (10 Marks)
What is the Sum of Angles Method for point-in-polygon testing? Briefly explain
its working principle. (5 Marks)
Briefly compare the Convex Polygon Test and the Ray-Casting Algorithm for
determining if a point lies inside a polygon. (10 Marks)
Explain the Graham Scan Algorithm for finding the convex hull of a set of
points. Provide a detailed explanation of each step along with the time
complexity. (10 Marks)
Compare the Gift Wrapping (Jarvis March) and Graham Scan algorithms for
convex hull computation. Discuss their differences in terms of approach, time
complexity, and practical scenarios. (10 Marks)
Why is the convex hull computation important in computational geometry?
Discuss at least three real-world applications of convex hull algorithms. (10
Marks)
Prove mathematically that the convex hull of a set of points is the smallest convex
polygon enclosing all the points. Explain how this property is used in the design
of convex hull algorithms. (10 Marks)
Explain the Naive Algorithm for convex hull computation. Describe its steps and
analyze its time complexity. (10 Marks)
Describe the Incremental Algorithm for computing the convex hull. Explain
how new points are added and the hull is updated. (10 Marks)
Compare the Naive Algorithm and the Graham Scan Algorithm for convex
hull computation. Discuss their differences in terms of approach, efficiency, and
practical applications. (10 Marks)
Convex hull algorithms often involve preprocessing steps like sorting. Discuss
the importance of sorting and its role in algorithms such as Graham Scan and
Divide and Conquer. (10 Marks)
Compare the time complexities and practical applications of the Gift Wrapping,
Graham Scan, and Incremental Algorithm for convex hull computation. (10
Marks)
List the key steps of the Naive Algorithm for convex hull computation. (5 Marks)
What is the time complexity of the Gift Wrapping Algorithm, and why is it
inefficient for large datasets? (5 Marks)
What is the main advantage of the Divide and Conquer Algorithm for convex
hull computation compared to other algorithms? (5 Marks)
Define the concept of "convexity" in computational geometry. Why is it
important for convex hull computation? (5 Marks)
Why is sorting necessary in algorithms like Graham Scan and Monotone
Chain? (5 Marks)
Explain the main difference between the Gift Wrapping Algorithm and the
Divide and Conquer Algorithm in terms of their computational approach. (5
Marks)
Convex hull computation is widely used in real-world applications. List two
examples and briefly explain their significance. (5 Marks)
How does the Graham Scan Algorithm ensure that the resulting polygon is
convex? (5 Marks)