public class MultiMLineString extends MultiLineString implements MGeometry
CONSTANT, DECREASING, INCREASING, NON_MONOTONE| Constructor and Description |
|---|
MultiMLineString(MLineString[] MlineStrings,
double mGap,
GeometryFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Geometry |
asGeometry()
Returns this
MGeometry as a Geometry. |
java.lang.Object |
clone() |
protected void |
geometryChangedAction() |
Coordinate |
getCoordinateAtM(double m)
Returns the Coordinate along the Geometry at the measure value
|
CoordinateSequence[] |
getCoordinatesBetween(double begin,
double end)
Returns the coordinatesequence(s) containing all coordinates between the
begin and end measures.
|
java.lang.String |
getGeometryType() |
double |
getMatCoordinate(Coordinate co,
double tolerance)
Returns the measure value at the Coordinate
|
double |
getMaxM()
Returns the maximum M-value of the MGeometry
|
double |
getMGap() |
double |
getMinM()
Returns the minimum M-value of the MGeometry
|
boolean |
isMonotone(boolean strictMonotone)
Determine whether the LRS measures (not the x,y,z coordinates) in the
Coordinate sequence of the geometry is Monotone.
|
void |
measureOnLength(boolean keepBeginMeasure)
Builds measures along the Geometry based on the length from the beginning
(first coordinate) of the Geometry.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFactorypublic MultiMLineString(MLineString[] MlineStrings, double mGap, GeometryFactory factory)
MlineStrings - the MLineStrings for this
MultiMLineString, or null or an
empty array to create the empty geometry. Elements may be
empty LineStrings, but not nulls.protected void geometryChangedAction()
public java.lang.String getGeometryType()
public double getMGap()
public double getMatCoordinate(Coordinate co,
double tolerance)
throws MGeometryException
MGeometrygetMatCoordinate in interface MGeometryco - the Coordinate for which the measure value is soughttolerance - distance to the MGeometry within which Coordinate c has to lieMGeometryException - when this MGeometry is not monotonepublic java.lang.Object clone()
public void measureOnLength(boolean keepBeginMeasure)
MGeometrymeasureOnLength in interface MGeometrykeepBeginMeasure - -
if true, the measure of the first coordinate is maintained and
used as start value, unless this measure is Double.NaNpublic Coordinate getCoordinateAtM(double m)
throws MGeometryException
MGeometrygetCoordinateAtM in interface MGeometrym - measure valueMGeometryException - when MGeometry is not monotonepublic CoordinateSequence[] getCoordinatesBetween(double begin,
double end)
throws MGeometryException
MGeometrygetCoordinatesBetween in interface MGeometrybegin - begin measureend - end measureMGeometryException - when this MGeometry is not monotonepublic double getMinM()
MGeometrypublic double getMaxM()
MGeometrypublic boolean isMonotone(boolean strictMonotone)
MGeometryisMonotone in interface MGeometrypublic Geometry asGeometry()
MGeometryMGeometry as a Geometry.
Modifying the returned Geometry will result in internal state changes.asGeometry in interface MGeometry