Skip to content

Commit b5483bd

Browse files
committed
format
1 parent 0f5ce6d commit b5483bd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/compare.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828

2929
using namespace pdal;
3030

31-
void ComparePointClouds::addArgs() {
31+
void ComparePointClouds::addArgs()
32+
{
3233
argOutput = &programArgs.add("output,o", "Output point cloud file", outputFile);
3334
argComparedInputFile = &programArgs.add("input-compare", "Point cloud file to compare against input", comparedInputFile);
3435

@@ -41,7 +42,8 @@ void ComparePointClouds::addArgs() {
4142
argOrientation = &programArgs.add( "cyl-orientation", "Which direction to orient the cylinder/normal vector used for comparison between the two point clouds. (up, origin, none)", cylOrientation, "up");
4243
}
4344

44-
bool ComparePointClouds::checkArgs() {
45+
bool ComparePointClouds::checkArgs()
46+
{
4547

4648
if (ends_with(inputFile, ".vpc")) {
4749
std::cerr << "input cannot be a VPC file" << std::endl;
@@ -80,8 +82,8 @@ bool ComparePointClouds::checkArgs() {
8082
return true;
8183
}
8284

83-
static std::unique_ptr<PipelineManager>
84-
pipeline(ParallelJobInfo *tile, std::string compareFile, double stepSample, double normalRadius, double cylRadius, double cylHalflen, double regError, std::string cylOrientation) {
85+
static std::unique_ptr<PipelineManager> pipeline(ParallelJobInfo *tile, std::string compareFile, double stepSample, double normalRadius, double cylRadius, double cylHalflen, double regError, std::string cylOrientation)
86+
{
8587
std::unique_ptr<PipelineManager> manager(new PipelineManager);
8688

8789
Stage &reader1 = makeReader(manager.get(), tile->inputFilenames[0]);
@@ -168,8 +170,8 @@ pipeline(ParallelJobInfo *tile, std::string compareFile, double stepSample, doub
168170
return manager;
169171
}
170172

171-
void ComparePointClouds::preparePipelines(
172-
std::vector<std::unique_ptr<PipelineManager>> &pipelines) {
173+
void ComparePointClouds::preparePipelines(std::vector<std::unique_ptr<PipelineManager>> &pipelines)
174+
{
173175
ParallelJobInfo tile(ParallelJobInfo::Single, BOX2D(), filterExpression,
174176
filterBounds);
175177
tile.inputFilenames.push_back(inputFile);

0 commit comments

Comments
 (0)