Skip to content
Permalink
Browse files

fix build

  • Loading branch information
jef-n committed Dec 23, 2020
1 parent e115483 commit eb1c7b1a72fb5957ea3aead2cbc83257bfa298b2
@@ -136,7 +136,7 @@ std::cerr << m_vi.key() << " Accepted/Rejected/num points = " <<
}


bool Processor::acceptable(int pointId, GridKey key)
bool Processor::acceptable(int /* pointId */, GridKey key)
{
VoxelInfo::Grid& grid = m_vi.grid();

@@ -73,7 +73,6 @@ void Epf::run(const Options& options, ProgressWriter& progress)
{
using namespace pdal;

double millionPoints = 0;
BOX3D totalBounds;

if (pdal::FileUtils::fileExists(options.tempDir + "/" + MetadataFilename))
@@ -42,8 +42,6 @@ int Grid::calcLevel()
{
int level = 0;
double mp = (double)m_millionPoints;
double limit = (MaxPointsPerNode / 1000000.0);

double xside = m_bounds.maxx - m_bounds.minx;
double yside = m_bounds.maxy - m_bounds.miny;
double zside = m_bounds.maxz - m_bounds.minz;
@@ -241,7 +241,7 @@ static QVector<QgsCircle> from2ParallelsLine( const QgsPoint &pt1_par1, const Qg
}

QgsGeometryUtils::segmentIntersection( ptInter_par1line1, ptInter_par1line1.project( 1.0, angle1 + 90.0 ), ptInter_par2line1, ptInter_par2line1.project( 1.0, angle2 ), center, isInter, epsilon, true );
if ( isInter and not circles.contains( QgsCircle( center, radius ) ) )
if ( isInter && !circles.contains( QgsCircle( center, radius ) ) )
{
if ( !pos.isEmpty() )
{
@@ -256,7 +256,7 @@ static QVector<QgsCircle> from2ParallelsLine( const QgsPoint &pt1_par1, const Qg
}
}
QgsGeometryUtils::segmentIntersection( ptInter_par1line1, ptInter_par1line1.project( 1.0, angle1 + 90.0 ), ptInter_par2line1, ptInter_par2line1.project( 1.0, angle2 + 90.0 ), center, isInter, epsilon, true );
if ( isInter and not circles.contains( QgsCircle( center, radius ) ) )
if ( isInter && !circles.contains( QgsCircle( center, radius ) ) )
{
if ( !pos.isEmpty() )
{

0 comments on commit eb1c7b1

Please sign in to comment.
You can’t perform that action at this time.