PostGIS  2.1.10dev-r@@SVN_REVISION@@
void sfcgal_postgis_init ( void  )

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

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

Referenced by sfcgal_area(), sfcgal_area3D(), 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(), and sfcgal_triangulate().

52 {
53  if ( ! __sfcgal_init ) {
54  sfcgal_init();
55  sfcgal_set_error_handlers((sfcgal_error_handler_t) lwnotice, (sfcgal_error_handler_t) lwerror);
56  sfcgal_set_alloc_handlers(lwalloc, lwfree);
57  __sfcgal_init = 1;
58  }
59 }
void lwfree(void *mem)
Definition: lwutil.c:190
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
Definition: lwutil.c:67
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
Definition: lwutil.c:54
void * lwalloc(size_t size)
Definition: lwutil.c:175
static int __sfcgal_init

Here is the call graph for this function:

Here is the caller graph for this function: