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
118118
119119 void wkbInOut ();
120120
121- void segmentizeCircularString ();
122121 void directionNeutralSegmentation ();
123122 void poleOfInaccessibility ();
124123
@@ -5290,23 +5289,6 @@ void TestQgsGeometry::wkbInOut()
52905289 QCOMPARE ( badHeader.wkbType (), QgsWkbTypes::Unknown );
52915290}
52925291
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-
53105292void TestQgsGeometry::directionNeutralSegmentation ()
53115293{
53125294 // Tests, if segmentation of a circularstring is the same in both directions
You can’t perform that action at this time.
0 commit comments