Namespace: geom

jsts.geom

Source:

Classes

Coordinate
CoordinateArrays
CoordinateList
Dimension
Envelope
Geometry
GeometryCollection
GeometryFactory
IntersectionMatrix
LinearRing
LineSegment
LineString
Location
MultiLineString
MultiPoint
MultiPolygon
Point
Polygon
PrecisionModel
Triangle

Namespaces

util

Methods

(static) CoordinateSequenceFilter()

Interface for classes which provide operations that can be applied to the coordinates in a CoordinateSequence. A CoordinateSequence filter can either record information about each coordinate or change the coordinate in some way. CoordinateSequence filters can be used to implement such things as coordinate transformations, centroid and envelope computation, and many other functions. For maximum efficiency, the execution of filters can be short-circuited. Geometry classes support the concept of applying a CoordinateSequenceFilter to each CoordinateSequences they contain.

CoordinateSequenceFilter is an example of the Gang-of-Four Visitor pattern.

Source:
See:
  • Geometry#apply(CoordinateSequenceFilter)

(static) GeometryComponentFilter()

Geometry classes support the concept of applying a GeometryComponentFilter filter to the Geometry. The filter is applied to every component of the Geometry which is itself a Geometry and which does not itself contain any components. (For instance, all the LinearRings in Polygons are visited, but in a MultiPolygon the Polygons themselves are not visited.) Thus the only classes of Geometry which must be handled as arguments to #filter are LineStrings, LinearRings and Points.

A GeometryComponentFilter filter can either record information about the Geometry or change the Geometry in some way. GeometryComponentFilter is an example of the Gang-of-Four Visitor pattern.

Source:

(static) GeometryFilter()

GeometryCollection classes support the concept of applying a GeometryFilter to the Geometry. The filter is applied to every element Geometry. A GeometryFilter can either record information about the Geometry or change the Geometry in some way. GeometryFilter is an example of the Gang-of-Four Visitor pattern.
Source: