Computes a Result that represents a Geometry made up of the points shared by this MultiLine and mp.
Computes a Result that represents a Geometry made up of the points shared by this MultiLine and g.
Computes a Result that represents a Geometry made up of the points shared by this MultiLine and p.
Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in g.
Attempt to convert this Geometry to the provided type
Attempt to convert this Geometry to the provided type
Returns the boundary of this MultiLine.
Returns the boundary of this MultiLine. The boundary of a non-closed MultiLine consists of all the end points of the non-closed lines that make up the MultiLine. The boundary of a closed MultiLine is empty.
Computes a area containing these geometries and buffered by size d.
Computes a area containing these geometries and buffered by size d.
Calculate centroid of this Geometry
Calculate centroid of this Geometry
Tests whether this MultiLine contains the specified AtMostOneDimension g.
Tests whether this MultiLine contains the specified AtMostOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*****FF*.
Tests whether this MultiLine is covered by the specified AtLeastOneDimension g.
Tests whether this MultiLine is covered by the specified AtLeastOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*F**F*** or *TF**F*** or **FT*F*** or **F*TF***.
Tests whether this MultiLine covers the specified AtMostOneDimension g.
Tests whether this MultiLine covers the specified AtMostOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*****FF* or *T****FF* or ***T**FF* or ****T*FF*.
Tests whether this MultiLine crosses the specified AtLeastOneDimension g.
Tests whether this MultiLine crosses the specified AtLeastOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is 0******** (L/L) or T*****T** (L/P and L/A).
Tests whether this MultiLine crosses the specified MultiPoint mp.
Tests whether this MultiLine crosses the specified MultiPoint mp. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*****T** (L/P).
Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in g.
Computes a Result that represents a Geometry made up of all the points in the first line that are not in the other contained lines.
Calculate the distance to another Geometry
Calculate the distance to another Geometry
Computes a Result that represents a Geometry made up of the points shared by this MultiLine and mp.
Computes a Result that represents a Geometry made up of the points shared by this MultiLine and g.
Computes a Result that represents a Geometry made up of the points shared by this MultiLine and p.
Computes a Result that represents a Geometry made up of the points shared by the contained lines.
Computes a Result that represents a Geometry made up of the points shared by this Polygon and g.
Computes a Result that represents a Geometry made up of the points shared by this Polygon and g.
Computes a Result that represents a Geometry made up of the points shared by this Polygon and g.
Computes a Result that represents a Geometry made up of the points shared by this Polygon and g. If it fails, it reduces the precision to avoid TopologyException.
Tests if the initial vertex equals the final vertex for every Line in this MultiLine.
Is this Geometry empty? This is faster than checking manually like:
Is this Geometry empty? This is faster than checking manually like:
val mp: MultiPoint = ... val ps: Array[Point] = mp.points // `.points` is a lazy val with processing overhead ps.isEmpty // possible, but mp.isEmpty is faster
It would be similar for MultiLine or MultiPolygon.
Check the validity of this geometry
Check the validity of this geometry
Return the wrapped jts Geometry
Return the wrapped jts Geometry
Returns the Lines contained in this MultiLine.
Returns a unique representation of the geometry based on standard coordinate ordering.
Tests whether this MultiLine overlaps the specified OneDimension g.
Tests whether this MultiLine overlaps the specified OneDimension g. Returns true if The DE-9IM Intersection Matrix for the two geometries is 1*T***T**.
Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in mp and all the points in mp that are not in this MultiLine.
Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in p and all the points in p that are not in this MultiLine.
Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in g and all the points in g that are not in this MultiLine.
Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in mp and all the points in mp that are not in this MultiLine.
Computes a Result that represents a Geometry made up of all the points in this MultiLine that are not in p and the point p if it is not in this MultiLine.
Computes a Result that represents a Geometry made up of all the points in the contained lines that are unique to one line.
Tests whether this MultiLine touches the specified Geometry g.
Tests whether this MultiLine touches the specified Geometry g. Returns true if the DE-9IM Intersection Matrix for the two geometries is FT*******, F**T***** or F***T****.
Computes a Result that represents a Geometry made up of all the points in this MultiLine and mp.
Computes a Result that represents a Geometry made up of all the points in this MultiLine and ml.
Computes a Result that represents a Geometry made up of all the points in this MultiLine and mp.
Computes a Result that represents a Geometry made up of all the points in this MultiLine and p.
Computes a Result that represents a Geometry made up of all the points in this MultiLine and l.
Computes a Result that represents a Geometry made up of all the points in this MultiLine and p.
Computes the union of contained lines.
Computes the union of contained lines. Useful for merging overlapping line segments.
Get the number of vertices in this geometry
Get the number of vertices in this geometry
Returns this Geometry's vertices.
Returns this Geometry's vertices.
Tests whether this MultiLine is within the specified AtLeastOneDimension g.
Tests whether this MultiLine is within the specified AtLeastOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*F**F***.
Determine whether another Geometry is within a given distance
Determine whether another Geometry is within a given distance
The geometry to check
The radius of the circle within which this check is conducted
Computes a Result that represents a Geometry made up of all the points in this MultiLine and mp.
Computes a Result that represents a Geometry made up of all the points in this MultiLine and ml.
Computes a Result that represents a Geometry made up of all the points in this MultiLine and mp.
Computes a Result that represents a Geometry made up of all the points in this MultiLine and p.
Computes a Result that represents a Geometry made up of all the points in this MultiLine and l.
Computes a Result that represents a Geometry made up of all the points in this MultiLine and p.
Class representing a geometry of multiple lines