Module gr_intersections2D

gr_intersections2D - a GRToolbox module
Calculates all intersections of any two sets.
Intersection points can either be added to the set
or just printed as information.
For adding the points use -add option. If there are several
intersection on one interval, the order of the intersection
points depends on the set number. To make sure they are ordered
use module gr_sort afterwards!.
-[ -add Add intersction points to the set.
h o v noc nof now skip f m c e i s l]
-help For help on all options.
Special Options:
Example Input Data:
1 0
3 4
5 2
8 9
10 3
0 1
2 3
3 2
4 9
Example Output Data:
#Intersection between set 0 and 1 at (2.333333,2.666667)
#Intersection between set 0 and 1 at (3.250000,3.750000)
# Intersection found: 2

Back to List of all GR Modules.