utils.js |
Compares 2 sets of grid fragments to each other and checks if they have the same
general geometry.
This means that things like areas, area names or line names are ignored.
This only checks if the 2 sets of fragments have as many fragments, as many lines, and
that those lines are at the same distance.
@param {Array} fragments1
A list of gridFragment objects.
@param {Array} fragments2
Another list of gridFragment objects to compare to the first list.
@return {Boolean}
True if the fragments are the same, false otherwise.
|
1859 |