Expand description
Low level GEOS C API bindings for GEOS >= 3.6.0.
It provides C-interface as is. If you want to use a more Rust-friendly crate, use the georust/geos crate. You can also find it on crates.io.
By default, the build will use system-installed GEOS if available.
You can build the included version of GEOS using the static
feature, which
will also statically link libgeos to this crate. In order to build GEOS, you
need to have cmake
and a C++ compiler.
This documentation is generated based on GEOS 3.11. Please see the GEOS Changelog for a listing of which entries were added for each GEOS version.
Structs§
- GEOS
BufParams_ t - GEOS
Context Handle_ HS - GEOS
Coord Seq_ t - GEOS
Geom_ t - GEOS
Prep Geom_ t - GEOSST
Rtree_ t - GEOSWKB
Reader_ t - GEOSWKB
Writer_ t - GEOSWKT
Reader_ t - GEOSWKT
Writer_ t
Constants§
- GEOS
BufCap Styles_ GEOSBUF_ CAP_ FLAT - GEOS
BufCap Styles_ GEOSBUF_ CAP_ ROUND - GEOS
BufCap Styles_ GEOSBUF_ CAP_ SQUARE - GEOS
BufJoin Styles_ GEOSBUF_ JOIN_ BEVEL - GEOS
BufJoin Styles_ GEOSBUF_ JOIN_ MITRE - GEOS
BufJoin Styles_ GEOSBUF_ JOIN_ ROUND - GEOS
Byte Orders_ GEOS_ WKB_ NDR - GEOS
Byte Orders_ GEOS_ WKB_ XDR - GEOS
Geom Types_ GEOS_ GEOMETRYCOLLECTION - GEOS
Geom Types_ GEOS_ LINEARRING - GEOS
Geom Types_ GEOS_ LINESTRING - GEOS
Geom Types_ GEOS_ MULTILINESTRING - GEOS
Geom Types_ GEOS_ MULTIPOINT - GEOS
Geom Types_ GEOS_ MULTIPOLYGON - GEOS
Geom Types_ GEOS_ POINT - GEOS
Geom Types_ GEOS_ POLYGON - GEOS
Relate Boundary Node Rules_ GEOSRELATE_ BNR_ ENDPOINT - GEOS
Relate Boundary Node Rules_ GEOSRELATE_ BNR_ MOD2 - GEOS
Relate Boundary Node Rules_ GEOSRELATE_ BNR_ MONOVALENT_ ENDPOINT - GEOS
Relate Boundary Node Rules_ GEOSRELATE_ BNR_ MULTIVALENT_ ENDPOINT - GEOS
Relate Boundary Node Rules_ GEOSRELATE_ BNR_ OGC - GEOS
Valid Flags_ GEOSVALID_ ALLOW_ SELFTOUCHING_ RING_ FORMING_ HOLE - GEOS_
CAPI_ VERSION_ MAJOR - GEOS_
CAPI_ VERSION_ MINOR - GEOS_
CAPI_ VERSION_ PATCH - GEOS_
PREC_ KEEP_ COLLAPSED - GEOS_
PREC_ NO_ TOPO - GEOS_
VERSION_ MAJOR - GEOS_
VERSION_ MINOR - GEOS_
VERSION_ PATCH
Functions§
- GEOS
Area ⚠ - GEOS
Area_ ⚠r - GEOS
Boundary ⚠ - GEOS
Boundary_ ⚠r - GEOS
Buffer ⚠ - GEOS
Buffer ⚠Params_ create - GEOS
Buffer ⚠Params_ create_ r - GEOS
Buffer ⚠Params_ destroy - GEOS
Buffer ⚠Params_ destroy_ r - GEOS
Buffer ⚠Params_ setEnd CapStyle - GEOS
Buffer ⚠Params_ setEnd CapStyle_ r - GEOS
Buffer ⚠Params_ setJoin Style - GEOS
Buffer ⚠Params_ setJoin Style_ r - GEOS
Buffer ⚠Params_ setMitre Limit - GEOS
Buffer ⚠Params_ setMitre Limit_ r - GEOS
Buffer ⚠Params_ setQuadrant Segments - GEOS
Buffer ⚠Params_ setQuadrant Segments_ r - GEOS
Buffer ⚠Params_ setSingle Sided - GEOS
Buffer ⚠Params_ setSingle Sided_ r - GEOS
Buffer ⚠With Params - GEOS
Buffer ⚠With Params_ r - GEOS
Buffer ⚠With Style - GEOS
Buffer ⚠With Style_ r - GEOS
Buffer_ ⚠r - GEOS
Clip ⚠ByRect - GEOS
Clip ⚠ByRect_ r - GEOS
Contains ⚠ - GEOS
Contains_ ⚠r - GEOS
Context_ ⚠setError Handler_ r - GEOS
Context_ ⚠setError Message Handler_ r - GEOS
Context_ ⚠setNotice Handler_ r - GEOS
Context_ ⚠setNotice Message Handler_ r - GEOS
Convex ⚠Hull - GEOS
Convex ⚠Hull_ r - GEOS
Coord ⚠Seq_ clone - GEOS
Coord ⚠Seq_ clone_ r - GEOS
Coord ⚠Seq_ create - GEOS
Coord ⚠Seq_ create_ r - GEOS
Coord ⚠Seq_ destroy - GEOS
Coord ⚠Seq_ destroy_ r - GEOS
Coord ⚠Seq_ getDimensions - GEOS
Coord ⚠Seq_ getDimensions_ r - GEOS
Coord ⚠Seq_ getOrdinate - GEOS
Coord ⚠Seq_ getOrdinate_ r - GEOS
Coord ⚠Seq_ getSize - GEOS
Coord ⚠Seq_ getSize_ r - GEOS
Coord ⚠Seq_ getX - GEOS
Coord ⚠Seq_ getX_ r - GEOS
Coord ⚠Seq_ getY - GEOS
Coord ⚠Seq_ getY_ r - GEOS
Coord ⚠Seq_ getZ - GEOS
Coord ⚠Seq_ getZ_ r - GEOS
Coord ⚠Seq_ setOrdinate - GEOS
Coord ⚠Seq_ setOrdinate_ r - GEOS
Coord ⚠Seq_ setX - GEOS
Coord ⚠Seq_ setX_ r - GEOS
Coord ⚠Seq_ setY - GEOS
Coord ⚠Seq_ setY_ r - GEOS
Coord ⚠Seq_ setZ - GEOS
Coord ⚠Seq_ setZ_ r - GEOS
Covered ⚠By - GEOS
Covered ⚠By_ r - GEOS
Covers ⚠ - GEOS
Covers_ ⚠r - GEOS
Crosses ⚠ - GEOS
Crosses_ ⚠r - GEOS
Delaunay ⚠Triangulation - GEOS
Delaunay ⚠Triangulation_ r - GEOS
Difference ⚠ - GEOS
Difference_ ⚠r - GEOS
Disjoint ⚠ - GEOS
Disjoint_ ⚠r - GEOS
Distance ⚠ - GEOS
Distance_ ⚠r - GEOS
Envelope ⚠ - GEOS
Envelope_ ⚠r - GEOS
Equals ⚠ - GEOS
Equals ⚠Exact - GEOS
Equals ⚠Exact_ r - GEOS
Equals_ ⚠r - GEOS
Free ⚠ - GEOS
Free_ ⚠r - GEOS
Geom ⚠FromHEX_ buf - GEOS
Geom ⚠FromHEX_ buf_ r - GEOS
Geom ⚠FromWKB_ buf - GEOS
Geom ⚠FromWKB_ buf_ r - GEOS
Geom ⚠GetEnd Point - GEOS
Geom ⚠GetEnd Point_ r - GEOS
Geom ⚠GetLength - GEOS
Geom ⚠GetLength_ r - GEOS
Geom ⚠GetNum Points - GEOS
Geom ⚠GetNum Points_ r - GEOS
Geom ⚠GetPointN - GEOS
Geom ⚠GetPointN_ r - GEOS
Geom ⚠GetStart Point - GEOS
Geom ⚠GetStart Point_ r - GEOS
Geom ⚠GetX - GEOS
Geom ⚠GetX_ r - GEOS
Geom ⚠GetY - GEOS
Geom ⚠GetY_ r - GEOS
Geom ⚠ToHEX_ buf - GEOS
Geom ⚠ToHEX_ buf_ r - GEOS
Geom ⚠ToWKB_ buf - GEOS
Geom ⚠ToWKB_ buf_ r - GEOS
Geom ⚠Type - GEOS
Geom ⚠Type Id - GEOS
Geom ⚠Type Id_ r - GEOS
Geom ⚠Type_ r - GEOS
Geom_ ⚠clone - GEOS
Geom_ ⚠clone_ r - GEOS
Geom_ ⚠create Collection - GEOS
Geom_ ⚠create Collection_ r - GEOS
Geom_ ⚠create Empty Collection - GEOS
Geom_ ⚠create Empty Collection_ r - GEOS
Geom_ ⚠create Empty Line String - GEOS
Geom_ ⚠create Empty Line String_ r - GEOS
Geom_ ⚠create Empty Point - GEOS
Geom_ ⚠create Empty Point_ r - GEOS
Geom_ ⚠create Empty Polygon - GEOS
Geom_ ⚠create Empty Polygon_ r - GEOS
Geom_ ⚠create Line String - GEOS
Geom_ ⚠create Line String_ r - GEOS
Geom_ ⚠create Linear Ring - GEOS
Geom_ ⚠create Linear Ring_ r - GEOS
Geom_ ⚠create Point - GEOS
Geom_ ⚠create Point_ r - GEOS
Geom_ ⚠create Polygon - GEOS
Geom_ ⚠create Polygon_ r - GEOS
Geom_ ⚠destroy - GEOS
Geom_ ⚠destroy_ r - GEOS
Geom_ ⚠extract Unique Points - GEOS
Geom_ ⚠extract Unique Points_ r - GEOS
Geom_ ⚠getCoord Seq - GEOS
Geom_ ⚠getCoord Seq_ r - GEOS
Geom_ ⚠getCoordinate Dimension - GEOS
Geom_ ⚠getCoordinate Dimension_ r - GEOS
Geom_ ⚠getDimensions - GEOS
Geom_ ⚠getDimensions_ r - GEOS
Geom_ ⚠getPrecision - GEOS
Geom_ ⚠getPrecision_ r - GEOS
Geom_ ⚠getUser Data - GEOS
Geom_ ⚠getUser Data_ r - GEOS
Geom_ ⚠setPrecision - GEOS
Geom_ ⚠setPrecision_ r - GEOS
Geom_ ⚠setUser Data - GEOS
Geom_ ⚠setUser Data_ r - GEOS
GetCentroid ⚠ - GEOS
GetCentroid_ ⚠r - GEOS
GetExterior ⚠Ring - GEOS
GetExterior ⚠Ring_ r - GEOS
GetGeometryN ⚠ - GEOS
GetGeometryN_ ⚠r - GEOS
GetInterior ⚠RingN - GEOS
GetInterior ⚠RingN_ r - GEOS
GetNum ⚠Coordinates - GEOS
GetNum ⚠Coordinates_ r - GEOS
GetNum ⚠Geometries - GEOS
GetNum ⚠Geometries_ r - GEOS
GetNum ⚠Interior Rings - GEOS
GetNum ⚠Interior Rings_ r - GEOS
GetSRID ⚠ - GEOS
GetSRID_ ⚠r - GEOS
HasZ ⚠ - GEOS
HasZ_ ⚠r - GEOS
Hausdorff ⚠Distance - GEOS
Hausdorff ⚠Distance Densify - GEOS
Hausdorff ⚠Distance Densify_ r - GEOS
Hausdorff ⚠Distance_ r - GEOS
Interpolate ⚠ - GEOS
Interpolate ⚠Normalized - GEOS
Interpolate ⚠Normalized_ r - GEOS
Interpolate_ ⚠r - GEOS
Intersection ⚠ - GEOS
Intersection_ ⚠r - GEOS
Intersects ⚠ - GEOS
Intersects_ ⚠r - GEOS
Length ⚠ - GEOS
Length_ ⚠r - GEOS
Line ⚠Merge - GEOS
Line ⚠Merge_ r - GEOS
Minimum ⚠Clearance - GEOS
Minimum ⚠Clearance Line - GEOS
Minimum ⚠Clearance Line_ r - GEOS
Minimum ⚠Clearance_ r - GEOS
Minimum ⚠Rotated Rectangle - GEOS
Minimum ⚠Rotated Rectangle_ r - GEOS
Minimum ⚠Width - GEOS
Minimum ⚠Width_ r - GEOS
Nearest ⚠Points - GEOS
Nearest ⚠Points_ r - GEOS
Node ⚠ - GEOS
Node_ ⚠r - GEOS
Normalize ⚠ - GEOS
Normalize_ ⚠r - GEOS
Offset ⚠Curve - GEOS
Offset ⚠Curve_ r - GEOS
Orientation ⚠Index - GEOS
Orientation ⚠Index_ r - GEOS
Overlaps ⚠ - GEOS
Overlaps_ ⚠r - GEOS
Point ⚠OnSurface - GEOS
Point ⚠OnSurface_ r - GEOS
Polygonize ⚠ - GEOS
Polygonize_ ⚠full - GEOS
Polygonize_ ⚠full_ r - GEOS
Polygonize_ ⚠r - GEOS
Polygonizer_ ⚠getCut Edges - GEOS
Polygonizer_ ⚠getCut Edges_ r - GEOS
Prepare ⚠ - GEOS
Prepare_ ⚠r - GEOS
Prepared ⚠Contains - GEOS
Prepared ⚠Contains Properly - GEOS
Prepared ⚠Contains Properly_ r - GEOS
Prepared ⚠Contains_ r - GEOS
Prepared ⚠Covered By - GEOS
Prepared ⚠Covered By_ r - GEOS
Prepared ⚠Covers - GEOS
Prepared ⚠Covers_ r - GEOS
Prepared ⚠Crosses - GEOS
Prepared ⚠Crosses_ r - GEOS
Prepared ⚠Disjoint - GEOS
Prepared ⚠Disjoint_ r - GEOS
Prepared ⚠Geom_ destroy - GEOS
Prepared ⚠Geom_ destroy_ r - GEOS
Prepared ⚠Intersects - GEOS
Prepared ⚠Intersects_ r - GEOS
Prepared ⚠Overlaps - GEOS
Prepared ⚠Overlaps_ r - GEOS
Prepared ⚠Touches - GEOS
Prepared ⚠Touches_ r - GEOS
Prepared ⚠Within - GEOS
Prepared ⚠Within_ r - GEOS
Project ⚠ - GEOS
Project ⚠Normalized - GEOS
Project ⚠Normalized_ r - GEOS
Project_ ⚠r - GEOS
Relate ⚠ - GEOS
Relate ⚠Boundary Node Rule - GEOS
Relate ⚠Boundary Node Rule_ r - GEOS
Relate ⚠Pattern - GEOS
Relate ⚠Pattern Match - GEOS
Relate ⚠Pattern Match_ r - GEOS
Relate ⚠Pattern_ r - GEOS
Relate_ ⚠r - GEOSST
Rtree_ ⚠create - GEOSST
Rtree_ ⚠create_ r - GEOSST
Rtree_ ⚠destroy - GEOSST
Rtree_ ⚠destroy_ r - GEOSST
Rtree_ ⚠insert - GEOSST
Rtree_ ⚠insert_ r - GEOSST
Rtree_ ⚠iterate - GEOSST
Rtree_ ⚠iterate_ r - GEOSST
Rtree_ ⚠nearest - GEOSST
Rtree_ ⚠nearest_ generic - GEOSST
Rtree_ ⚠nearest_ generic_ r - GEOSST
Rtree_ ⚠nearest_ r - GEOSST
Rtree_ ⚠query - GEOSST
Rtree_ ⚠query_ r - GEOSST
Rtree_ ⚠remove - GEOSST
Rtree_ ⚠remove_ r - GEOS
SetSRID ⚠ - GEOS
SetSRID_ ⚠r - GEOS
Shared ⚠Paths - GEOS
Shared ⚠Paths_ r - GEOS
Simplify ⚠ - GEOS
Simplify_ ⚠r - GEOS
Snap ⚠ - GEOS
Snap_ ⚠r - GEOS
SymDifference ⚠ - GEOS
SymDifference_ ⚠r - GEOS
Topology ⚠Preserve Simplify - GEOS
Topology ⚠Preserve Simplify_ r - GEOS
Touches ⚠ - GEOS
Touches_ ⚠r - GEOS
Unary ⚠Union - GEOS
Unary ⚠Union_ r - GEOS
Union ⚠ - GEOS
Union_ ⚠r - GEOS
Voronoi ⚠Diagram - GEOS
Voronoi ⚠Diagram_ r - GEOSWKB
Reader_ ⚠create - GEOSWKB
Reader_ ⚠create_ r - GEOSWKB
Reader_ ⚠destroy - GEOSWKB
Reader_ ⚠destroy_ r - GEOSWKB
Reader_ ⚠read - GEOSWKB
Reader_ ⚠readHEX - GEOSWKB
Reader_ ⚠readHEX_ r - GEOSWKB
Reader_ ⚠read_ r - GEOSWKB
Writer_ ⚠create - GEOSWKB
Writer_ ⚠create_ r - GEOSWKB
Writer_ ⚠destroy - GEOSWKB
Writer_ ⚠destroy_ r - GEOSWKB
Writer_ ⚠getByte Order - GEOSWKB
Writer_ ⚠getByte Order_ r - GEOSWKB
Writer_ ⚠getIncludeSRID - GEOSWKB
Writer_ ⚠getIncludeSRID_ r - GEOSWKB
Writer_ ⚠getOutput Dimension - GEOSWKB
Writer_ ⚠getOutput Dimension_ r - GEOSWKB
Writer_ ⚠setByte Order - GEOSWKB
Writer_ ⚠setByte Order_ r - GEOSWKB
Writer_ ⚠setIncludeSRID - GEOSWKB
Writer_ ⚠setIncludeSRID_ r - GEOSWKB
Writer_ ⚠setOutput Dimension - GEOSWKB
Writer_ ⚠setOutput Dimension_ r - GEOSWKB
Writer_ ⚠write - GEOSWKB
Writer_ ⚠writeHEX - GEOSWKB
Writer_ ⚠writeHEX_ r - GEOSWKB
Writer_ ⚠write_ r - GEOSWKT
Reader_ ⚠create - GEOSWKT
Reader_ ⚠create_ r - GEOSWKT
Reader_ ⚠destroy - GEOSWKT
Reader_ ⚠destroy_ r - GEOSWKT
Reader_ ⚠read - GEOSWKT
Reader_ ⚠read_ r - GEOSWKT
Writer_ ⚠create - GEOSWKT
Writer_ ⚠create_ r - GEOSWKT
Writer_ ⚠destroy - GEOSWKT
Writer_ ⚠destroy_ r - GEOSWKT
Writer_ ⚠getOutput Dimension - GEOSWKT
Writer_ ⚠getOutput Dimension_ r - GEOSWKT
Writer_ ⚠setOld3D - GEOSWKT
Writer_ ⚠setOld3D_ r - GEOSWKT
Writer_ ⚠setOutput Dimension - GEOSWKT
Writer_ ⚠setOutput Dimension_ r - GEOSWKT
Writer_ ⚠setRounding Precision - GEOSWKT
Writer_ ⚠setRounding Precision_ r - GEOSWKT
Writer_ ⚠setTrim - GEOSWKT
Writer_ ⚠setTrim_ r - GEOSWKT
Writer_ ⚠write - GEOSWKT
Writer_ ⚠write_ r - GEOS
Within ⚠ - GEOS
Within_ ⚠r - GEOS_
finish_ ⚠r - GEOS_
getWKB ⚠Byte Order - GEOS_
getWKB ⚠Byte Order_ r - GEOS_
getWKB ⚠Output Dims - GEOS_
getWKB ⚠Output Dims_ r - GEOS_
init_ ⚠r - GEOS_
interrupt ⚠Cancel - GEOS_
interrupt ⚠Register Callback - GEOS_
interrupt ⚠Request - GEOS_
setWKB ⚠Byte Order - GEOS_
setWKB ⚠Byte Order_ r - GEOS_
setWKB ⚠Output Dims - GEOS_
setWKB ⚠Output Dims_ r - GEOSis
Closed ⚠ - GEOSis
Closed_ ⚠r - GEOSis
Empty ⚠ - GEOSis
Empty_ ⚠r - GEOSis
Ring ⚠ - GEOSis
Ring_ ⚠r - GEOSis
Simple ⚠ - GEOSis
Simple_ ⚠r - GEOSis
Valid ⚠ - GEOSis
Valid ⚠Detail - GEOSis
Valid ⚠Detail_ r - GEOSis
Valid ⚠Reason - GEOSis
Valid ⚠Reason_ r - GEOSis
Valid_ ⚠r - GEOSversion⚠
Type Aliases§
- GEOS
BufCap Styles - GEOS
BufJoin Styles - GEOS
Buffer Params - GEOS
Byte Orders - GEOS
Context Handle_ t - GEOS
Coord Seq - GEOS
Coord Sequence - GEOS
Distance Callback - GEOS
Geom - GEOS
Geom Types - GEOS
Geometry - GEOS
Interrupt Callback - GEOS
Message Handler - GEOS
Message Handler_ r - GEOS
Prepared Geometry - GEOS
Query Callback - GEOS
Relate Boundary Node Rules - GEOSST
Rtree - GEOS
Valid Flags - GEOSWKB
Reader - GEOSWKB
Writer - GEOSWKT
Reader - GEOSWKT
Writer - max_
align_ t - wchar_t