org.h2gis.h2spatialext.function.spatial.create
Class ST_MakeLine
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.h2spatialapi.DeterministicScalarFunction
org.h2gis.h2spatialext.function.spatial.create.ST_MakeLine
- All Implemented Interfaces:
- Function, ScalarFunction
public class ST_MakeLine
- extends DeterministicScalarFunction
ST_MakeLine constructs a LINESTRING from POINT and MULTIPOINT geometries.
- Author:
- Adam Gouge
|
Method Summary |
static com.vividsolutions.jts.geom.LineString |
createLine(com.vividsolutions.jts.geom.GeometryCollection points)
Constructs a LINESTRING from the given collection of POINTs and/or
MULTIPOINTs |
static com.vividsolutions.jts.geom.LineString |
createLine(com.vividsolutions.jts.geom.Geometry pointA,
com.vividsolutions.jts.geom.Geometry... optionalPoints)
Constructs a LINESTRING from the given POINTs or MULTIPOINTs |
String |
getJavaStaticMethod()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUIRED_NUMBER_OF_POINTS
public static final int REQUIRED_NUMBER_OF_POINTS
- See Also:
- Constant Field Values
ST_MakeLine
public ST_MakeLine()
getJavaStaticMethod
public String getJavaStaticMethod()
createLine
public static com.vividsolutions.jts.geom.LineString createLine(com.vividsolutions.jts.geom.Geometry pointA,
com.vividsolutions.jts.geom.Geometry... optionalPoints)
throws SQLException
- Constructs a LINESTRING from the given POINTs or MULTIPOINTs
- Parameters:
pointA - The first POINT or MULTIPOINToptionalPoints - Optional POINTs or MULTIPOINTs
- Returns:
- The LINESTRING constructed from the given POINTs or MULTIPOINTs
- Throws:
SQLException
createLine
public static com.vividsolutions.jts.geom.LineString createLine(com.vividsolutions.jts.geom.GeometryCollection points)
throws SQLException
- Constructs a LINESTRING from the given collection of POINTs and/or
MULTIPOINTs
- Parameters:
points - Points
- Returns:
- The LINESTRING constructed from the given collection of POINTs
and/or MULTIPOINTs
- Throws:
SQLException
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.