GEOS
3.8.0
|
Contains the Geometry
interface hierarchy and supporting classes.
More...
Namespaces | |
util | |
Provides classes that parse and modify Geometry objects. | |
Classes | |
class | Coordinate |
Coordinate is the lightweight class used to store coordinates. More... | |
class | CoordinateArraySequence |
The default implementation of CoordinateSequence. More... | |
class | CoordinateArraySequenceFactory |
Creates CoordinateSequences internally represented as an array of Coordinates. More... | |
class | CoordinateFilter |
Geometry classes support the concept of applying a coordinate filter to every coordinate in the Geometry. More... | |
struct | CoordinateLessThen |
Strict weak ordering Functor for Coordinate. More... | |
class | CoordinateList |
A list of Coordinates, which may be set to prevent repeated coordinates from occuring in the list. More... | |
class | CoordinateSequence |
The internal representation of a list of coordinates inside a Geometry. More... | |
class | CoordinateSequenceFactory |
A factory to create concrete instances of CoordinateSequences. More... | |
class | CoordinateSequenceFilter |
Interface for classes which provide operations that can be applied to the coordinates in a CoordinateSequence. More... | |
class | Dimension |
Constants representing the dimensions of a point, a curve and a surface. More... | |
class | Envelope |
An Envelope defines a rectangulare region of the 2D coordinate plane. More... | |
class | Geometry |
Basic implementation of Geometry, constructed and destructed by GeometryFactory. More... | |
class | GeometryCollection |
Represents a collection of heterogeneous Geometry objects. More... | |
class | GeometryComponentFilter |
class | GeometryFactory |
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geometry objects. More... | |
class | GeometryFilter |
Geometry classes support the concept of applying a Geometry filter to the Geometry. More... | |
class | IntersectionMatrix |
Implementation of Dimensionally Extended Nine-Intersection Model (DE-9IM) matrix. More... | |
class | LinearRing |
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple. More... | |
class | LineSegment |
class | LineString |
class | MultiLineString |
Models a collection of LineStrings. More... | |
class | MultiPoint |
class | MultiPolygon |
Models a collection of Polygons. More... | |
class | Point |
class | Polygon |
Represents a linear polygon, which may include holes. More... | |
class | PrecisionModel |
Specifies the precision model of the Coordinate in a Geometry. More... | |
class | Triangle |
Represents a planar triangle, and provides methods for calculating various properties of triangles. More... | |
class | TrianglePredicate |
Typedefs | |
typedef CoordinateArraySequence | DefaultCoordinateSequence |
This is for backward API compatibility. | |
typedef CoordinateArraySequenceFactory | DefaultCoordinateSequenceFactory |
This is for backward API compatibility. | |
Enumerations | |
enum | GeometryTypeId { GEOS_POINT, GEOS_LINESTRING, GEOS_LINEARRING, GEOS_POLYGON, GEOS_MULTIPOINT, GEOS_MULTILINESTRING, GEOS_MULTIPOLYGON, GEOS_GEOMETRYCOLLECTION } |
Geometry types. More... | |
enum | GeometrySortIndex { SORTINDEX_POINT = 0, SORTINDEX_MULTIPOINT = 1, SORTINDEX_LINESTRING = 2, SORTINDEX_LINEARRING = 3, SORTINDEX_MULTILINESTRING = 4, SORTINDEX_POLYGON = 5, SORTINDEX_MULTIPOLYGON = 6, SORTINDEX_GEOMETRYCOLLECTION = 7 } |
enum | Location : char { Location::UNDEF = (char)(-1), Location::INTERIOR = 0, Location::BOUNDARY = 1, Location::EXTERIOR = 2 } |
Constants representing the location of a point relative to a geometry. More... | |
Functions | |
bool | check_valid (const Geometry &g, const std::string &label, bool doThrow=false, bool validOnly=false) |
std::unique_ptr< Geometry > | fix_self_intersections (std::unique_ptr< Geometry > g, const std::string &label) |
template<class BinOp > | |
std::unique_ptr< Geometry > | SnapOp (const Geometry *g0, const Geometry *g1, BinOp _Op) |
Apply a binary operation to the given geometries after snapping them to each other after common-bits removal. | |
template<class BinOp > | |
std::unique_ptr< Geometry > | BinaryOp (const Geometry *g0, const Geometry *g1, BinOp _Op) |
bool | operator< (const Coordinate &a, const Coordinate &b) |
Strict weak ordering operator for Coordinate. | |
std::ostream & | operator<< (std::ostream &os, const Coordinate &c) |
Output function. | |
bool | operator== (const Coordinate &a, const Coordinate &b) |
Equality operator for Coordinate. 2D only. | |
bool | operator!= (const Coordinate &a, const Coordinate &b) |
Inequality operator for Coordinate. 2D only. | |
std::ostream & | operator<< (std::ostream &os, const CoordinateList &cl) |
std::ostream & | operator<< (std::ostream &os, const CoordinateSequence &cs) |
bool | operator== (const CoordinateSequence &s1, const CoordinateSequence &s2) |
bool | operator!= (const CoordinateSequence &s1, const CoordinateSequence &s2) |
std::ostream & | operator<< (std::ostream &os, const Envelope &o) |
Output operator. | |
bool | operator== (const Envelope &a, const Envelope &b) |
Checks if two Envelopes are equal (2D only check) | |
std::ostream & | operator<< (std::ostream &os, const Geometry &geom) |
Write the Well-known Binary representation of this Geometry as an HEX string to the given output stream. | |
std::string | geosversion () |
Return current GEOS version. | |
std::string | jtsport () |
Return the version of JTS this GEOS release has been ported from. | |
std::ostream & | operator<< (std::ostream &os, const IntersectionMatrix &im) |
std::ostream & | operator<< (std::ostream &o, const LineSegment &l) |
bool | operator== (const LineSegment &a, const LineSegment &b) |
Checks if two LineSegment are equal (2D only check) | |
std::ostream & | operator<< (std::ostream &os, const Location &loc) |
Contains the Geometry
interface hierarchy and supporting classes.
The Java Topology Suite (JTS) is a Java API that implements a core set of spatial data operations using an explicit precision model and robust geometric algorithms. JTS is int ended to be used in the development of applications that support the validation, cleaning, integration and querying of spatial datasets.
JTS attempts to implement the OpenGIS Simple Features Specification (SFS) as accurately as possible. In some cases the SFS is unclear or omits a specification; in this case J TS attempts to choose a reasonable and consistent alternative. Differences from and elaborations of the SFS are documented in this specification.
Geometry types.
|
strong |
Constants representing the location of a point relative to a geometry.
They can also be thought of as the row or column index of a DE-9IM matrix. For a description of the DE-9IM, see the OpenGIS Simple Features Specification for SQL.