PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
rt_errorstate rt_raster_get_convex_hull | ( | rt_raster | raster, |
LWGEOM ** | hull | ||
) |
Get raster's convex hull.
The convex hull is a 4 vertices (5 to be closed) single ring polygon bearing the raster's rotation and using projection coordinates.
raster | : the raster to get info from |
**hull | : pointer to convex hull |
The convex hull is typically a 4 vertices (5 to be closed) single ring polygon bearing the raster's rotation and using projection coordinates.
raster | : the raster to get info from |
**hull | : pointer to convex hull |
Definition at line 803 of file rt_geometry.c.
References ES_ERROR, ES_NONE, window::gt, LW_TRUE, lwline_as_lwgeom(), lwline_construct(), lwpoint_as_lwgeom(), lwpoint_make2d(), lwpoly_as_lwgeom(), lwpoly_construct(), ptarray_append_point(), ptarray_construct(), ptarray_construct_empty(), ptarray_set_point4d(), rtrowdump::raster, RASTER_DEBUGF, rt_raster_cell_to_geopoint(), rt_raster_get_geotransform_matrix(), rt_raster_get_height(), rt_raster_get_srid(), rt_raster_get_width(), rtalloc(), rterror(), SRID_UNKNOWN, POINT4D::x, and POINT4D::y.
Referenced by RASTER_clip(), RASTER_convex_hull(), rt_raster_compute_skewed_raster(), rt_raster_intersects(), rt_raster_surface(), and test_raster_convex_hull().