PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ sfcgal_postgis_init()

void sfcgal_postgis_init ( void  )

Definition at line 69 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().

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