Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

geos::geom Namespace Reference

Contains the Geometry interface hierarchy and supporting classes. More...


Classes

class  geos::geom::Coordinate
 Coordinate is the lightweight class used to store coordinates. More...
struct  geos::geom::CoordinateLessThen
 Strict weak ordering Functor for Coordinate. More...
class  geos::geom::CoordinateArraySequence
 The default implementation of CoordinateSequence. More...
class  geos::geom::CoordinateArraySequenceFactory
 Creates CoordinateSequences internally represented as an array of Coordinates. More...
class  geos::geom::CoordinateFilter
class  geos::geom::CoordinateList
 A list of Coordinates, which may be set to prevent repeated coordinates from occuring in the list. More...
class  geos::geom::CoordinateSequence
 The internal representation of a list of coordinates inside a Geometry. More...
class  geos::geom::CoordinateSequenceFactory
 A factory to create concrete instances of CoordinateSequences. More...
class  geos::geom::CoordinateSequenceFilter
class  geos::geom::Dimension
 Constants representing the dimensions of a point, a curve and a surface. More...
class  geos::geom::Envelope
 An Envelope defines a rectangulare region of the 2D coordinate plane. More...
class  geos::geom::Geometry
 Basic implementation of Geometry, constructed and destructed by GeometryFactory. More...
class  geos::geom::GeometryCollection
 Represents a collection of heterogeneous Geometry objects. More...
class  geos::geom::GeometryComponentFilter
class  geos::geom::GeometryFactory
 Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geometry objects. More...
class  geos::geom::GeometryFilter
 Geometry classes support the concept of applying a Geometry filter to the Geometry. More...
class  geos::geom::GeometryList
 Manager of Geometry pointers. Owns the Geometries. More...
class  geos::geom::IntersectionMatrix
 Implementation of Dimensionally Extended Nine-Intersection Model (DE-9IM) matrix. More...
class  geos::geom::Lineal
class  geos::geom::LinearRing
 Models an OGC SFS LinearRing. More...
class  geos::geom::LineSegment
class  geos::geom::LineString
class  geos::geom::Location
class  geos::geom::MultiLineString
 Models a collection of (}s. More...
class  geos::geom::MultiPoint
class  geos::geom::MultiPolygon
 Models a collection of Polygons. More...
class  geos::geom::Point
class  geos::geom::Polygon
 Represents a linear polygon, which may include holes. More...
class  geos::geom::Polygonal
class  geos::geom::PrecisionModel
 Specifies the precision model of the Coordinate in a Geometry. More...
class  geos::geom::Puntal
class  geos::geom::Triangle
 Represents a planar triangle, and provides methods for calculating various properties of triangles. More...

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...

Functions

bool check_valid (const Geometry &g, const std::string &label)
std::auto_ptr< Geometryfix_self_intersections (std::auto_ptr< Geometry > g, const std::string &label)
template<class BinOp>
std::auto_ptr< GeometrySnapOp (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::auto_ptr< GeometryBinaryOp (const Geometry *g0, const Geometry *g1, BinOp _Op)
bool operator< (const Coordinate &a, const Coordinate &b)
 Strict weak ordering operator for Coordinate.
GEOS_DLL std::ostream & operator<< (std::ostream &os, const Coordinate &c)
 Output function.
GEOS_DLL bool operator== (const Coordinate &a, const Coordinate &b)
 Equality operator for Coordinate. 2D only.
GEOS_DLL bool operator!= (const Coordinate &a, const Coordinate &b)
 Inequality operator for Coordinate. 2D only.
std::ostream & operator<< (std::ostream &os, const CoordinateList &cl)
GEOS_DLL std::ostream & operator<< (std::ostream &os, const CoordinateSequence &cs)
GEOS_DLL bool operator== (const CoordinateSequence &s1, const CoordinateSequence &s2)
GEOS_DLL bool operator!= (const CoordinateSequence &s1, const CoordinateSequence &s2)
GEOS_DLL bool operator== (const Envelope &a, const Envelope &b)
 Checks if two Envelopes are equal (2D only check).
GEOS_DLL 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.
GEOS_DLL 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).


Detailed Description

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.

Package Specification


Enumeration Type Documentation

enum GeometryTypeId
 

Geometry types.

Enumeration values:
GEOS_POINT  a point
GEOS_LINESTRING  a linestring
GEOS_LINEARRING  a linear ring (linestring with 1st point == last point)
GEOS_POLYGON  a polygon
GEOS_MULTIPOINT  a collection of points
GEOS_MULTILINESTRING  a collection of linestrings
GEOS_MULTIPOLYGON  a collection of polygons
GEOS_GEOMETRYCOLLECTION  a collection of heterogeneus geometries


Generated on Tue Jun 5 11:39:10 2012 for GEOS by  doxygen 1.3.9.1