/dports/graphics/geos/geos-3.9.1/capi/ |
H A D | geos_c.h.in | 107 #ifndef GEOSGeometry 727 const GEOSGeometry* g1, const GEOSGeometry* g2); 1629 extern GEOSGeometry GEOS_DLL *GEOSIntersection(const GEOSGeometry* g1, const GEOSGeometry* g2); 1706 extern GEOSGeometry GEOS_DLL *GEOSDifference(const GEOSGeometry* g1, const GEOSGeometry* g2); 1708 extern GEOSGeometry GEOS_DLL *GEOSSymDifference(const GEOSGeometry* g1, const GEOSGeometry* g2); 1711 extern GEOSGeometry GEOS_DLL *GEOSUnion(const GEOSGeometry* g1, const GEOSGeometry* g2); 1712 extern GEOSGeometry GEOS_DLL *GEOSUnionPrec(const GEOSGeometry* g1, const GEOSGeometry* g2, double … 1727 extern GEOSGeometry GEOS_DLL *GEOSNode(const GEOSGeometry* g); 1738 GEOSGeometry** cuts, GEOSGeometry** dangles, GEOSGeometry** invalid); 1774 extern GEOSGeometry GEOS_DLL *GEOSSnap(const GEOSGeometry* g1, [all …]
|
/dports/devel/py-shapely/Shapely-1.8.0/shapely/ |
H A D | _geos.pxi | 9 ctypedef struct GEOSGeometry 14 GEOSCoordSequence *GEOSGeom_getCoordSeq_r(GEOSContextHandle_t, GEOSGeometry *) nogil 24 GEOSGeometry *GEOSGeom_createPoint_r(GEOSContextHandle_t, GEOSCoordSequence *) nogil 25 GEOSGeometry *GEOSGeom_createLineString_r(GEOSContextHandle_t, GEOSCoordSequence *) nogil 27 GEOSGeometry *GEOSGeom_clone_r(GEOSContextHandle_t, GEOSGeometry *) nogil 30 void GEOSGeom_destroy_r(GEOSContextHandle_t, GEOSGeometry *) nogil 43 char GEOSHasZ_r(GEOSContextHandle_t, GEOSGeometry *) nogil 44 char GEOSisRing_r(GEOSContextHandle_t, GEOSGeometry *) nogil 45 char GEOSisClosed_r(GEOSContextHandle_t, GEOSGeometry *) nogil 46 char GEOSisValid_r(GEOSContextHandle_t, GEOSGeometry *) nogil [all …]
|
/dports/graphics/php-geos/php-geos/ |
H A D | geos.c | 808 GEOSGeometry *ret; in PHP_METHOD() 858 GEOSGeometry *ret; in PHP_METHOD() 955 GEOSGeometry *ret; in PHP_METHOD() 1013 GEOSGeometry *ret; in PHP_METHOD() 1029 GEOSGeometry *ret; in PHP_METHOD() 1960 GEOSGeometry *cc; in PHP_METHOD() 2059 GEOSGeometry *cc; in PHP_METHOD() 2086 GEOSGeometry *cc; in PHP_METHOD() 2157 GEOSGeometry *c; in PHP_METHOD() 2182 GEOSGeometry *c; in PHP_METHOD() [all …]
|
/dports/graphics/py-pygeos/pygeos-0.10.2/pygeos/ |
H A D | _geos.pxd | 13 ctypedef struct GEOSGeometry 24 …const GEOSGeometry* GEOSGetGeometryN_r(GEOSContextHandle_t handle, const GEOSGeometry* g, int n) n… 25 … const GEOSGeometry* GEOSGetExteriorRing_r(GEOSContextHandle_t handle, const GEOSGeometry* g) nogil 26 …const GEOSGeometry* GEOSGetInteriorRingN_r(GEOSContextHandle_t handle, const GEOSGeometry* g, int … 27 int GEOSGeomTypeId_r(GEOSContextHandle_t handle, GEOSGeometry* g) nogil 30 GEOSGeometry* GEOSGeom_clone_r(GEOSContextHandle_t handle, const GEOSGeometry* g) nogil 31 GEOSGeometry* GEOSGeom_createPoint_r(GEOSContextHandle_t handle, GEOSCoordSequence* s) nogil 34 GEOSGeometry* GEOSGeom_createEmptyPolygon_r(GEOSContextHandle_t handle) nogil 35 …GEOSGeometry* GEOSGeom_createPolygon_r(GEOSContextHandle_t handle, GEOSGeometry* shell, GEOSGeomet… 36 …GEOSGeometry* GEOSGeom_createCollection_r(GEOSContextHandle_t handle, int type, GEOSGeometry** geo… [all …]
|
/dports/graphics/geos/geos-3.9.1/tests/unit/capi/ |
H A D | GEOSSTRtreeTest.cpp | 19 static GEOSGeometry* 82 GEOSGeometry* g1 = GEOSGeomFromWKT("POINT (3 3)"); in test() 83 GEOSGeometry* g2 = GEOSGeomFromWKT("POINT (2 7)"); in test() 84 GEOSGeometry* g3 = GEOSGeomFromWKT("POINT (5 4)"); in test() 85 GEOSGeometry* g4 = GEOSGeomFromWKT("POINT (3 8)"); in test() 110 std::vector<GEOSGeometry*> geoms; in test() 111 std::vector<GEOSGeometry*> queryPoints; in test() 180 GEOSGeometry* g1 = INTPOINT2GEOS(&p1); in test() 181 GEOSGeometry* g2 = INTPOINT2GEOS(&p2); in test() 182 GEOSGeometry* g3 = INTPOINT2GEOS(&p3); in test() [all …]
|
H A D | GEOSInterruptTest.cpp | 87 GEOSGeometry* geom1 = GEOSGeomFromWKT("LINESTRING(0 0, 1 0)"); in test() 91 GEOSGeometry* geom2 = GEOSBuffer(geom1, 1, 8); in test() 120 GEOSGeometry* geom1 = GEOSGeomFromWKT("LINESTRING(0 0, 1 1, 2 2, 4 4)"); in test() 121 GEOSGeometry* geom2 = GEOSGeomFromWKT("LINESTRING(0 0, 1 1.01, 4 4.001)"); in test() 125 GEOSGeometry* geom3 = GEOSSnap(geom1, geom2, 0.1); in test() 154 GEOSGeometry* geom1 = GEOSGeomFromWKT("LINESTRING(0 0, 1 0)"); in test() 158 GEOSGeometry* geom2 = GEOSBuffer(geom1, 1, 8); in test() 180 GEOSGeometry* geom1 = GEOSGeomFromWKT("LINESTRING(0 0, 1 0)"); in test() 185 GEOSGeometry* geom2 = GEOSBuffer(geom1, 1, 8); in test() 206 GEOSGeometry* geom1 = GEOSGeomFromWKT("LINESTRING(0 0, 1 0)"); in test() [all …]
|
H A D | GEOSPolygonizeTest.cpp | 60 GEOSGeometry* geoms[size] = { nullptr }; in test() 65 GEOSGeometry* g = GEOSPolygonizer_getCutEdges(geoms, size); in test() 83 GEOSGeometry* geoms[size] = { nullptr }; in test() 93 GEOSGeometry* g = GEOSPolygonizer_getCutEdges(geoms, size); in test() 111 GEOSGeometry* geoms[size]; in test() 116 GEOSGeometry* g = GEOSPolygonize(geoms, size); in test() 141 GEOSGeometry* geoms[size]; in test() 144 GEOSGeometry* g = GEOSPolygonize_valid(geoms, size); in test() 162 GEOSGeometry* geoms[size]; in test() 166 GEOSGeometry* g = GEOSPolygonize_valid(geoms, size); in test()
|
H A D | GEOSGeom_createPolygonTest.cpp | 31 GEOSGeometry* shell = GEOSGeom_createLinearRing(shell_seq); in test() 32 GEOSGeometry* hole = GEOSGeom_createLinearRing(hole_seq); in test() 33 GEOSGeometry** holes = (GEOSGeometry**)malloc(sizeof(GEOSGeometry *)); in test() 36 GEOSGeometry* polygon = GEOSGeom_createPolygon(shell, holes, 1); in test() 37 …GEOSGeometry* expected = GEOSGeomFromWKT("POLYGON((0 0, 0 10, 10 10, 10 0, 0 0),(5 5, 5 6, 6 6, 6 … in test()
|
/dports/graphics/py-pygeos/pygeos-0.10.2/src/ |
H A D | geos.c | 33 const GEOSGeometry* sub_geom; in multipoint_has_point_empty() 78 const GEOSGeometry* sub_geom; in geometrycollection_has_point_empty() 121 GEOSGeometry* point_empty_to_nan(GEOSContextHandle_t ctx, GEOSGeometry* geom) { in point_empty_to_nan() 124 GEOSGeometry* result; in point_empty_to_nan() 154 GEOSGeometry* multipoint_empty_to_nan(GEOSContextHandle_t ctx, GEOSGeometry* geom) { in multipoint_empty_to_nan() 156 GEOSGeometry* result; in multipoint_empty_to_nan() 237 GEOSGeometry* point_empty_to_nan_all_geoms(GEOSContextHandle_t ctx, GEOSGeometry* geom) { in point_empty_to_nan_all_geoms() 239 GEOSGeometry* result; in point_empty_to_nan_all_geoms() 491 GEOSGeometry* geom = NULL; in create_box() 492 GEOSGeometry* ring = NULL; in create_box() [all …]
|
H A D | coords.c | 64 GEOSGeometry* ring; in get_coordinates_polygon() 66 ring = (GEOSGeometry*)GEOSGetExteriorRing_r(context, geom); in get_coordinates_polygon() 97 GEOSGeometry* sub_geom; in get_coordinates_collection() 140 GEOSGeometry* ret; in set_coordinates_simple() 213 GEOSGeometry *shell, *hole, *result = NULL; in set_coordinates_polygon() 219 GEOSGeometry** holes = malloc(sizeof(void*) * n); in set_coordinates_polygon() 258 GEOSGeometry *sub_geom, *result = NULL; in set_coordinates_collection() 263 GEOSGeometry** geoms = malloc(sizeof(void*) * n); in set_coordinates_collection() 310 GEOSGeometry* geom; in CountCoords() 369 GEOSGeometry* geom; in GetCoords() [all …]
|
/dports/databases/postgis32/postgis-3.2.0/liblwgeom/ |
H A D | lwgeom_geos.h | 34 LWGEOM* GEOS2LWGEOM(const GEOSGeometry* geom, uint8_t want3d); 35 GEOSGeometry* LWGEOM2GEOS(const LWGEOM* g, uint8_t autofix); 36 GEOSGeometry* GBOX2GEOS(const GBOX* g); 38 GEOSGeometry* LWGEOM_GEOS_buildArea(const GEOSGeometry* geom_in); 39 GEOSGeometry* LWGEOM_GEOS_makeValid(const GEOSGeometry*); 42 GEOSGeometry* make_geos_point(double x, double y); 43 GEOSGeometry* make_geos_segment(double x1, double y1, double x2, double y2); 45 int cluster_intersecting(GEOSGeometry **geoms, uint32_t num_geoms, GEOSGeometry ***clusterGeoms, ui…
|
H A D | lwgeom_geos_clean.c | 46 GEOSGeometry* LWGEOM_GEOS_getPointN(const GEOSGeometry*, uint32_t); 47 GEOSGeometry* 56 GEOSGeometry* ret; in LWGEOM_GEOS_getPointN() 369 static GEOSGeometry* 388 static GEOSGeometry* 415 GEOSGeometry* pi; in LWGEOM_GEOS_makeValidPolygon() 416 GEOSGeometry* po; in LWGEOM_GEOS_makeValidPolygon() 593 static GEOSGeometry* 601 static GEOSGeometry* 623 GEOSGeometry* vg; in LWGEOM_GEOS_makeValidMultiLine() [all …]
|
/dports/databases/postgis30/postgis-3.0.4/liblwgeom/ |
H A D | lwgeom_geos.h | 34 LWGEOM* GEOS2LWGEOM(const GEOSGeometry* geom, uint8_t want3d); 35 GEOSGeometry* LWGEOM2GEOS(const LWGEOM* g, uint8_t autofix); 36 GEOSGeometry* GBOX2GEOS(const GBOX* g); 38 GEOSGeometry* LWGEOM_GEOS_buildArea(const GEOSGeometry* geom_in); 39 GEOSGeometry* LWGEOM_GEOS_makeValid(const GEOSGeometry*); 42 GEOSGeometry* make_geos_point(double x, double y); 43 GEOSGeometry* make_geos_segment(double x1, double y1, double x2, double y2); 45 int cluster_intersecting(GEOSGeometry **geoms, uint32_t num_geoms, GEOSGeometry ***clusterGeoms, ui…
|
H A D | lwgeom_geos_clean.c | 43 GEOSGeometry* LWGEOM_GEOS_getPointN(const GEOSGeometry*, uint32_t); 44 GEOSGeometry* 53 GEOSGeometry* ret; in LWGEOM_GEOS_getPointN() 324 static GEOSGeometry* 343 static GEOSGeometry* 370 GEOSGeometry* pi; in LWGEOM_GEOS_makeValidPolygon() 371 GEOSGeometry* po; in LWGEOM_GEOS_makeValidPolygon() 548 static GEOSGeometry* 556 static GEOSGeometry* 578 GEOSGeometry* vg; in LWGEOM_GEOS_makeValidMultiLine() [all …]
|
/dports/databases/postgis31/postgis-3.1.4/liblwgeom/ |
H A D | lwgeom_geos.h | 34 LWGEOM* GEOS2LWGEOM(const GEOSGeometry* geom, uint8_t want3d); 35 GEOSGeometry* LWGEOM2GEOS(const LWGEOM* g, uint8_t autofix); 36 GEOSGeometry* GBOX2GEOS(const GBOX* g); 38 GEOSGeometry* LWGEOM_GEOS_buildArea(const GEOSGeometry* geom_in); 39 GEOSGeometry* LWGEOM_GEOS_makeValid(const GEOSGeometry*); 42 GEOSGeometry* make_geos_point(double x, double y); 43 GEOSGeometry* make_geos_segment(double x1, double y1, double x2, double y2); 45 int cluster_intersecting(GEOSGeometry **geoms, uint32_t num_geoms, GEOSGeometry ***clusterGeoms, ui…
|
H A D | lwgeom_geos_clean.c | 45 GEOSGeometry* LWGEOM_GEOS_getPointN(const GEOSGeometry*, uint32_t); 46 GEOSGeometry* 55 GEOSGeometry* ret; in LWGEOM_GEOS_getPointN() 368 static GEOSGeometry* 387 static GEOSGeometry* 414 GEOSGeometry* pi; in LWGEOM_GEOS_makeValidPolygon() 415 GEOSGeometry* po; in LWGEOM_GEOS_makeValidPolygon() 592 static GEOSGeometry* 600 static GEOSGeometry* 622 GEOSGeometry* vg; in LWGEOM_GEOS_makeValidMultiLine() [all …]
|
/dports/databases/postgis25/postgis-2.5.5/liblwgeom/ |
H A D | lwgeom_geos.h | 34 LWGEOM* GEOS2LWGEOM(const GEOSGeometry* geom, uint8_t want3d); 35 GEOSGeometry* LWGEOM2GEOS(const LWGEOM* g, uint8_t autofix); 36 GEOSGeometry* GBOX2GEOS(const GBOX* g); 37 GEOSGeometry* LWGEOM_GEOS_buildArea(const GEOSGeometry* geom_in); 38 GEOSGeometry* LWGEOM_GEOS_makeValid(const GEOSGeometry*); 40 GEOSGeometry* make_geos_point(double x, double y); 41 GEOSGeometry* make_geos_segment(double x1, double y1, double x2, double y2); 43 int cluster_intersecting(GEOSGeometry **geoms, uint32_t num_geoms, GEOSGeometry ***clusterGeoms, ui…
|
H A D | lwgeom_geos_clean.c | 42 GEOSGeometry* LWGEOM_GEOS_getPointN(const GEOSGeometry*, uint32_t); 43 GEOSGeometry* 52 GEOSGeometry* ret; in LWGEOM_GEOS_getPointN() 320 static GEOSGeometry* 339 static GEOSGeometry* 366 GEOSGeometry* pi; in LWGEOM_GEOS_makeValidPolygon() 367 GEOSGeometry* po; in LWGEOM_GEOS_makeValidPolygon() 544 static GEOSGeometry* 552 static GEOSGeometry* 574 GEOSGeometry* vg; in LWGEOM_GEOS_makeValidMultiLine() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/src/core/geometry/ |
H A D | qgsgeometrymakevalid.cpp | 41 GEOSGeometry *env = nullptr; 135 GEOSGeometry **geoms = new GEOSGeometry*[nfaces]; in collectFacesWithEvenAncestors() 150 static GEOSGeometry *LWGEOM_GEOS_buildArea( const GEOSGeometry *geom_in, QString &errorMessage ) in LWGEOM_GEOS_buildArea() 154 GEOSGeometry *tmp = nullptr; in LWGEOM_GEOS_buildArea() 155 GEOSGeometry *shp = nullptr; in LWGEOM_GEOS_buildArea() 159 GEOSGeometry const *vgeoms[1]; in LWGEOM_GEOS_buildArea() 273 static GEOSGeometry *LWGEOM_GEOS_getPointN( const GEOSGeometry *g_in, uint32_t n ) in LWGEOM_GEOS_getPointN() 283 GEOSGeometry *ret = nullptr; in LWGEOM_GEOS_getPointN() 449 static GEOSGeometry *LWGEOM_GEOS_nodeLines( const GEOSGeometry *lines ) in LWGEOM_GEOS_nodeLines() 507 GEOSGeometry *pi = nullptr; in LWGEOM_GEOS_makeValidPolygon() [all …]
|
H A D | qgsgeos.h | 27 #define GEOSGeometry struct GEOSGeom_t macro 55 void CORE_EXPORT operator()( GEOSGeometry *geom ); 79 using unique_ptr = std::unique_ptr< GEOSGeometry, GeosDeleter>; 118 static QgsGeometry geometryFromGeos( GEOSGeometry *geos ); 578 static int numberOfGeometries( GEOSGeometry *g ); 579 … static geos::unique_ptr nodeGeometries( const GEOSGeometry *splitLine, const GEOSGeometry *geom ); 599 …static geos::unique_ptr reshapeLine( const GEOSGeometry *line, const GEOSGeometry *reshapeLineGeos… 600 …static geos::unique_ptr reshapePolygon( const GEOSGeometry *polygon, const GEOSGeometry *reshapeLi… 601 static int lineContainedInLine( const GEOSGeometry *line1, const GEOSGeometry *line2 ); 602 static int pointContainedInLine( const GEOSGeometry *point, const GEOSGeometry *line ); [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/geometry/ |
H A D | qgsgeometrymakevalid.cpp | 39 GEOSGeometry *env = nullptr; 133 GEOSGeometry **geoms = new GEOSGeometry*[nfaces]; in collectFacesWithEvenAncestors() 148 static GEOSGeometry *LWGEOM_GEOS_buildArea( const GEOSGeometry *geom_in, QString &errorMessage ) in LWGEOM_GEOS_buildArea() 152 GEOSGeometry *tmp = nullptr; in LWGEOM_GEOS_buildArea() 153 GEOSGeometry *shp = nullptr; in LWGEOM_GEOS_buildArea() 157 GEOSGeometry const *vgeoms[1]; in LWGEOM_GEOS_buildArea() 271 static GEOSGeometry *LWGEOM_GEOS_getPointN( const GEOSGeometry *g_in, uint32_t n ) in LWGEOM_GEOS_getPointN() 281 GEOSGeometry *ret = nullptr; in LWGEOM_GEOS_getPointN() 447 static GEOSGeometry *LWGEOM_GEOS_nodeLines( const GEOSGeometry *lines ) in LWGEOM_GEOS_nodeLines() 505 GEOSGeometry *pi = nullptr; in LWGEOM_GEOS_makeValidPolygon() [all …]
|
H A D | qgsgeos.h | 27 #define GEOSGeometry struct GEOSGeom_t macro 55 void CORE_EXPORT operator()( GEOSGeometry *geom ); 79 using unique_ptr = std::unique_ptr< GEOSGeometry, GeosDeleter>; 118 static QgsGeometry geometryFromGeos( GEOSGeometry *geos ); 392 static int numberOfGeometries( GEOSGeometry *g ); 393 … static geos::unique_ptr nodeGeometries( const GEOSGeometry *splitLine, const GEOSGeometry *geom ); 413 …static geos::unique_ptr reshapeLine( const GEOSGeometry *line, const GEOSGeometry *reshapeLineGeos… 414 …static geos::unique_ptr reshapePolygon( const GEOSGeometry *polygon, const GEOSGeometry *reshapeLi… 415 static int lineContainedInLine( const GEOSGeometry *line1, const GEOSGeometry *line2 ); 416 static int pointContainedInLine( const GEOSGeometry *point, const GEOSGeometry *line ); [all …]
|
/dports/devel/librttopo/librttopo-1.1.0/src/ |
H A D | rtgeom_geos_clean.c | 45 static GEOSGeometry* 54 GEOSGeometry* ret; in RTGEOM_GEOS_getPointN() 336 static GEOSGeometry* 339 GEOSGeometry* noded; in RTGEOM_GEOS_nodeLines() 379 static GEOSGeometry* 419 GEOSGeometry* pi; in RTGEOM_GEOS_makeValidPolygon() 420 GEOSGeometry* po; in RTGEOM_GEOS_makeValidPolygon() 670 static GEOSGeometry* 678 static GEOSGeometry* 793 static GEOSGeometry* [all …]
|
/dports/devel/libgpkg/luciad-libgpkg-c56e3708453e/gpkg/ |
H A D | geos_geom_io.c | 57 GEOSGeometry **childGeom = (GEOSGeometry **)childData->data; in geos_add_geometry() 109 GEOSGeometry *geom = NULL; in geos_end_geometry() 143 GEOSGeometry **childGeom = (GEOSGeometry **)childData->data; in geos_end_geometry() 146 GEOSGeometry **childGeom = (GEOSGeometry **)childData->data; in geos_end_geometry() 154 GEOSGeometry **childGeom = (GEOSGeometry **)childData->data; in geos_end_geometry() 162 GEOSGeometry **childGeom = (GEOSGeometry **)childData->data; in geos_end_geometry() 170 GEOSGeometry **childGeom = (GEOSGeometry **)childData->data; in geos_end_geometry() 178 GEOSGeometry **childGeom = (GEOSGeometry **)childData->data; in geos_end_geometry() 191 GEOSGeometry **childGeom = (GEOSGeometry **)childData->data; in geos_end_geometry() 252 GEOSGeometry **childGeom = (GEOSGeometry **)childData->data; in geos_writer_destroy() [all …]
|
/dports/math/R-cran-terra/terra/src/ |
H A D | geos_spat.h | 33 using GeomPtr = std::unique_ptr<GEOSGeometry, std::function<void(GEOSGeometry*)> >; 185 std::vector<GEOSGeometry*> holes; in geos_polygon() 223 std::vector<GEOSGeometry*> holes; in geos_polygon2() 252 std::vector<GEOSGeometry*> geoms; in geos_geoms() 264 GEOSGeometry* gcol = (np == 1) ? geoms[0] : in geos_geoms() 274 std::vector<GEOSGeometry*> geoms; in geos_geoms() 294 std::vector<GEOSGeometry*> geoms; in geos_geoms() 300 GEOSGeometry* gp = geos_polygon2(svp, hGEOSCtxt); in geos_geoms() 329 GEOSGeometry* g = geoms[i].get(); in vect_from_geos() 361 GEOSGeometry* g = geoms[i].get(); in vect_from_geos() [all …]
|