public class MultiLineString extends ComposedGeom
EMPTY, subgeoms
ALLTYPES, dimension, GEOMETRYCOLLECTION, haveMeasure, LINEARRING, LINESTRING, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, srid, type, UNKNOWN_SRID
Constructor and Description |
---|
MultiLineString() |
MultiLineString(LineString[] lines) |
MultiLineString(String value) |
MultiLineString(String value,
boolean haveM) |
Modifier and Type | Method and Description |
---|---|
protected Geometry[] |
createSubGeomArray(int nlines)
Return the appropriate instance of the subgeometry array - this
encapsulates subclass specific array instantiation
|
protected Geometry |
createSubGeomInstance(String token,
boolean haveM)
Return the appropriate instance of the subgeometry - this encapsulates
subclass specific constructor calls
|
LineString |
getLine(int idx) |
LineString[] |
getLines() |
int |
hashCode()
java.lang.Object hashCode implementation
|
double |
length() |
int |
numLines() |
checkConsistency, equalsintern, getFirstPoint, getLastPoint, getPoint, getSubGeometry, innerWKT, isEmpty, iterator, mediumWKT, numGeoms, numPoints, setSrid
equals, equals, getDimension, getSrid, getType, getTypeString, getTypeString, getValue, initSRID, isMeasured, outerWKT, outerWKT, parseSRID, toString
public MultiLineString()
public MultiLineString(LineString[] lines)
public MultiLineString(String value) throws SQLException
SQLException
public MultiLineString(String value, boolean haveM) throws SQLException
SQLException
public int hashCode()
Geometry
hashCode
in class ComposedGeom
protected Geometry createSubGeomInstance(String token, boolean haveM) throws SQLException
ComposedGeom
createSubGeomInstance
in class ComposedGeom
SQLException
protected Geometry[] createSubGeomArray(int nlines)
ComposedGeom
createSubGeomArray
in class ComposedGeom
public int numLines()
public LineString[] getLines()
public LineString getLine(int idx)
public double length()
Copyright © 2014. All rights reserved.