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 sub-geometry array - this
encapsulates subclass specific array instantiation
|
protected Geometry |
createSubGeomInstance(String token,
boolean haveM)
Return the appropriate instance of the sub-geometry - 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 ComposedGeomtoken - The token containing the value for the sub-geometryhaveM - flag to indicate the existence of a measureSQLException - if a SQLException is thrownprotected Geometry[] createSubGeomArray(int nlines)
ComposedGeomcreateSubGeomArray in class ComposedGeomnlines - number of elements in the arraypublic int numLines()
public LineString[] getLines()
public LineString getLine(int idx)
public double length()
Copyright © 2018. All rights reserved.