File tree 2 files changed +1
-16
lines changed
2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -65,28 +65,13 @@ void QgsTINInterpolator::initialize()
65
65
DualEdgeTriangulation* theDualEdgeTriangulation = new DualEdgeTriangulation ( mCachedBaseData .size (), 0 );
66
66
mTriangulation = theDualEdgeTriangulation;
67
67
68
- // do some randomisation on the base data to have better results with regular structures
69
- vertexData vertex1, vertex2;
70
-
71
- for ( int i = 0 ; i <= mCachedBaseData .size () / 2 ; ++i )
72
- {
73
- vertex1 = mCachedBaseData [i];
74
- Point3D* thePoint1 = new Point3D ( vertex1.x , vertex1.y , vertex1.z );
75
- mTriangulation ->addPoint ( thePoint1 );
76
- vertex2 = mCachedBaseData [mCachedBaseData .size () - 1 - i];
77
- Point3D* thePoint2 = new Point3D ( vertex2.x , vertex2.y , vertex2.z );
78
- mTriangulation ->addPoint ( thePoint2 );
79
- }
80
-
81
- #if 0
82
68
// add all the vertices to the triangulation
83
69
QVector<vertexData>::const_iterator vertex_it = mCachedBaseData .constBegin ();
84
70
for ( ; vertex_it != mCachedBaseData .constEnd (); ++vertex_it )
85
71
{
86
72
Point3D* thePoint = new Point3D ( vertex_it->x , vertex_it->y , vertex_it->z );
87
73
mTriangulation ->addPoint ( thePoint );
88
74
}
89
- #endif // 0
90
75
91
76
mTriangleInterpolator = new LinTriangleInterpolator ( theDualEdgeTriangulation );
92
77
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ class QgisPlugin
66
66
UI = 1 , /* user interface plug-in */
67
67
MAPLAYER, /* map layer plug-in */
68
68
RENDERER, /* a plugin for a new renderer class*/
69
- VECTOR_OVERLAY
69
+ VECTOR_OVERLAY /* an overlay plugin. Added in version 1.1 */
70
70
};
71
71
72
72
You can’t perform that action at this time.
0 commit comments