org.h2gis.h2spatialext.function.spatial.edit
Class ST_RemoveHoles
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.h2spatialapi.DeterministicScalarFunction
org.h2gis.h2spatialext.function.spatial.edit.ST_RemoveHoles
- All Implemented Interfaces:
- Function, ScalarFunction
public class ST_RemoveHoles
- extends DeterministicScalarFunction
Removes any holes from a polygon or multipolygon
- Author:
- Erwan Bocher
|
Method Summary |
String |
getJavaStaticMethod()
|
static com.vividsolutions.jts.geom.Geometry |
removeHoles(com.vividsolutions.jts.geom.Geometry geometry)
Remove any holes from the geometry. |
static com.vividsolutions.jts.geom.MultiPolygon |
removeHolesMultiPolygon(com.vividsolutions.jts.geom.MultiPolygon multiPolygon)
Create a new multiPolygon without hole. |
static com.vividsolutions.jts.geom.Polygon |
removeHolesPolygon(com.vividsolutions.jts.geom.Polygon polygon)
Create a new polygon without hole. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ST_RemoveHoles
public ST_RemoveHoles()
getJavaStaticMethod
public String getJavaStaticMethod()
removeHoles
public static com.vividsolutions.jts.geom.Geometry removeHoles(com.vividsolutions.jts.geom.Geometry geometry)
- Remove any holes from the geometry. If the geometry doesn't contain any
holes, return it unchanged.
- Parameters:
geometry - Geometry
- Returns:
- Geometry with no holes *
removeHolesMultiPolygon
public static com.vividsolutions.jts.geom.MultiPolygon removeHolesMultiPolygon(com.vividsolutions.jts.geom.MultiPolygon multiPolygon)
- Create a new multiPolygon without hole.
- Parameters:
multiPolygon -
- Returns:
removeHolesPolygon
public static com.vividsolutions.jts.geom.Polygon removeHolesPolygon(com.vividsolutions.jts.geom.Polygon polygon)
- Create a new polygon without hole.
- Parameters:
polygon -
- Returns:
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.