File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ class TestQgsGeometry : public QObject
118
118
119
119
void wkbInOut ();
120
120
121
- void segmentizeCircularString ();
122
121
void directionNeutralSegmentation ();
123
122
void poleOfInaccessibility ();
124
123
@@ -5290,23 +5289,6 @@ void TestQgsGeometry::wkbInOut()
5290
5289
QCOMPARE ( badHeader.wkbType (), QgsWkbTypes::Unknown );
5291
5290
}
5292
5291
5293
- void TestQgsGeometry::segmentizeCircularString ()
5294
- {
5295
- QString wkt ( QStringLiteral ( " CIRCULARSTRING( 0 0, 0.5 0.5, 2 0 )" ) );
5296
- QgsCircularString *circularString = dynamic_cast <QgsCircularString *>( QgsGeometryFactory::geomFromWkt ( wkt ).release () );
5297
- QVERIFY ( circularString );
5298
- QgsLineString *lineString = circularString->curveToLine ();
5299
- QVERIFY ( lineString );
5300
- QgsPointSequence points;
5301
- lineString->points ( points );
5302
-
5303
- delete circularString;
5304
- delete lineString;
5305
-
5306
- // make sure the curve point is part of the segmentized result
5307
- QVERIFY ( points.contains ( QgsPoint ( 0.5 , 0.5 ) ) );
5308
- }
5309
-
5310
5292
void TestQgsGeometry::directionNeutralSegmentation ()
5311
5293
{
5312
5294
// Tests, if segmentation of a circularstring is the same in both directions
You can’t perform that action at this time.
0 commit comments