You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- a/src/allCFunctions.mjs+++ b/src/allCFunctions.mjs@@ -2152,21 +2152,21 @@ export function initCFunctions (config = {}) {
* and will report them as errors.
*
* @param {number} handle - A pointer to the GEOS context handle.
- * @param {string} geoms - An array of valid Geometrys containing the linework to polygonize.+ * @param {number} geoms - An array of valid Geometrys containing the linework to polygonize.
* @param {number} ngeoms - The number of valid Geometrys in the array.
- * @returns {string} A GeometryCollection containing the polygons formed by the polygonization.+ * @returns {number} A GeometryCollection containing the polygons formed by the polygonization.
* @alias module:geos
*/
- geos.GEOSPolygonize_valid_r = Module.cwrap('GEOSPolygonize_valid_r', 'string', ['number', 'string', 'number'])+ geos.GEOSPolygonize_valid_r = Module.cwrap('GEOSPolygonize_valid_r', 'number', ['number', 'number', 'number'])
/**
* Gets the list of line segments forming the boundary between
* inside and outside portions of a set of Geometrys which contain linework that
* represents the edges of a planar graph.
*
- * @param {string} geoms - An array of Geometrys containing the linework to process.+ * @param {number} geoms - An array of Geometrys containing the linework to process.
* @param {number} ngeoms - The number of Geometrys in the array.
- * @returns {string} A MultiLineString containing the boundary segments.+ * @returns {number} A MultiLineString containing the boundary segments.
* @alias module:geos
*/
geos.GEOSPolygonizer_getCutEdges = null
@@ -2177,12 +2177,12 @@ export function initCFunctions (config = {}) {
* represents the edges of a planar graph, using a GEOS context handle.
*
* @param {number} handle - A pointer to the GEOS context handle.
- * @param {string} geoms - An array of Geometrys containing the linework to process.+ * @param {number} geoms - An array of Geometrys containing the linework to process.
* @param {number} ngeoms - The number of Geometrys in the array.
- * @returns {string} A MultiLineString containing the boundary segments.+ * @returns {number} A MultiLineString containing the boundary segments.
* @alias module:geos
*/
- geos.GEOSPolygonizer_getCutEdges_r = Module.cwrap('GEOSPolygonizer_getCutEdges_r', 'string', ['number', 'string', 'number'])+ geos.GEOSPolygonizer_getCutEdges_r = Module.cwrap('GEOSPolygonizer_getCutEdges_r', 'number', ['number', 'number', 'number'])
The text was updated successfully, but these errors were encountered:
GEOSPolygonize_valid
andGEOSPolygonizer_getCutEdges
methods' argument/returnstring
types need to benumber
likeGEOSPolygonize
, from geos CAPI definition (https://github.com/libgeos/geos/blob/3.12.0/capi/geos_c.h.in#L4338-L4371), I think.The text was updated successfully, but these errors were encountered: