added AddHole to api; added random distribution example

This commit is contained in:
zzzzrrr
2010-02-07 15:46:27 -05:00
parent 7cbc314b7b
commit 8348364612
6 changed files with 117 additions and 57 deletions

11
README
View File

@@ -36,9 +36,16 @@ Windows command line:
Running the Examples
----------------------------------------------
p2t <filename> <center-x> <center-y> <zoom>
Load data points from a file:
p2t <filename> <center_x> <center_y> <zoom>
Random distribution of points inside a consrained box:
p2t random <num_points> <box_radius> <zoom>
Examples:
./p2t dude.dat 300 500 2
./p2t nazca_monkey.dat 0 0 9
./p2t nazca_monkey.dat 0 0 9
./p2t random 10 100 5.0
./p2t random 1000 20000 0.025