|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jts.geom.Geometry
com.vividsolutions.jts.geom.GeometryCollection
com.vividsolutions.jts.geom.MultiLineString
org.hibernatespatial.mgeom.MultiMLineString
public class MultiMLineString
| Field Summary |
|---|
| Fields inherited from class com.vividsolutions.jts.geom.GeometryCollection |
|---|
geometries |
| Fields inherited from class com.vividsolutions.jts.geom.Geometry |
|---|
envelope, factory, SRID |
| Fields inherited from interface org.hibernatespatial.mgeom.MGeometry |
|---|
CONSTANT, DECREASING, INCREASING, NON_MONOTONE |
| Constructor Summary | |
|---|---|
MultiMLineString(MLineString[] MlineStrings,
double mGap,
com.vividsolutions.jts.geom.GeometryFactory factory)
|
|
| Method Summary | |
|---|---|
com.vividsolutions.jts.geom.Geometry |
asGeometry()
Returns this MGeometry as a Geometry. |
Object |
clone()
|
protected void |
geometryChangedAction()
|
com.vividsolutions.jts.geom.Coordinate |
getCoordinateAtM(double m)
Returns the Coordinate along the Geometry at the measure value |
com.vividsolutions.jts.geom.CoordinateSequence[] |
getCoordinatesBetween(double begin,
double end)
Returns the coordinatesequence(s) containing all coordinates between the begin and end measures. |
String |
getGeometryType()
|
double |
getMatCoordinate(com.vividsolutions.jts.geom.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. |
| Methods inherited from class com.vividsolutions.jts.geom.MultiLineString |
|---|
equalsExact, getBoundary, getBoundaryDimension, getDimension, isClosed, reverse |
| Methods inherited from class com.vividsolutions.jts.geom.GeometryCollection |
|---|
apply, apply, apply, apply, compareToSameClass, compareToSameClass, computeEnvelopeInternal, getArea, getCoordinate, getCoordinates, getGeometryN, getLength, getNumGeometries, getNumPoints, isEmpty, normalize |
| Methods inherited from class com.vividsolutions.jts.geom.Geometry |
|---|
buffer, buffer, buffer, checkNotGeometryCollection, compare, compareTo, compareTo, contains, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, equal, equals, equals, equalsExact, equalsNorm, equalsTopo, geometryChanged, getCentroid, getEnvelope, getEnvelopeInternal, getFactory, getInteriorPoint, getPrecisionModel, getSRID, getUserData, hashCode, hasNonEmptyElements, hasNullElements, intersection, intersects, isEquivalentClass, isGeometryCollection, isRectangle, isSimple, isValid, isWithinDistance, norm, overlaps, relate, relate, setSRID, setUserData, symDifference, toString, toText, touches, union, union, within |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.hibernatespatial.mgeom.MGeometry |
|---|
getFactory |
| Constructor Detail |
|---|
public MultiMLineString(MLineString[] MlineStrings,
double mGap,
com.vividsolutions.jts.geom.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.| Method Detail |
|---|
protected void geometryChangedAction()
geometryChangedAction in class com.vividsolutions.jts.geom.Geometrypublic String getGeometryType()
getGeometryType in class com.vividsolutions.jts.geom.MultiLineStringpublic double getMGap()
public double getMatCoordinate(com.vividsolutions.jts.geom.Coordinate co,
double tolerance)
throws MGeometryException
MGeometry
getMatCoordinate in interface MGeometryco - the Coordinate for which the measure value is soughttolerance - distance to the MGeometry within which Coordinate c has to lie
When the geometry is a ring or is self-intersecting more coordinates may be determined by one coordinate. In that case, the lowest measure is returned.
MGeometryException - when this MGeometry is not monotonepublic Object clone()
clone in class com.vividsolutions.jts.geom.GeometryCollectionpublic void measureOnLength(boolean keepBeginMeasure)
MGeometry
measureOnLength in interface MGeometrykeepBeginMeasure - -
if true, the measure of the first coordinate is maintained and
used as start value, unless this measure is Double.NaN
public com.vividsolutions.jts.geom.Coordinate getCoordinateAtM(double m)
throws MGeometryException
MGeometry
getCoordinateAtM in interface MGeometrym - measure value
MGeometryException - when MGeometry is not monotone
public com.vividsolutions.jts.geom.CoordinateSequence[] getCoordinatesBetween(double begin,
double end)
throws MGeometryException
MGeometry
getCoordinatesBetween in interface MGeometrybegin - begin measureend - end measure
MGeometryException - when this MGeometry is not monotonepublic double getMinM()
MGeometry
getMinM in interface MGeometrypublic double getMaxM()
MGeometry
getMaxM in interface MGeometrypublic boolean isMonotone(boolean strictMonotone)
MGeometry
isMonotone in interface MGeometrypublic com.vividsolutions.jts.geom.Geometry asGeometry()
MGeometryMGeometry as a Geometry.
Modifying the returned Geometry will result in internal state changes.
asGeometry in interface MGeometry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||