Skip to content
Permalink
Browse files

360+ degrees wedge buffer tests

(cherry-picked from 2834410)
  • Loading branch information
raymondnijssen authored and nyalldawson committed Aug 9, 2018
1 parent 70f9d55 commit 0132323aa0180eacd661ea63b72346384df64a94
Showing with 7 additions and 1 deletion.
  1. +7 −1 tests/src/python/test_qgsgeometry.py
@@ -4371,7 +4371,13 @@ def testCreateWedgeBuffer(self):
[QgsPoint(1, 11, 3), 0, 45, 2, 0,
'CurvePolygonZ (CompoundCurveZ (CircularStringZ (0.23463313526982044 12.84775906502257392 3, 1 13 3, 1.76536686473017967 12.84775906502257392 3),(1.76536686473017967 12.84775906502257392 3, 1 11 3),(1 11 3, 0.23463313526982044 12.84775906502257392 3)))'],
[QgsPoint(1, 11, m=3), 0, 45, 2, 0,
'CurvePolygonM (CompoundCurveM (CircularStringM (0.23463313526982044 12.84775906502257392 3, 1 13 3, 1.76536686473017967 12.84775906502257392 3),(1.76536686473017967 12.84775906502257392 3, 1 11 3),(1 11 3, 0.23463313526982044 12.84775906502257392 3)))']
'CurvePolygonM (CompoundCurveM (CircularStringM (0.23463313526982044 12.84775906502257392 3, 1 13 3, 1.76536686473017967 12.84775906502257392 3),(1.76536686473017967 12.84775906502257392 3, 1 11 3),(1 11 3, 0.23463313526982044 12.84775906502257392 3)))'],
[QgsPoint(1, 11), 0, 360, 2, 0,
'CurvePolygon (CompoundCurve (CircularString (1 13, 3 11, 1 9, -1 11, 1 13)))'],
[QgsPoint(1, 11), 0, -1000, 2, 0,
'CurvePolygon (CompoundCurve (CircularString (1 13, 3 11, 1 9, -1 11, 1 13)))'],
[QgsPoint(1, 11), 0, 360, 2, 1,
'CurvePolygon (CompoundCurve (CircularString (1 13, 3 11, 1 9, -1 11, 1 13)),CompoundCurve (CircularString (1 12, 2 11, 1 10, 0 11, 1 12)))']
]
for t in tests:
input = t[0]

0 comments on commit 0132323

Please sign in to comment.
You can’t perform that action at this time.