From aacab23b104d0d6a7f7252fde0c0b8809b04d185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Delhome?= Date: Fri, 4 Oct 2024 18:31:07 +0200 Subject: [PATCH] c api: missing pre-condition regarding geometry type for sfcgal_geometry_straight_skeleton_partition --- src/capi/sfcgal_c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/capi/sfcgal_c.h b/src/capi/sfcgal_c.h index a90546b2..108cc039 100644 --- a/src/capi/sfcgal_c.h +++ b/src/capi/sfcgal_c.h @@ -1068,6 +1068,7 @@ sfcgal_geometry_approximate_medial_axis(const sfcgal_geometry_t *geom); /** * Returns the straight skeleton partition for the given Polygon * @pre isValid(geom) == true + * @pre geom must be a Polygon, Triangle or MultiPolygon * @post isValid(return) == true * @ingroup capi */