GEOS: geos Namespace Reference

- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- Namespace List
- Namespace Members

# geos Namespace Reference

Basic namespace for all GEOS functionalities. More...

## Classes
class | PrecisionModel
| Specifies the precision model of the Coordinate in a Geometry. More...
class | Coordinate
| Coordinate is the lightweight class used to store coordinates. More...
class | CoordinateSequence
| The internal representation of a list of coordinates inside a Geometry. More...
class | DefaultCoordinateSequence
| The default implementation of CoordinateSequence. More...
class | CoordinateSequenceFactory
| An object that knows how to build a particular implementation of CoordinateSequence from an array of Coordinates. More...
class | DefaultCoordinateSequenceFactory
| Creates CoordinateSequences internally represented as an array of Coordinates. 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 | Point
| Basic implementation of Point. More...
class | LineString
| Basic implementation of LineString. More...
class | LinearRing
| Basic implementation of `LinearRing`. More...
class | Polygon
| Represents a linear polygon, which may include holes. More...
class | MultiPoint
| Models a collection of Point objects. More...
class | MultiLineString
| Basic implementation of MultiLineString objects. More...
class | MultiPolygon
| Basic implementation of `MultiPolygon`. More...
class | GeometryFactory
| Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geometry objects. More...
class | HCoordinate
| Represents a homogeneous coordinate for 2-D coordinates. More...
class | ParseException
| Notifies a parsing error. More...
class | WKTReader
| WKT parser class; see also WKTWriter. More...
class | WKTWriter
| Outputs the textual representation of a Geometry. See also WKTReader. More...
class | WKBReader
| Reads a Geometry from Well-Known Binary format. More...
class | WKBWriter
| Writes a Geometry into Well-Known Binary format. More...
class | GEOSException
| Base class for all GEOS exceptions. More...
class | AssertionFailedException
| Indicates a bug in GEOS code. More...
class | IllegalArgumentException
| Indicates one or more legal arguments. More...
class | TopologyException
| Indicates an invalid or inconsistent topological situation encountered during processing. More...
class | UnsupportedOperationException
| Indicates that the requested operation is unsopported. More...
class | GeometricShapeFactory
| Computes various kinds of common geometric shapes. Allows various ways of specifying the location and extent of the shapes, as well as number of line segments used to form them. More...
## Namespaces
namespace | WKBConstants
## Typedefs
typedef unsigned char | byte
| An unsigned char.
## Enumerations
enum | GeometryTypeId { GEOS_POINT, GEOS_LINESTRING, GEOS_LINEARRING, GEOS_POLYGON, GEOS_MULTIPOINT, GEOS_MULTILINESTRING, GEOS_MULTIPOLYGON, GEOS_GEOMETRYCOLLECTION }
| Geometry types. More...
## Functions
string | geosversion ()
| Return current GEOS version.
string | jtsport ()
| Return the version of JTS this GEOS release has been ported from.
ostream & | operator<< (ostream &os, const Profile &)
| Return a string representing the Profile.
ostream & | operator<< (ostream &os, const Profiler &)
| Return a string representing the Profiler.

## Detailed Description

Basic namespace for all GEOS functionalities.

## Enumeration Type Documentation

enum geos::GeometryTypeId

Geometry types.

Enumerator:

  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