|
HAZE
haze is a drop-in replacement to process water vapor to be used with FORCE
|
Functions | |
| double | fastLinearRingGeodesicArea (const OGRGeometryH geometry, const struct geod_geodesic *g) |
| Fast Computation of Geodesic Area for Linear Rings. | |
| double | fastPolygonialGeodesicArea (const OGRGeometryH geometry, const struct geod_geodesic *g) |
| Fast Computation of Geodesic Area for Polygons. | |
| double | fastMultipolygonialGeodesicArea (const OGRGeometryH geometry, const struct geod_geodesic *g) |
| Fast Computation of Geodesic Area for Multipolygons. | |
| double | fastGeodesicArea (const OGRGeometryH geometry, const OGRSpatialReferenceH spatialReference) |
| Fast Computation of Geodesic Area for Polygons and Multipolygons. | |
| double fastGeodesicArea | ( | const OGRGeometryH | geometry, |
| const OGRSpatialReferenceH | spatialReference ) |
Fast Computation of Geodesic Area for Polygons and Multipolygons.
This function implements geodesic area calculation for polygons and multipolygons. In contrast to GDAL's/OGR's methods, this not not only supports fewer geometry types but also assumes that input geometries are in a CRS suitable for geodesic calculations. GDAL/OGR performs reprojection on the fly which is the main source of runtime overhead. Both implementations rely on PROJ's geod_polygonarea.
fastMultipolygonialGeodesicArea(), fastPolygonialGeodesicArea(), fastLinearRingGeodesicArea()
| geometry | Reference to a valid geometry object whose area should be calculated. The object is not required to have a CRS assigned to it. |
| spatialReference | Reference to spatial reference object which describes the CRS of geometry. |
| double fastLinearRingGeodesicArea | ( | const OGRGeometryH | geometry, |
| const struct geod_geodesic * | g ) |
Fast Computation of Geodesic Area for Linear Rings.
Perform geodesic area calculation in case geometry is a linear ring. This geometry type is not a standard WKB/WKT type but represents the individual exterior/interior rings that comprise polygons, multipolygons, etc. The same restrictions as for fastGeodesicArea(), fastMultipolygonialGeodesicArea() and fastPolygonialGeodesicArea() apply, i.e. no checks for the validity and/or adequacy of the geometrie's CRS is performed. However, in contrast to those functions, the notion of a "valid geometry" does not hold and the caller is responsible for making sure the input is sensible, e.g. extracted from an already exisitng polygon.
fastGeodesicArea(), fastMultipolygonialGeodesicArea(), fastPolygonialGeodesicArea()
| geometry | Reference to linear ring geometry. |
| g | Reference to an initialized struct geod_geodesic. Needed by PROJ for geodesic operations. |
| double fastMultipolygonialGeodesicArea | ( | const OGRGeometryH | geometry, |
| const struct geod_geodesic * | g ) |
Fast Computation of Geodesic Area for Multipolygons.
Perform geodesic area calculation in case geometry is a multi- polygon. The same restrictions as for fastGeodesicArea(), fastPolygonialGeodesicArea() and fastLinearRingGeodesicArea() apply, i.e. no checks for the validity and/or adequacy of the geometrie's CRS is performed.
fastGeodesicArea(), fastPolygonialGeodesicArea(), fastLinearRingGeodesicArea()
| geometry | Reference to a valid multipolygonal geometry. |
| g | Reference to an initialized struct geod_geodesic. Needed by PROJ for geodesic operations. |
| double fastPolygonialGeodesicArea | ( | const OGRGeometryH | geometry, |
| const struct geod_geodesic * | g ) |
Fast Computation of Geodesic Area for Polygons.
Perform geodesic area calculation in case geometry is a polygon. The same restrictions as for fastGeodesicArea(), fastMultipolygonialGeodesicArea() and fastLinearRingGeodesicArea() apply, i.e. no checks for the validity and/or adequacy of the geometrie's CRS is performed.
fastGeodesicArea(), fastMultipolygonialGeodesicArea(), fastLinearRingGeodesicArea()
| geometry | Reference to a valid polygonal geometry. |
| g | Reference to an initialized struct geod_geodesic. Needed by PROJ for geodesic operations. |