public class ST_3DLength
extends org.h2gis.api.DeterministicScalarFunction
| Constructor and Description |
|---|
ST_3DLength() |
| Modifier and Type | Method and Description |
|---|---|
String |
getJavaStaticMethod() |
static double |
length3D(org.locationtech.jts.geom.CoordinateSequence points)
Computes the length of a LineString specified by a sequence of
coordinates.
|
static double |
length3D(org.locationtech.jts.geom.Geometry geom)
Returns the 3D length of the given geometry.
|
static double |
length3D(org.locationtech.jts.geom.LineString lineString)
Returns the 3D perimeter of the given LineString.
|
static double |
length3D(org.locationtech.jts.geom.Polygon polygon)
Returns the 3D perimeter of the given polygon.
|
static Double |
stLength3D(org.locationtech.jts.geom.Geometry geom)
Returns the 3D length (of a LineString or MultiLineString) ortherwise 0.
|
addProperty, getProperty, removePropertypublic String getJavaStaticMethod()
public static Double stLength3D(org.locationtech.jts.geom.Geometry geom)
geom - Geometrypublic static double length3D(org.locationtech.jts.geom.Geometry geom)
geom - Geometrypublic static double length3D(org.locationtech.jts.geom.Polygon polygon)
polygon - Polygonpublic static double length3D(org.locationtech.jts.geom.LineString lineString)
lineString - LineStringpublic static double length3D(org.locationtech.jts.geom.CoordinateSequence points)
points - The coordinate sequenceCopyright © 2019 CNRS. All rights reserved.