Nyall Dawson
75885d70d5
Rename various WKT/WKB/GeoJSON/GML methods for consistency
...
and consistent capitalisation
2017-11-15 20:51:05 +10:00
Nyall Dawson
c67e39812d
Improvements to QgsAbstractGeometry::snappedToGrid
...
- Fix loss of coordinates when not rounding a particular dimension
- Don't segmentize curved geometries
- Add extra unit tests
- Make createEmptyWithSameType() protected and skip from Python bindings.
This method relies on low-level manipulation of the returned geometry
which we do not want to expose as public/fixed API
2017-10-27 14:37:35 +10:00
Martí Angelats i Ribera
3f5b11bffe
Make asGridified and newSameType (helper function)
2017-10-27 11:22:47 +10:00
Nyall Dawson
ed90bf4ded
Fix multicurve allowing insertion of non curve geometries
2017-09-26 10:12:52 +10:00
Nyall Dawson
c9117fc585
Fix clearing multicurve should reset dimensionality
2017-09-26 09:03:28 +10:00
Nyall Dawson
01d34ede9d
Sip sync
2017-09-25 17:12:03 +10:00
Nyall Dawson
9e61cd63df
Move overriden methods from headers to cpp files
...
Since they can't be inlined anyway
2017-09-19 17:22:33 +10:00
Nyall Dawson
54c988f918
Make QgsAbstractGeometry::toCurveType pure virtual, and implement
...
for all geometry types
Previously this method would return nullptrs for many geometry
types
2017-09-19 17:22:33 +10:00
Matthias Kuhn
a6800d6a5a
Add qgsgeometry_cast
...
Because it
- is faster than dynamic_cast
- doesn't rely on RTTI
- encapsulates type checking in one place
2017-08-12 19:26:20 +02:00
Denis Rouzaud
897e2f0410
[sipify] do not take // comments into docstrings
2017-04-30 16:34:08 +02:00
Denis Rouzaud
b0d4a4c201
sipify geometry classes
2017-04-30 11:29:45 +02:00
Martin Dobias
5984b21852
Add missing /Factory/ annotations to geometry classes
2016-11-05 12:13:52 +08:00
Hugo Mercier
67c05b51c2
Fix some /Transfer/ annotations
2016-09-23 15:35:37 +02:00
Juergen E. Fischer
3f22a7a77f
another scripts/replacev2.sh with minor manual fixes
2016-08-10 12:12:28 +02:00