Package org.postgis
Class LineString
- java.lang.Object
-
- org.postgis.Geometry
-
- org.postgis.ComposedGeom
-
- org.postgis.PointComposedGeom
-
- org.postgis.LineString
-
- All Implemented Interfaces:
Serializable
public class LineString extends PointComposedGeom
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.postgis.ComposedGeom
EMPTY, subgeoms
-
Fields inherited from class org.postgis.Geometry
ALLTYPES, dimension, GEOMETRYCOLLECTION, haveMeasure, LINEARRING, LINESTRING, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, srid, type, UNKNOWN_SRID
-
-
Constructor Summary
Constructors Constructor Description LineString()LineString(String value)LineString(String value, boolean haveM)LineString(Point[] points)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LineStringconcat(LineString other)doublelength()LineStringreverse()-
Methods inherited from class org.postgis.PointComposedGeom
createSubGeomArray, createSubGeomInstance, getPoint, getPoints, innerWKT, numPoints
-
Methods inherited from class org.postgis.ComposedGeom
checkConsistency, equalsintern, getFirstPoint, getLastPoint, getSubGeometry, hashCode, isEmpty, iterator, mediumWKT, numGeoms, setSrid
-
Methods inherited from class org.postgis.Geometry
equals, equals, getDimension, getSrid, getType, getTypeString, getTypeString, getValue, initSRID, isMeasured, outerWKT, outerWKT, parseSRID, toString
-
-
-
-
Constructor Detail
-
LineString
public LineString()
-
LineString
public LineString(Point[] points)
-
LineString
public LineString(String value) throws SQLException
- Throws:
SQLException
-
LineString
public LineString(String value, boolean haveM) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
reverse
public LineString reverse()
-
concat
public LineString concat(LineString other)
-
length
public double length()
-
-