PostGIS  2.5.0dev-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.

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

Referenced by calculate_mbc_from_support().

122 {
123  mbc->radius = 0;
124  mbc->center->x = support->p1->x;
125  mbc->center->y = support->p1->y;
126 }
const POINT2D * p1
double x
Definition: liblwgeom.h:330
double y
Definition: liblwgeom.h:330
POINT2D * center
Definition: liblwgeom.h:1649
Here is the caller graph for this function: