Class ST_DistanceSphere
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.properties.ST_DistanceSphere
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_DistanceSphere extends org.h2gis.api.DeterministicScalarFunctionFor geometry type returns minimum distance in meters between two geometries- Author:
- Michael MATUR
-
-
Constructor Summary
Constructors Constructor Description ST_DistanceSphere()Default constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DoubledistanceSphere(Connection connection, org.locationtech.jts.geom.Geometry a, org.locationtech.jts.geom.Geometry b)StringgetJavaStaticMethod()-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
distanceSphere
public static Double distanceSphere(Connection connection, org.locationtech.jts.geom.Geometry a, org.locationtech.jts.geom.Geometry b) throws SQLException
- Parameters:
connection- Connection instance or nulla- Geometry instance or nullb- Geometry instance or null- Returns:
- minimum distance in meters between two geometries
- Throws:
SQLException
-
-