Skip to content

Commit 2834410

Browse files
raymondnijssennyalldawson
authored andcommitted
360+ degrees wedge buffer tests
1 parent 9bda6b8 commit 2834410

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/src/python/test_qgsgeometry.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4371,7 +4371,13 @@ def testCreateWedgeBuffer(self):
43714371
[QgsPoint(1, 11, 3), 0, 45, 2, 0,
43724372
'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)))'],
43734373
[QgsPoint(1, 11, m=3), 0, 45, 2, 0,
4374-
'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)))']
4374+
'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)))'],
4375+
[QgsPoint(1, 11), 0, 360, 2, 0,
4376+
'CurvePolygon (CompoundCurve (CircularString (1 13, 3 11, 1 9, -1 11, 1 13)))'],
4377+
[QgsPoint(1, 11), 0, -1000, 2, 0,
4378+
'CurvePolygon (CompoundCurve (CircularString (1 13, 3 11, 1 9, -1 11, 1 13)))'],
4379+
[QgsPoint(1, 11), 0, 360, 2, 1,
4380+
'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)))']
43754381
]
43764382
for t in tests:
43774383
input = t[0]

0 commit comments

Comments
 (0)