PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ calculate_mbc_1()

static void calculate_mbc_1 ( const SUPPORTING_POINTS support,
LWBOUNDINGCIRCLE mbc 
)
static

Definition at line 121 of file lwboundingcircle.c.

122 {
123  mbc->radius = 0;
124  mbc->center->x = support->p1->x;
125  mbc->center->y = support->p1->y;
126 }
POINT2D * center
Definition: liblwgeom.h:1650
double y
Definition: liblwgeom.h:331
double x
Definition: liblwgeom.h:331
const POINT2D * p1

References LWBOUNDINGCIRCLE::center, SUPPORTING_POINTS::p1, LWBOUNDINGCIRCLE::radius, POINT2D::x, and POINT2D::y.

Referenced by calculate_mbc_from_support().

Here is the caller graph for this function: