Geometry: add getLinearized(), getCurved()#1382
Geometry: add getLinearized(), getCurved()#1382dbaston wants to merge 9 commits intolibgeos:mainfrom
Conversation
9b03e93 to
a4e5105
Compare
78207c4 to
ea99660
Compare
2311650 to
58da56f
Compare
|
I've updated the C API to provide for manual or automatic conversion between curved and linear geometry types. Manual conversionUses the curve conversion functions
Each of these tolerances is set with a separate function: GEOSLineToCurveParams_setRadiusTolerance To me, this better indicates that the three tolerances apply simultaneously, unlike the Automatic conversionFunctions that do not natively support curved types have been modified to optionally convert inputs/outputs from/to curved types. This allows a client like QGIS to delegate an operation to GEOS without having to know if the linked version of GEOS supports curved inputs for that operation. Curve conversion is enabled at the context handle level. Setting the curve-to-line parameters on the context ( Setting line-to-curve parameters on the context ( Automatic curve conversion is not enabled on the non-reentrant API. (Should it be?) |
…ntrol point in interpolation
TODO:
ogr_geom.py