Skip to content

Commit

Permalink
Syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardeau committed Apr 10, 2024
1 parent a8ce427 commit 42a3af6
Show file tree
Hide file tree
Showing 2 changed files with 163 additions and 148 deletions.
18 changes: 9 additions & 9 deletions include/DgmOctree.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ namespace CCCoreLib
- (NormalizedProgress*) optional (normalized) progress callback
- return success
**/
using octreeCellFunc = bool (*)(const octreeCell &, void **, NormalizedProgress *);
using octreeCellFunc = bool (*)(const octreeCell&, void**, NormalizedProgress*);

/******************************/
/** METHODS **/
Expand Down Expand Up @@ -1114,7 +1114,7 @@ namespace CCCoreLib

//! Computes statistics about cells for a given level of subdivision
/** This method requires some computation, therefore it shouldn't be
called too often.
called too often.
\param level the level of subdivision
**/
void computeCellsStatistics(unsigned char level);
Expand All @@ -1128,19 +1128,19 @@ namespace CCCoreLib
\param level the level of subdivision
**/
void getNeighborCellsAround(const Tuple3i& cellPos,
cellIndexesContainer &neighborCellsIndexes,
int neighbourhoodLength,
unsigned char level) const;
cellIndexesContainer &neighborCellsIndexes,
int neighbourhoodLength,
unsigned char level) const;

//! Gets point in the neighbourhing cells of a specific cell
/** \warning May throw a std::bad_alloc exception if memory is insufficient.
\param nNSS NN search parameters (from which are used: cellPos, pointsInNeighbourCells and level)
\param neighbourhoodLength the new distance (in terms of cells) at which to look for neighbour cells
\param getOnlyPointsWithValidScalar whether to ignore points having an invalid associated scalar value
**/
void getPointsInNeighbourCellsAround(NearestNeighboursSearchStruct &nNSS,
int neighbourhoodLength,
bool getOnlyPointsWithValidScalar = false) const;
void getPointsInNeighbourCellsAround( NearestNeighboursSearchStruct &nNSS,
int neighbourhoodLength,
bool getOnlyPointsWithValidScalar = false) const;

//! Returns the index of a given cell represented by its code
/** Same algorithm as the other "getCellIndex" method, but in an optimized form.
Expand Down Expand Up @@ -1215,7 +1215,7 @@ namespace CCCoreLib
//! Std. dev. of cell population per level of subdivision
double m_stdDevCellPopulation[MAX_OCTREE_LEVEL + 1];

//! Multithreading wrapper
//! Multi-threading wrapper structure
MultiThreadingWrapper* m_MT_wrapper;

//! Whether the octree build is in progress
Expand Down
Loading

0 comments on commit 42a3af6

Please sign in to comment.