Pg.Assg.1 - intersection program will be a set of line...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
COT5520 Computational Geometry Programming Assignment # 1 Due: September 29, 2003 1. Implement Graham’s scan algorithm for computing convex hull of a set of points on 2D Euclidean plane. 2. Implement Scan line algorithm for finding intersection points of a given set of line segments on 2D Euclidean plane. . Instructions: Both programs should read the input data from a text file, and output the result in another text file (The formats of these text files are provided separately). The input to the convex hull program will be a set of points, and output will be the set of vertices of convex hull in counter clockwise order. The program name should be ConvexHull.cpp and the executable file should be ConvexHull.exe. The input to the
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: intersection program will be a set of line segments defined by their endpoints, and output will be the set of intersection points. The program name should be Intersection.cpp and the executable file should be Intersection.exe. Both programs should prompt the user for input file name and output file name. Run your program on the provided test files and submit the output files with your assignment. The program should be well commented and the variable/function names should be self-explanatory. Deliverables: 1. Report 2. Code (Soft copy including all the header files and source files) 3. Executable 4. Output Files Send your assignments by email to [email protected] ....
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern