cgal/Packages/Planar_map/examples/Planar_map
Shai Hirsch 0e724d82a7 Added a comment to example9. 2001-05-23 09:17:33 +00:00
..
README Added a comment to example9. 2001-05-23 09:17:33 +00:00
example1.C Initial revision 2001-02-05 11:52:21 +00:00
example2.C Initial revision 2001-02-05 11:52:21 +00:00
example3.C Initial revision 2001-02-05 11:52:21 +00:00
example3.cin Initial revision 2001-02-05 11:52:21 +00:00
example4.C Initial revision 2001-02-05 11:52:21 +00:00
example5.C Initial revision 2001-02-05 11:52:21 +00:00
example6.C Corrected figures in comments. 2001-05-02 13:11:02 +00:00
example7.C Split an over 80 char. line. 2001-05-02 13:11:59 +00:00
example8.C Initial revision 2001-02-05 11:52:21 +00:00
example9.C Changed leda_rational to Quotien<int> and did some cosmetic changes. 2001-05-02 14:50:45 +00:00
example9.cin An input file for Planar map, given in the format of Planar map IO. 2001-05-15 16:58:34 +00:00
example9_output.txt The output of example9.C 2001-04-29 14:07:48 +00:00
example10.C Added std:: prefix to string. 2001-05-23 09:17:10 +00:00
example10.cin An input file for Planar map, given in the format of Planar map IO. 2001-05-15 16:58:34 +00:00
example10_output.txt The output of example10.C 2001-04-29 14:08:37 +00:00
makefile Update the makefile to compile example9.C and example10.C 2001-04-29 14:16:18 +00:00
triangle.txt An input file for example9.C and example10.C 2001-04-29 14:07:11 +00:00

README

In this directory there are 8 example programs for the Planar Map package.

Note: All the examples work with the double number type so that the examples
      will run on machines where LEDA was not installed. The specific data
      was chosen so that no robustness problems will occour. The user should
      be cautious when changing such data without first chaning to an exact
      number type.

example1:
  The example demonstrates an insertion of curves into the planar
  map, checking its validity and performing vertical ray shooting.
  By: Eyal Flato and Iddo Hanniel

example2:
  This example  is identical to example1 but uses the exact traits (with    
  Homogeneous coordinates. It also tests the remove function      
  By:   Eyal Flato and Iddo Hanniel

example3:
  The example tests the point location in various possibilities 
  It also demonstrates the usage of const iterators and const     
  circulators when passing a const referance to a planar map   
  By: Doron Jacoby and Iddo Hanniel 

example4:
  The example tests the split_edge function with the exact traits.        
  Also operator<< is shown - note the output format of the       
  planar map will probably go through changes in the future (this
  is why it does not appear in the documentation).                
  By: Iddo Hanniel

example5:
  This example tests the direct insertion functions (insert_from_vertex etc.)
  and uses the naive point location strategy instead of the        
  default strategy provided.                                       
  By: Iddo Hanniel

example6:
  This example also demonstrates the direct insertion functions
  (insert_from_vertex etc.).  
  This is an example of using the specialized insertion functions and the
  exact traits.                          
  (the naive point location is more suitable for these functions  
  and is therefore the one used.                                  
  By: Iddo Hanniel

example7:
  This example tests the use of straight exact traits with 
  Cartesian coordinates over doubles and default point location.
  insertions and vertical ray shooting.
  By: Eyal Flato, Iddo Hanniel and Oren Nechushtan

example8:  
  This example tests the use of straight exact traits with 
  flexible representation type (cartesian versus homogeneous
  coordinates), flexible point location (naive versus default),
  and the direct insertion functions (insert_from_vertex etc.)
  By: Oren Nechushtan

example9:
  This example tests the use of IO functions provided for Planar map.
  This example demonsrates a trivial using of reading Planar map from 
  input stream and writing it to output stream. Writing the Planar map 
  to a Postscript file is also demonstated in this example.
  example9.cin is an example input to the program (example9 < example9.cin).
  By: Eti ezra.