PostGIS  3.0.6dev-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:227
POINT2D * center
Definition: liblwgeom.h:1756
double y
Definition: liblwgeom.h:376
double x
Definition: liblwgeom.h:376

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: