Competitive/Collaborative Programming Class

ICPC Computer Programming Contest Prep

Problem Solving in Computer Science

Spring 2012 -- CSC 2700 Section 04

[Isaac's Home Page ]  [Mailing List ]  [Class Page ]  [Printable ]  
 Home
 Outline/Policy
 Summary
 Approach
 References
 
 Homework
   View
   Upload
 
 Problems:
   Archive
   Categories
   Guidelines
 
 Coding
   Tips
 
 Contests:
   Deloitte
 
 Extra:
   Grades
 
 
 
 Class:
   CSC 2700 Section 04
   Tureaud 109
   Tuesday
   5:30 PM - 7:30 PM
 
 Previous:
   2011 Fall
 

Computational Geometry

As a starting point, I briefly covered the Computational Geometry section of Introduction to Algorithms.

More to come...


Line Segment Properties

It turns out that Line Segments have some interesting properties and that some simple tests can tell you a lot about them.

Relative direction - Suppose you have 2 points P1 and P2. If you treat those 2 points as vectors (where the first point is the origin), you can now have some fun.

P0 is (0,0)
P1 is (X1,Y1)
P2 is (X2,Y2)
Now let:
V1 be P0P1 and V2 be P0P2
V1 is either clockwise or counterclockwise of V2







[ Powered by Red Hat Linux ] [ Powered by Apache ] [ Powered by PHP ]

The statements and opinions included in these pages are those of only. Any statements and opinions included in these pages are not those of Louisiana State University or the LSU Board of Supervisors.
© 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Isaac Traxler