PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ sfcgal_postgis_init()

void sfcgal_postgis_init ( void  )

Definition at line 70 of file postgis/lwgeom_sfcgal.c.

References __sfcgal_init, lwalloc(), and lwfree().

Referenced by sfcgal_approximate_medial_axis(), sfcgal_area(), sfcgal_area3D(), sfcgal_difference(), sfcgal_difference3D(), sfcgal_distance(), sfcgal_distance3D(), sfcgal_extrude(), sfcgal_force_lhr(), sfcgal_from_ewkt(), sfcgal_intersection(), sfcgal_intersection3D(), sfcgal_intersects(), sfcgal_intersects3D(), sfcgal_is_planar(), sfcgal_minkowski_sum(), sfcgal_orientation(), sfcgal_straight_skeleton(), sfcgal_tesselate(), sfcgal_triangulate(), sfcgal_union(), sfcgal_union3D(), and sfcgal_volume().

71 {
72  if ( ! __sfcgal_init ) {
73  sfcgal_init();
74  sfcgal_set_error_handlers((sfcgal_error_handler_t) lwpgnotice, (sfcgal_error_handler_t) lwpgerror);
75  sfcgal_set_alloc_handlers(lwalloc, lwfree);
76  __sfcgal_init = 1;
77  }
78 }
void lwfree(void *mem)
Definition: lwutil.c:244
void * lwalloc(size_t size)
Definition: lwutil.c:229
static int __sfcgal_init
Here is the call graph for this function:
Here is the caller graph for this function: