/dports/devel/upp/upp/bazaar/plugin/gdal/ogr/ |
H A D | ogr_api.cpp | 51 int OGR_G_GetPointCount( OGRGeometryH hGeom ) in OGR_G_GetPointCount() argument 113 double OGR_G_GetX( OGRGeometryH hGeom, int i ) in OGR_G_GetX() argument 160 double OGR_G_GetY( OGRGeometryH hGeom, int i ) in OGR_G_GetY() argument 268 int OGR_G_GetPoints( OGRGeometryH hGeom, in OGR_G_GetPoints() argument 567 void OGR_G_AddPoint( OGRGeometryH hGeom, in OGR_G_AddPoint() argument 577 ((OGRPoint *) hGeom)->setX( dfX ); in OGR_G_AddPoint() 578 ((OGRPoint *) hGeom)->setY( dfY ); in OGR_G_AddPoint() 911 double OGR_G_Length( OGRGeometryH hGeom ) in OGR_G_Length() argument 957 double OGR_G_Area( OGRGeometryH hGeom ) in OGR_G_Area() argument 995 double OGR_G_GetArea( OGRGeometryH hGeom ) in OGR_G_GetArea() argument [all …]
|
H A D | ogrgeometry.cpp | 832 if (hGeom == NULL) { in OGR_G_Equals() 848 if (hGeom == NULL) { in OGR_G_Equal() 896 int OGR_G_WkbSize( OGRGeometryH hGeom ) in OGR_G_WkbSize() argument 1533 void OGR_G_Empty( OGRGeometryH hGeom ) in OGR_G_Empty() argument 1538 ((OGRGeometry *) hGeom)->empty(); in OGR_G_Empty() 1569 int OGR_G_IsEmpty( OGRGeometryH hGeom ) in OGR_G_IsEmpty() argument 1642 int OGR_G_IsValid( OGRGeometryH hGeom ) in OGR_G_IsValid() argument 1715 int OGR_G_IsSimple( OGRGeometryH hGeom ) in OGR_G_IsSimple() argument 1788 int OGR_G_IsRing( OGRGeometryH hGeom ) in OGR_G_IsRing() argument 2337 GEOSGeom hGeom = NULL; in exportToGEOS() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/geotiff/libgeotiff/ogr/ |
H A D | ogr_api.cpp | 45 int OGR_G_GetPointCount( OGRGeometryH hGeom ) in OGR_G_GetPointCount() argument 75 double OGR_G_GetX( OGRGeometryH hGeom, int i ) in OGR_G_GetX() argument 107 double OGR_G_GetY( OGRGeometryH hGeom, int i ) in OGR_G_GetY() argument 313 void OGR_G_AddPoint( OGRGeometryH hGeom, in OGR_G_AddPoint() argument 321 ((OGRPoint *) hGeom)->setX( dfX ); in OGR_G_AddPoint() 322 ((OGRPoint *) hGeom)->setY( dfY ); in OGR_G_AddPoint() 323 ((OGRPoint *) hGeom)->setZ( dfZ ); in OGR_G_AddPoint() 351 void OGR_G_AddPoint_2D( OGRGeometryH hGeom, in OGR_G_AddPoint_2D() argument 359 ((OGRPoint *) hGeom)->setX( dfX ); in OGR_G_AddPoint_2D() 360 ((OGRPoint *) hGeom)->setY( dfY ); in OGR_G_AddPoint_2D() [all …]
|
H A D | ogrgeometry.cpp | 724 if (hGeom == NULL) { in OGR_G_Equals() 740 if (hGeom == NULL) { in OGR_G_Equal() 788 int OGR_G_WkbSize( OGRGeometryH hGeom ) in OGR_G_WkbSize() argument 1174 void OGR_G_Empty( OGRGeometryH hGeom ) in OGR_G_Empty() argument 1177 ((OGRGeometry *) hGeom)->empty(); in OGR_G_Empty() 1204 int OGR_G_IsEmpty( OGRGeometryH hGeom ) in OGR_G_IsEmpty() argument 1254 int OGR_G_IsValid( OGRGeometryH hGeom ) in OGR_G_IsValid() argument 1320 int OGR_G_IsSimple( OGRGeometryH hGeom ) in OGR_G_IsSimple() argument 1370 int OGR_G_IsRing( OGRGeometryH hGeom ) in OGR_G_IsRing() argument 1699 GEOSGeom hGeom = NULL; in exportToGEOS() [all …]
|
/dports/astro/opencpn/OpenCPN-5.2.4/libs/gdal/src/ |
H A D | ogrgeometry.cpp | 453 OGRErr OGR_G_Transform( OGRGeometryH hGeom, in OGR_G_Transform() argument 457 return ((OGRGeometry *) hGeom)->transform( in OGR_G_Transform() 494 int OGR_G_GetDimension( OGRGeometryH hGeom ) in OGR_G_GetDimension() argument 633 int OGR_G_WkbSize( OGRGeometryH hGeom ) in OGR_G_WkbSize() argument 636 return ((OGRGeometry *) hGeom)->WkbSize(); in OGR_G_WkbSize() 713 OGRErr OGR_G_ImportFromWkb( OGRGeometryH hGeom, in OGR_G_ImportFromWkb() argument 955 OGRGeometryH OGR_G_Clone( OGRGeometryH hGeom ) in OGR_G_Clone() argument 1021 void OGR_G_Empty( OGRGeometryH hGeom ) in OGR_G_Empty() argument 1024 ((OGRGeometry *) hGeom)->empty(); in OGR_G_Empty() 1127 void OGR_G_FlattenTo2D( OGRGeometryH hGeom ) in OGR_G_FlattenTo2D() argument [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/ogr/ |
H A D | ogr_api.cpp | 118 switch( wkbFlatten(ToPointer(hGeom)-> in OGR_G_SetPointCount() 297 int OGR_G_GetPoints( OGRGeometryH hGeom, in OGR_G_GetPoints() argument 365 int OGR_G_GetPointsZM( OGRGeometryH hGeom, in OGR_G_GetPointsZM() argument 1063 void OGR_G_AddPoint( OGRGeometryH hGeom, in OGR_G_AddPoint() argument 1384 auto poGeom = ToPointer(hGeom); in OGR_G_AddGeometry() 1450 auto poGeom = ToPointer(hGeom); in OGR_G_AddGeometryDirectly() 1607 double OGR_G_Area( OGRGeometryH hGeom ) in OGR_G_Area() argument 1649 return OGR_G_Area( hGeom ); in OGR_G_GetArea() 1684 return ToPointer(hGeom)-> in OGR_G_HasCurveGeometry() 1724 ToPointer(hGeom)-> in OGR_G_GetLinearGeometry() [all …]
|
H A D | ogrgeometry.cpp | 478 OGRGeometry::FromHandle(hGeom)-> in OGR_G_AssignSpatialReference() 977 int OGR_G_Is3D( OGRGeometryH hGeom ) in OGR_G_Is3D() argument 1104 OGRGeometry::FromHandle(hGeom)-> in OGR_G_SetCoordinateDimension() 1234 if( hGeom == nullptr ) in OGR_G_Equal() 1289 int OGR_G_WkbSize( OGRGeometryH hGeom ) in OGR_G_WkbSize() argument 2082 void OGR_G_Empty( OGRGeometryH hGeom ) in OGR_G_Empty() argument 2376 int OGR_G_IsRing( OGRGeometryH hGeom ) in OGR_G_IsRing() argument 3043 GEOSGeom hGeom = nullptr; in convertToGEOSGeom() local 3050 return hGeom; in convertToGEOSGeom() 3086 GEOSGeom hGeom = nullptr; in exportToGEOS() [all …]
|
H A D | ogr_api.h | 112 OGRGeometryH CPL_DLL OGR_G_ForceTo( OGRGeometryH hGeom, 131 int CPL_DLL OGR_G_WkbSize( OGRGeometryH hGeom ); 132 size_t CPL_DLL OGR_G_WkbSizeEx( OGRGeometryH hGeom ); 229 int CPL_DLL OGR_G_GetPoints( OGRGeometryH hGeom, 233 int CPL_DLL OGR_G_GetPointsZM( OGRGeometryH hGeom, 259 void CPL_DLL OGR_G_SetPoints( OGRGeometryH hGeom, int nPointsIn, 263 void CPL_DLL OGR_G_SetPointsZM( OGRGeometryH hGeom, int nPointsIn, 268 void CPL_DLL OGR_G_SwapXY( OGRGeometryH hGeom ); 279 OGRGeometryH CPL_DLL OGR_G_GetLinearGeometry( OGRGeometryH hGeom, 282 OGRGeometryH CPL_DLL OGR_G_GetCurveGeometry( OGRGeometryH hGeom, [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/ogr/ |
H A D | ogr_api.cpp | 118 switch( wkbFlatten(ToPointer(hGeom)-> in AppendString() 297 int OGR_G_GetPoints( OGRGeometryH hGeom, 365 int OGR_G_GetPointsZM( OGRGeometryH hGeom, 1063 void OGR_G_AddPoint( OGRGeometryH hGeom, 1384 auto poGeom = ToPointer(hGeom); 1450 auto poGeom = ToPointer(hGeom); 1607 double OGR_G_Area( OGRGeometryH hGeom ) 1649 return OGR_G_Area( hGeom ); 1684 return ToPointer(hGeom)-> 1724 ToPointer(hGeom)-> [all …]
|
H A D | ogrgeometry.cpp | 478 OGRGeometry::FromHandle(hGeom)-> 977 int OGR_G_Is3D( OGRGeometryH hGeom ) 1104 OGRGeometry::FromHandle(hGeom)-> 1234 if( hGeom == nullptr ) 1289 int OGR_G_WkbSize( OGRGeometryH hGeom ) 2082 void OGR_G_Empty( OGRGeometryH hGeom ) 2376 int OGR_G_IsRing( OGRGeometryH hGeom ) 3043 GEOSGeom hGeom = nullptr; 3050 return hGeom; 3086 GEOSGeom hGeom = nullptr; [all …]
|
H A D | ogr_api.h | 112 OGRGeometryH CPL_DLL OGR_G_ForceTo( OGRGeometryH hGeom, 131 int CPL_DLL OGR_G_WkbSize( OGRGeometryH hGeom ); 132 size_t CPL_DLL OGR_G_WkbSizeEx( OGRGeometryH hGeom ); 229 int CPL_DLL OGR_G_GetPoints( OGRGeometryH hGeom, 233 int CPL_DLL OGR_G_GetPointsZM( OGRGeometryH hGeom, 259 void CPL_DLL OGR_G_SetPoints( OGRGeometryH hGeom, int nPointsIn, 263 void CPL_DLL OGR_G_SetPointsZM( OGRGeometryH hGeom, int nPointsIn, 268 void CPL_DLL OGR_G_SwapXY( OGRGeometryH hGeom ); 279 OGRGeometryH CPL_DLL OGR_G_GetLinearGeometry( OGRGeometryH hGeom, 282 OGRGeometryH CPL_DLL OGR_G_GetCurveGeometry( OGRGeometryH hGeom, [all …]
|
/dports/graphics/gdal/gdal-3.3.3/ogr/ |
H A D | ogr_api.cpp | 118 switch( wkbFlatten(ToPointer(hGeom)-> in OGR_G_SetPointCount() 297 int OGR_G_GetPoints( OGRGeometryH hGeom, in OGR_G_GetPoints() argument 365 int OGR_G_GetPointsZM( OGRGeometryH hGeom, in OGR_G_GetPointsZM() argument 1063 void OGR_G_AddPoint( OGRGeometryH hGeom, in OGR_G_AddPoint() argument 1384 auto poGeom = ToPointer(hGeom); in OGR_G_AddGeometry() 1450 auto poGeom = ToPointer(hGeom); in OGR_G_AddGeometryDirectly() 1607 double OGR_G_Area( OGRGeometryH hGeom ) in OGR_G_Area() argument 1649 return OGR_G_Area( hGeom ); in OGR_G_GetArea() 1684 return ToPointer(hGeom)-> in OGR_G_HasCurveGeometry() 1724 ToPointer(hGeom)-> in OGR_G_GetLinearGeometry() [all …]
|
H A D | ogrgeometry.cpp | 478 OGRGeometry::FromHandle(hGeom)-> in OGR_G_AssignSpatialReference() 977 int OGR_G_Is3D( OGRGeometryH hGeom ) in OGR_G_Is3D() argument 1104 OGRGeometry::FromHandle(hGeom)-> in OGR_G_SetCoordinateDimension() 1234 if( hGeom == nullptr ) in OGR_G_Equal() 1289 int OGR_G_WkbSize( OGRGeometryH hGeom ) in OGR_G_WkbSize() argument 2082 void OGR_G_Empty( OGRGeometryH hGeom ) in OGR_G_Empty() argument 2376 int OGR_G_IsRing( OGRGeometryH hGeom ) in OGR_G_IsRing() argument 3043 GEOSGeom hGeom = nullptr; in convertToGEOSGeom() local 3050 return hGeom; in convertToGEOSGeom() 3086 GEOSGeom hGeom = nullptr; in exportToGEOS() [all …]
|
H A D | ogr_api.h | 112 OGRGeometryH CPL_DLL OGR_G_ForceTo( OGRGeometryH hGeom, 131 int CPL_DLL OGR_G_WkbSize( OGRGeometryH hGeom ); 132 size_t CPL_DLL OGR_G_WkbSizeEx( OGRGeometryH hGeom ); 229 int CPL_DLL OGR_G_GetPoints( OGRGeometryH hGeom, 233 int CPL_DLL OGR_G_GetPointsZM( OGRGeometryH hGeom, 259 void CPL_DLL OGR_G_SetPoints( OGRGeometryH hGeom, int nPointsIn, 263 void CPL_DLL OGR_G_SetPointsZM( OGRGeometryH hGeom, int nPointsIn, 268 void CPL_DLL OGR_G_SwapXY( OGRGeometryH hGeom ); 279 OGRGeometryH CPL_DLL OGR_G_GetLinearGeometry( OGRGeometryH hGeom, 282 OGRGeometryH CPL_DLL OGR_G_GetCurveGeometry( OGRGeometryH hGeom, [all …]
|
/dports/databases/grass7/grass-7.8.6/vector/v.in.ogr/ |
H A D | geom.c | 41 OGRGeometryH hGeom; in centroid() local 64 hGeom = hGeomAny; in centroid() 72 hGeom = OGR_G_GetLinearGeometry(hGeom, 0, NULL); in centroid() 198 OGRGeometryH hGeom; in poly_count() local 202 hGeom = hGeomAny; in poly_count() 210 hGeom = OGR_G_GetLinearGeometry(hGeom, 0, NULL); in poly_count() 237 if (hGeom != hGeomAny) in poly_count() 299 hGeom = hGeomAny; in geom() 307 hGeom = OGR_G_GetLinearGeometry(hGeom, 0, NULL); in geom() 319 Vect_append_point(Points, OGR_G_GetX(hGeom, 0), OGR_G_GetY(hGeom, 0), in geom() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/fuzzers/ |
H A D | wkb_import_fuzzer.cpp | 48 OGRGeometryH hGeom = nullptr; in LLVMFuzzerTestOneInput() local 52 if( hGeom ) in LLVMFuzzerTestOneInput() 54 const int nWKBSize = OGR_G_WkbSize(hGeom); in LLVMFuzzerTestOneInput() 58 OGR_G_ExportToWkb(hGeom, wkbNDR, pabyWKB); in LLVMFuzzerTestOneInput() 59 OGR_G_ExportToIsoWkb(hGeom, wkbNDR, pabyWKB); in LLVMFuzzerTestOneInput() 64 OGR_G_ExportToWkt(hGeom, &pszWKT); in LLVMFuzzerTestOneInput() 68 OGR_G_ExportToIsoWkt(hGeom, &pszWKT); in LLVMFuzzerTestOneInput() 71 CPLFree(OGR_G_ExportToGML(hGeom)); in LLVMFuzzerTestOneInput() 79 CPLFree(OGR_G_ExportToKML(hGeom, nullptr)); in LLVMFuzzerTestOneInput() 81 CPLFree(OGR_G_ExportToJson(hGeom)); in LLVMFuzzerTestOneInput() [all …]
|
H A D | wkt_import_fuzzer.cpp | 47 OGRGeometryH hGeom = nullptr; in LLVMFuzzerTestOneInput() local 53 OGR_G_CreateFromWkt( &pszWKTParam, nullptr, &hGeom ); in LLVMFuzzerTestOneInput() 56 OGR_G_DestroyGeometry(hGeom); in LLVMFuzzerTestOneInput()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/fuzzers/ |
H A D | wkb_import_fuzzer.cpp | 48 OGRGeometryH hGeom = nullptr; in LLVMFuzzerTestOneInput() local 52 if( hGeom ) in LLVMFuzzerTestOneInput() 54 const int nWKBSize = OGR_G_WkbSize(hGeom); in LLVMFuzzerTestOneInput() 58 OGR_G_ExportToWkb(hGeom, wkbNDR, pabyWKB); in LLVMFuzzerTestOneInput() 59 OGR_G_ExportToIsoWkb(hGeom, wkbNDR, pabyWKB); in LLVMFuzzerTestOneInput() 64 OGR_G_ExportToWkt(hGeom, &pszWKT); in LLVMFuzzerTestOneInput() 68 OGR_G_ExportToIsoWkt(hGeom, &pszWKT); in LLVMFuzzerTestOneInput() 71 CPLFree(OGR_G_ExportToGML(hGeom)); in LLVMFuzzerTestOneInput() 79 CPLFree(OGR_G_ExportToKML(hGeom, nullptr)); in LLVMFuzzerTestOneInput() 81 CPLFree(OGR_G_ExportToJson(hGeom)); in LLVMFuzzerTestOneInput() [all …]
|
H A D | wkt_import_fuzzer.cpp | 47 OGRGeometryH hGeom = nullptr; 53 OGR_G_CreateFromWkt( &pszWKTParam, nullptr, &hGeom ); 56 OGR_G_DestroyGeometry(hGeom);
|
/dports/graphics/gdal/gdal-3.3.3/fuzzers/ |
H A D | wkb_import_fuzzer.cpp | 48 OGRGeometryH hGeom = nullptr; in LLVMFuzzerTestOneInput() local 52 if( hGeom ) in LLVMFuzzerTestOneInput() 54 const int nWKBSize = OGR_G_WkbSize(hGeom); in LLVMFuzzerTestOneInput() 58 OGR_G_ExportToWkb(hGeom, wkbNDR, pabyWKB); in LLVMFuzzerTestOneInput() 59 OGR_G_ExportToIsoWkb(hGeom, wkbNDR, pabyWKB); in LLVMFuzzerTestOneInput() 64 OGR_G_ExportToWkt(hGeom, &pszWKT); in LLVMFuzzerTestOneInput() 68 OGR_G_ExportToIsoWkt(hGeom, &pszWKT); in LLVMFuzzerTestOneInput() 71 CPLFree(OGR_G_ExportToGML(hGeom)); in LLVMFuzzerTestOneInput() 79 CPLFree(OGR_G_ExportToKML(hGeom, nullptr)); in LLVMFuzzerTestOneInput() 81 CPLFree(OGR_G_ExportToJson(hGeom)); in LLVMFuzzerTestOneInput() [all …]
|
H A D | wkt_import_fuzzer.cpp | 47 OGRGeometryH hGeom = nullptr; in LLVMFuzzerTestOneInput() local 53 OGR_G_CreateFromWkt( &pszWKTParam, nullptr, &hGeom ); in LLVMFuzzerTestOneInput() 56 OGR_G_DestroyGeometry(hGeom); in LLVMFuzzerTestOneInput()
|
/dports/databases/grass7/grass-7.8.6/lib/vector/Vlib/ |
H A D | read_ogr.c | 185 OGRGeometryH hGeom; in V1_read_line_ogr() local 223 if (hGeom == NULL) { in V1_read_line_ogr() 297 OGR_G_GetX(hGeom, 0), OGR_G_GetY(hGeom, 0), in cache_feature() 298 OGR_G_GetZ(hGeom, 0)); in cache_feature() 309 OGR_G_GetX(hGeom, i), OGR_G_GetY(hGeom, i), in cache_feature() 310 OGR_G_GetZ(hGeom, i)); in cache_feature() 356 OGRGeometryH hGeom; in read_next_line_ogr() local 478 Vect_append_point(Points, OGR_G_GetX(hGeom, 0), OGR_G_GetY(hGeom, 0), in read_line() 490 OGR_G_GetY(hGeom, i), OGR_G_GetZ(hGeom, i)); in read_line() 540 OGRGeometryH hGeom; in get_line_type() local [all …]
|
H A D | build_sfa.c | 404 OGRGeometryH hGeom, int FID, int build, in add_geometry_ogr() argument 444 OGR_G_GetY(hGeom, 0), OGR_G_GetZ(hGeom, 0)); in add_geometry_ogr() 453 nPoints = OGR_G_GetPointCount(hGeom); in add_geometry_ogr() 457 OGR_G_GetX(hGeom, i), OGR_G_GetY(hGeom, i), in add_geometry_ogr() 458 OGR_G_GetZ(hGeom, i)); in add_geometry_ogr() 467 nRings = OGR_G_GetGeometryCount(hGeom); in add_geometry_ogr() 574 nParts = OGR_G_GetGeometryCount(hGeom); in add_geometry_ogr() 595 hGeom2 = OGR_G_GetGeometryRef(hGeom, i); in add_geometry_ogr() 617 OGRGeometryH hGeom; in build_ogr() local 638 hGeom = OGR_F_GetGeometryRef(hFeature); in build_ogr() [all …]
|
/dports/graphics/gmt/gmt-6.3.0/src/ |
H A D | gmt_ogrread.c | 103 np = OGR_G_GetPointCount(hGeom); in get_data() 106 hRing = OGR_G_GetGeometryRef(hGeom, 0); in get_data() 108 nRings = OGR_G_GetGeometryCount(hGeom); in get_data() 121 nGeoms = OGR_G_GetGeometryCount(hGeom); in get_data() 138 x[i] = OGR_G_GetX(hGeom, i); in get_data() 139 y[i] = OGR_G_GetY(hGeom, i); in get_data() 143 z[i] = OGR_G_GetZ(hGeom, i); in get_data() 213 hRing = OGR_G_GetGeometryRef(hGeom, j); in get_data() 281 OGRGeometryH hGeom; in gmt_ogrread2() local 399 hGeom = OGR_F_GetGeometryRef(hFeature); in gmt_ogrread2() [all …]
|
/dports/graphics/mapserver/mapserver-7.6.4/ |
H A D | mapogroutput.cpp | 228 OGR_G_SetPoint( hGeom, i, in msOGRSetPoints() 250 OGRGeometryH hGeom = NULL; in msOGRWriteShape() local 339 hGeom = hMP; in msOGRWriteShape() 367 hGeom = hML; in msOGRWriteShape() 433 hGeom = hMP; in msOGRWriteShape() 441 if( hGeom != NULL ) { in msOGRWriteShape() 447 hGeom = OGR_G_ForceToPolygon( hGeom ); in msOGRWriteShape() 450 hGeom = OGR_G_ForceToMultiPolygon( hGeom ); in msOGRWriteShape() 453 hGeom = OGR_G_ForceToMultiPoint( hGeom ); in msOGRWriteShape() 456 hGeom = OGR_G_ForceToMultiLineString( hGeom ); in msOGRWriteShape() [all …]
|