PostGIS  2.5.0dev-r@@SVN_REVISION@@
static uint32_t num_supporting_points ( SUPPORTING_POINTS support)
static

Definition at line 53 of file lwboundingcircle.c.

References SUPPORTING_POINTS::p1, SUPPORTING_POINTS::p2, and SUPPORTING_POINTS::p3.

Referenced by add_supporting_point(), calculate_mbc(), and calculate_mbc_from_support().

54 {
55  uint32_t N = 0;
56 
57  if (support->p1 != NULL)
58  N++;
59  if (support->p2 != NULL)
60  N++;
61  if (support->p3 != NULL)
62  N++;
63 
64  return N;
65 }
const POINT2D * p1
unsigned int uint32_t
Definition: uthash.h:78
const POINT2D * p3
const POINT2D * p2

Here is the caller graph for this function: