org.h2gis.h2spatial.internal.function.spatial.properties
Class ST_Distance
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.h2spatialapi.DeterministicScalarFunction
org.h2gis.h2spatial.internal.function.spatial.properties.ST_Distance
- All Implemented Interfaces:
- Function, ScalarFunction
public class ST_Distance
- extends DeterministicScalarFunction
For geometry type returns the 2-dimensional minimum Cartesian
distance between two geometries in projected units (spatial ref units)
- Author:
- Nicolas Fortin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ST_Distance
public ST_Distance()
- Default constructor
getJavaStaticMethod
public String getJavaStaticMethod()
distance
public static Double distance(com.vividsolutions.jts.geom.Geometry a,
com.vividsolutions.jts.geom.Geometry b)
- Parameters:
a - Geometry instance or nullb - Geometry instance or null
- Returns:
- the 2-dimensional minimum Cartesian distance between two geometries
in projected units (spatial ref units)
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.