geos.GEOSHausdorffDistance ⇒ number
⏏
Calculate the Hausdorff distance between two geometries. Hausdorff distance is the largest distance between two geometries.
Kind: global property of geos
Returns: number
- 1 on success, 0 on exception.
Param | Type | Description |
---|---|---|
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |
dist | NumberPointer | Pointer to be filled in with distance result |
geos.GEOSHausdorffDistanceDensify ⇒ number
⏏
Calculate a more precise Hausdorff distance between two geometries, by densifying the inputs before computation. Hausdorff distance is the largest distance between two geometries.
Kind: global property of geos
Returns: number
- 1 on success, 0 on exception.
Param | Type | Description |
---|---|---|
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |
densifyFrac | number | The largest % of the overall line length that any given two-point segment should be |
dist | NumberPointer | Pointer to be filled in with distance result |
geos.GEOSHausdorffDistanceDensify_r ⇒ number
⏏
Calculate a more precise Hausdorff distance between two geometries, by densifying the inputs before computation. Hausdorff distance is the largest distance between two geometries.
Kind: global property of geos
Returns: number
- 1 on success, 0 on exception.
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |
densifyFrac | number | The largest % of the overall line length that any given two-point segment should be |
dist | NumberPointer | Pointer to be filled in with distance result |
geos.GEOSHausdorffDistance_r ⇒ number
⏏
Calculate the Hausdorff distance between two geometries. Hausdorff distance is the largest distance between two geometries.
Kind: global property of geos
Returns: number
- 1 on success, 0 on exception.
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |
dist | NumberPointer | Pointer to be filled in with distance result |