org.h2gis.h2spatial.internal.function.spatial.properties
Class ST_PointOnSurface
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.h2spatialapi.DeterministicScalarFunction
org.h2gis.h2spatial.internal.function.spatial.properties.ST_PointOnSurface
- All Implemented Interfaces:
- Function, ScalarFunction
public class ST_PointOnSurface
- extends DeterministicScalarFunction
Get a Point that lie on the surface of a Surface Geometry.
The returned point is always the same for the same geometry.
- Author:
- Nicolas Fortin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ST_PointOnSurface
public ST_PointOnSurface()
- Default constructor
getJavaStaticMethod
public String getJavaStaticMethod()
getInteriorPoint
public static com.vividsolutions.jts.geom.Geometry getInteriorPoint(com.vividsolutions.jts.geom.Geometry geometry)
- Parameters:
geometry - Valid Geometry instance
- Returns:
- A Point that lie on the surface or null if input geometry is not a surface.
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.