org.postgis
Class LineString
java.lang.Object
org.postgis.Geometry
org.postgis.ComposedGeom
org.postgis.PointComposedGeom
org.postgis.LineString
- All Implemented Interfaces:
- java.io.Serializable
public class LineString
- extends PointComposedGeom
- See Also:
- Serialized Form
| Fields inherited from class org.postgis.Geometry |
ALLTYPES, dimension, GEOMETRYCOLLECTION, haveMeasure, LINEARRING, LINESTRING, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, srid, type |
| 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, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LineString
public LineString()
LineString
public LineString(Point[] points)
LineString
public LineString(java.lang.String value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
LineString
public LineString(java.lang.String value,
boolean haveM)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
reverse
public LineString reverse()
concat
public LineString concat(LineString other)
length
public double length()
Copyright © 2009. All Rights Reserved.