PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ num_supporting_points()

static uint32_t num_supporting_points ( SUPPORTING_POINTS support)
static

Definition at line 53 of file lwboundingcircle.c.

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 * p2
const POINT2D * p3
const POINT2D * p1
unsigned int uint32_t
Definition: uthash.h:78

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

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

Here is the caller graph for this function: