Create a new Geometry equivalent to this one, but in the specified Projection.
Create a new Geometry equivalent to this one, but in the specified Projection. If the projection for this geometry is known, this involves transforming the coordinates; otherwise the projection is merely associated with the existing coordinates.
Creates a prepared geometry equivalent to this one.
Creates a prepared geometry equivalent to this one. Prepared geometries are slower to create, but provide faster implementations of various spatial operations.
Like in, but fails if this Geometry doesn't have a projection
set.
Like in, but fails if this Geometry doesn't have a projection
set.
in
The JTS geometry wrapped by this Geometry instance.
The JTS geometry wrapped by this Geometry instance. Note that projection information is not preserved if you manipulate the geometry directly.
The area enclosed by this geometry, in the same units as used by its coordinates.
A jts.
A jts.Envelope that fully encloses this Geometry.
Create a new Geometry expanding a set distance out from the boundaries of this one.
Create a new Geometry expanding a set distance out from the boundaries of this one.
EndCap
A point that represents the "center of gravity" of this geometry's enclosed area.
A point that represents the "center of gravity" of this geometry's enclosed area. Note that this point is not necessarily on the geometry!
All the coordinates that compose this Geometry as a sequence.
Create a new Geometry which contains only the areas included by both this Geometry and the one passed as an argument.
Determines whether this Geometry contains any common points with the provided one.
Are the coordinates of this geometry in an acceptable order? (no self-intersecting polygons, etc.
Are the coordinates of this geometry in an acceptable order? (no self-intersecting polygons, etc.)
A string representation of this Geometry in GeoJSON format
A string representation of this Geometry in GeoJSON format
http://geojson.org/
The length of the line segments that compose this geometry, in the same units as used by its coordinates.
Tests whether this geometry is "prepared," optimized for certain spatial queries.
Tests whether this geometry is "prepared," optimized for certain spatial queries.
prepare
The Projection used for this Geometry's coordinates, or null if that is unspecified.
Create a new Geometry which contains only the areas included by either this Geometry or the one passed as an argument.
A string representation of this Geometry in WKT (Well-Known Text) format.
A string representation of this Geometry in WKT (Well-Known Text) format.
http://en.wikipedia.org/wiki/Well-known_text
The Geometry trait provides a common parent type for types representing specific geometric entities such as points and line strings. All GeoScript geometry classes wrap their equivalent Geometry type from the Java Topology Suite (JTS).
com.vividsolutions.jts.geom.Geometry