Converts one geometry to another geometry.
The convert algorithm converts one geometry, e.g. a BOX, to another geometry, e.g. a RING. This only works if it is possible and applicable. If the point-order is different, or the closure is different between two geometry types, it will be converted correctly by explicitly reversing the points or closing or opening the polygon rings.
- Template Parameters
-
Geometry1 | Any type fulfilling a Geometry Concept |
Geometry2 | Any type fulfilling a Geometry Concept |
- Parameters
-
geometry1 | A model of the specified concept (source) |
geometry2 | A model of the specified concept (target) |