PostGIS  2.3.7dev-r@@SVN_REVISION@@
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:327
double y
Definition: liblwgeom.h:327
POINT2D * center
Definition: liblwgeom.h:1621

Here is the caller graph for this function: