Class ST_Drape
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.topography.ST_Drape
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_Drape extends org.h2gis.api.DeterministicScalarFunctionThis function could be used to drape a geometry to a set of triangles- Author:
- Erwan Bocher
-
-
Constructor Summary
Constructors Constructor Description ST_Drape()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.Geometrydrape(org.locationtech.jts.geom.Geometry geomToDrape, org.locationtech.jts.geom.Geometry triangles)static org.locationtech.jts.geom.GeometrydrapeLineString(org.locationtech.jts.geom.LineString line, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a linestring to a set of trianglesstatic org.locationtech.jts.geom.GeometrydrapeMultiLineString(org.locationtech.jts.geom.MultiLineString lines, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a multilinestring to a set of trianglesstatic org.locationtech.jts.geom.GeometrydrapeMultiPolygon(org.locationtech.jts.geom.MultiPolygon polygons, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a multilinestring to a set of trianglesstatic org.locationtech.jts.geom.GeometrydrapePoint(org.locationtech.jts.geom.Geometry pts, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a point geometry to a set of trianglesstatic org.locationtech.jts.geom.GeometrydrapePoints(org.locationtech.jts.geom.Geometry pts, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a multipoint geometry to a set of trianglesstatic org.locationtech.jts.geom.PolygondrapePolygon(org.locationtech.jts.geom.Polygon p, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a polygon on a set of trianglesStringgetJavaStaticMethod()static org.locationtech.jts.geom.GeometrylineMerge(org.locationtech.jts.geom.Geometry geom, org.locationtech.jts.geom.GeometryFactory factory)A method to merge a geometry to a set of linestring-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
drape
public static org.locationtech.jts.geom.Geometry drape(org.locationtech.jts.geom.Geometry geomToDrape, org.locationtech.jts.geom.Geometry triangles) throws SQLException- Throws:
SQLException
-
drapePoints
public static org.locationtech.jts.geom.Geometry drapePoints(org.locationtech.jts.geom.Geometry pts, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a multipoint geometry to a set of triangles- Parameters:
pts-triangles-sTRtree-- Returns:
-
drapePoint
public static org.locationtech.jts.geom.Geometry drapePoint(org.locationtech.jts.geom.Geometry pts, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a point geometry to a set of triangles- Parameters:
pts-triangles-sTRtree-- Returns:
-
drapeMultiPolygon
public static org.locationtech.jts.geom.Geometry drapeMultiPolygon(org.locationtech.jts.geom.MultiPolygon polygons, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a multilinestring to a set of triangles- Parameters:
polygons-triangles-sTRtree-- Returns:
-
drapeMultiLineString
public static org.locationtech.jts.geom.Geometry drapeMultiLineString(org.locationtech.jts.geom.MultiLineString lines, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a multilinestring to a set of triangles- Parameters:
lines-triangles-sTRtree-- Returns:
-
drapeLineString
public static org.locationtech.jts.geom.Geometry drapeLineString(org.locationtech.jts.geom.LineString line, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a linestring to a set of triangles- Parameters:
line-triangles-sTRtree-- Returns:
-
drapePolygon
public static org.locationtech.jts.geom.Polygon drapePolygon(org.locationtech.jts.geom.Polygon p, org.locationtech.jts.geom.Geometry triangles, org.locationtech.jts.index.strtree.STRtree sTRtree)Drape a polygon on a set of triangles- Parameters:
p-triangles-sTRtree-- Returns:
-
lineMerge
public static org.locationtech.jts.geom.Geometry lineMerge(org.locationtech.jts.geom.Geometry geom, org.locationtech.jts.geom.GeometryFactory factory)A method to merge a geometry to a set of linestring- Parameters:
geom-factory-- Returns:
-
-