org.postgis
Class LineString

java.lang.Object
  extended by org.postgis.Geometry
      extended by org.postgis.ComposedGeom
          extended by org.postgis.PointComposedGeom
              extended by org.postgis.LineString
All Implemented Interfaces:
java.io.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
LineString()
           
LineString(Point[] points)
           
LineString(java.lang.String value)
           
LineString(java.lang.String value, boolean haveM)
           
 
Method Summary
 LineString concat(LineString other)
           
 double length()
           
 LineString reverse()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

reverse

public LineString reverse()

concat

public LineString concat(LineString other)

length

public double length()