PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwboundingcircle_create()

static LWBOUNDINGCIRCLE* lwboundingcircle_create ( )
static

Definition at line 217 of file lwboundingcircle.c.

218 {
220  c->center = lwalloc(sizeof(POINT2D));
221 
222  c->radius = 0.0;
223  c->center->x = 0.0;
224  c->center->y = 0.0;
225 
226  return c;
227 }
void * lwalloc(size_t size)
Definition: lwutil.c:229
POINT2D * center
Definition: liblwgeom.h:1650
double y
Definition: liblwgeom.h:331
double x
Definition: liblwgeom.h:331

References LWBOUNDINGCIRCLE::center, lwalloc(), LWBOUNDINGCIRCLE::radius, POINT2D::x, and POINT2D::y.

Referenced by lwgeom_calculate_mbc().

Here is the call graph for this function:
Here is the caller graph for this function: