Computes a Result that represents a Geometry made up of the points shared by this Line and a geometry of at least one dimension.
Computes a Result that represents a Geometry made up of the points shared by this Line and a geometry of at least one dimension.
the geometry to intersect with
Computes a Result that represents a Geometry made up of the points shared by this Line and a MultiPoint.
Computes a Result that represents a Geometry made up of the points shared by this Line and a MultiPoint.
the multipoint to intersect with
Computes a Result that represents a Geometry made up of the points shared by this Line and p.
Computes a Result that represents a Geometry made up of the points shared by this Line and p.
the point to intersect with
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g.
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g.
the geometry to diff against
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g.
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g.
the geometry to diff against
Attempt to convert this Geometry to the provided type
Attempt to convert this Geometry to the provided type
Returns the boundary of this Line.
Returns the boundary of this Line. The boundary of a non-closed Line consists of its two end points. The boundary of a closed Line is empty.
Computes a buffer area around this Line having width d.
Computes a buffer area around this Line having width d.
the buffer width
Calculate centroid of this Geometry
Calculate centroid of this Geometry
Returns a closed version of the line.
Returns a closed version of the line. If already closed, just return this.
Tests whether this Line contains the specified AtMostOneDimension g.
Tests whether this Line contains the specified AtMostOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*****FF*.
the geometry to use in containment check
Tests whether this Line is covered by the specified AtLeastOneDimension g.
Tests whether this Line 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***.
the geometry to use in checking whether this line is covered
Tests whether this Line covers the specified AtMostOneDimensions g.
Tests whether this Line covers the specified AtMostOneDimensions 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*.
the geometry to check for coverage over
Tests whether this Line crosses the specified AtLeastOneDimension g.
Tests whether this Line 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/A).
the geometry to check if this line crosses
Tests whether this Line crosses the specified MultiPoint mp.
Tests whether this Line crosses the specified MultiPoint mp. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*****T** (L/P).
the multipoint to check if this line crosses
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g.
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g.
the geometry to diff against
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g.
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g.
the geometry to diff against
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 Line and g.
Computes a Result that represents a Geometry made up of the points shared by this Line and g.
the geometry to intersect with
Computes a Result that represents a Geometry made up of the points shared by this Line and a MultiPoint.
Computes a Result that represents a Geometry made up of the points shared by this Line and a MultiPoint.
the multipoint to intersect with
Computes a Result that represents a Geometry made up of the points shared by this Line and a Point.
Computes a Result that represents a Geometry made up of the points shared by this Line and a Point.
the point to intersect with
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.
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.
Tests whether this Line is simple.
Tests whether this Line is simple. A Line is simple iff it does not self-intersect at points other than boundary points.
Check the validity of this geometry
Check the validity of this geometry
Return the wrapped jts Geometry
Return the wrapped jts Geometry
Returns the length of this Line.
Returns a unique representation of the geometry based on standard coordinate ordering.
Tests whether this Line overlaps the specified OneDimension g.
Tests whether this Line overlaps the specified OneDimension g. Returns true if The DE-9IM Intersection Matrix for the two geometries is 1*T***T**.
the geometry to check for overlap against
Returns the points which determine this line (i.e.
Returns the points which determine this line (i.e. its vertices
Computes a Result that represents a Geometry made up of all the points in this Line that are not in mp and all the points in mp that are not in this Line.
Computes a Result that represents a Geometry made up of all the points in this Line that are not in mp and all the points in mp that are not in this Line.
the multipolygon to diff against
Computes a Result that represents a Geometry made up of all the points in this Line that are not in p and all the points in p that are not in this Line.
Computes a Result that represents a Geometry made up of all the points in this Line that are not in p and all the points in p that are not in this Line.
the polygon to diff against
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g and all the points in g that are not in this Line.
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g and all the points in g that are not in this Line.
the geometry to diff against
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g and all the points in g that are not in this Line.
Computes a Result that represents a Geometry made up of all the points in this Line that are not in g and all the points in g that are not in this Line.
the geometry to diff against
Tests whether this Line touches the specified Geometry g.
Tests whether this Line touches the specified Geometry g. Returns true if the DE-9IM Intersection Matrix for the two geometries is FT*******, F**T***** or F***T****.
the geometry to check if this line is touching
Computes a Result that represents a Geometry made up of all the points in this Line and a MultiPolygon.
Computes a Result that represents a Geometry made up of all the points in this Line and a Polygon.
Computes a Result that represents a Geometry made up of all the points in this Line and a Polygon.
the geometry to union with
Computes a Result that represents a Geometry made up of all the points in this Line and a OneDimension geometry.
Computes a Result that represents a Geometry made up of all the points in this Line and a OneDimension geometry.
the geometry to union with
Computes a Result that represents a Geometry made up of all the points in this Line and a a ZeroDimensions geometry.
Computes a Result that represents a Geometry made up of all the points in this Line and a a ZeroDimensions geometry.
the geometry to union with
Returns the number of vertices in this geometry
Returns the points which determine this line (i.e.
Returns the points which determine this line (i.e. its vertices
Tests whether this Line is within the specified AtLeastOneDimension g.
Tests whether this Line is within the specified AtLeastOneDimension g. Returns true if the DE-9IM Intersection Matrix for the two geometries is T*F**F***.
the geometry to check if this line is within
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 Line and a MultiPolygon.
Computes a Result that represents a Geometry made up of all the points in this Line and a Polygon.
Computes a Result that represents a Geometry made up of all the points in this Line and a Polygon.
the geometry to union with
Computes a Result that represents a Geometry made up of all the points in this Line and a OneDimension geometry.
Computes a Result that represents a Geometry made up of all the points in this Line and a OneDimension geometry.
the geometry to union with
Computes a Result that represents a Geometry made up of all the points in this Line and a a ZeroDimensions geometry.
Computes a Result that represents a Geometry made up of all the points in this Line and a a ZeroDimensions geometry.
the geometry to union with
(Since version 1.2) This will be removed in 2.0 - use intersectionSafe instead