MorphAL 0.1

fr.ign.cogit.alpage.morphal.geometry
Class GeometryUtil

java.lang.Object
  extended by fr.ign.cogit.alpage.morphal.geometry.GeometryUtil

public class GeometryUtil
extends java.lang.Object

Geometric methods others than methods dealing with Point, MultiPoint, LineString, MultiLineString, Polygon and MultiPolygon types.

Version:
0.1 (2011-01-09)
Author:
Eric Grosso - IGN / Laboratoire COGIT

Constructor Summary
GeometryUtil()
           
 
Method Summary
static boolean compareCoordinate(Coordinate coord, Coordinate coord2)
          Method to compare quickly if two Coordinates have the same position.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryUtil

public GeometryUtil()
Method Detail

compareCoordinate

public static boolean compareCoordinate(Coordinate coord,
                                        Coordinate coord2)
Method to compare quickly if two Coordinates have the same position.

Parameters:
coord - the first coordinate to compare
coord2 - the second coordinate to compare
Returns:
true if the two coordinates are the same (at a geomtric level, not at an object level), otherwise false

MorphAL 0.1