Skip to content

Commit

Permalink
#19 Clean main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-ogre committed Feb 3, 2021
1 parent 1624faa commit 57dcf37
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions visualizer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
#include "CDT.h"
#include "VerifyTopology.h"
#include "InitializeWithGrid.h"

#include <fstream>
#include <iostream>
Expand Down Expand Up @@ -194,14 +193,6 @@ public slots:
: m_points;
const CDT::DuplicatesInfo duplInfo = CDT::RemoveDuplicates(pts);

Box2d bbox = envelopBox(pts);
bbox.min.x -= 0.1;
bbox.min.y -= 0.1;
bbox.max.x += 0.1;
bbox.max.y += 0.1;
CDT::initializeWithRegularGrid(
bbox.min.x, bbox.max.x, bbox.min.y, bbox.max.y, 3, 3, m_cdt);

m_cdt.insertVertices(pts);
if(m_ptLimit >= m_points.size() && !m_edges.empty())
{
Expand Down

0 comments on commit 57dcf37

Please sign in to comment.