module documentation

Error checking functions for GEOS ctypes prototype functions.

Function check_dbl Check the status code and returns the double value passed in by reference.
Function check_geom Error checking on routines that return Geometries.
Function check_minus_one Error checking on routines that should not return -1.
Function check_predicate Error checking for unary/binary predicate functions.
Function check_sized_string Error checking for routines that return explicitly sized strings.
Function check_string Error checking for routines that return strings.
Function last_arg_byref Return the last C argument's value by reference.
Variable free Undocumented
def check_dbl(result, func, cargs): (source)

Check the status code and returns the double value passed in by reference.

def check_geom(result, func, cargs): (source)

Error checking on routines that return Geometries.

def check_minus_one(result, func, cargs): (source)

Error checking on routines that should not return -1.

def check_predicate(result, func, cargs): (source)

Error checking for unary/binary predicate functions.

def check_sized_string(result, func, cargs): (source)

Error checking for routines that return explicitly sized strings. This frees the memory allocated by GEOS at the result pointer.

def check_string(result, func, cargs): (source)

Error checking for routines that return strings. This frees the memory allocated by GEOS at the result pointer.

def last_arg_byref(args): (source)

Return the last C argument's value by reference.

Undocumented