@@ -208,12 +208,19 @@ void Triangulation<T, TNearPointLocator>::removeTriangles(
208
208
}
209
209
}
210
210
}
211
+
211
212
template <typename T, typename TNearPointLocator>
212
213
TriIndVec& Triangulation<T, TNearPointLocator>::VertTrisInternal()
213
214
{
214
215
return m_vertTris;
215
216
}
216
217
218
+ template <typename T, typename TNearPointLocator>
219
+ const TriIndVec& Triangulation<T, TNearPointLocator>::VertTrisInternal() const
220
+ {
221
+ return m_vertTris;
222
+ }
223
+
217
224
template <typename T, typename TNearPointLocator>
218
225
void Triangulation<T, TNearPointLocator>::finalizeTriangulation(
219
226
const TriIndUSet& removedTriangles)
@@ -605,7 +612,6 @@ void Triangulation<T, TNearPointLocator>::insertEdgeIteration(
605
612
outerTrisL.push_back (edgeNeighbor (tOpo, polyL.back (), iVopo));
606
613
}
607
614
polyL.push_back (iVopo);
608
- removeAdjacentTriangle (iVopo);
609
615
iV = iVL;
610
616
iVL = iVopo;
611
617
}
@@ -627,7 +633,6 @@ void Triangulation<T, TNearPointLocator>::insertEdgeIteration(
627
633
outerTrisR.push_back (edgeNeighbor (tOpo, polyR.back (), iVopo));
628
634
}
629
635
polyR.push_back (iVopo);
630
- removeAdjacentTriangle (iVopo);
631
636
iV = iVR;
632
637
iVR = iVopo;
633
638
}
@@ -2005,13 +2010,6 @@ void Triangulation<T, TNearPointLocator>::pivotVertexTriangleCW(const VertInd v)
2005
2010
triangles[m_vertTris[v]].vertices [2 ] == v);
2006
2011
}
2007
2012
2008
- template <typename T, typename TNearPointLocator>
2009
- void Triangulation<T, TNearPointLocator>::removeAdjacentTriangle(
2010
- const VertInd v)
2011
- {
2012
- m_vertTris[v] = noNeighbor;
2013
- }
2014
-
2015
2013
template <typename T, typename TNearPointLocator>
2016
2014
void Triangulation<T, TNearPointLocator>::tryAddVertexToLocator(const VertInd v)
2017
2015
{
0 commit comments