public class MultiLineString extends ComposedGeom
EMPTY, subgeomsALLTYPES, 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, setSridequals, equals, getDimension, getSrid, getType, getTypeString, getTypeString, getValue, initSRID, isMeasured, outerWKT, outerWKT, parseSRID, toStringpublic MultiLineString()
public MultiLineString(LineString[] lines)
public MultiLineString(String value) throws SQLException
SQLExceptionpublic MultiLineString(String value, boolean haveM) throws SQLException
SQLExceptionpublic int hashCode()
GeometryhashCode in class ComposedGeomprotected Geometry createSubGeomInstance(String token, boolean haveM) throws SQLException
ComposedGeomcreateSubGeomInstance in class ComposedGeomSQLExceptionprotected Geometry[] createSubGeomArray(int nlines)
ComposedGeomcreateSubGeomArray in class ComposedGeompublic int numLines()
public LineString[] getLines()
public LineString getLine(int idx)
public double length()
Copyright © 2014. All rights reserved.