Points: modernize C++: use default member init
This commit is contained in:
@@ -720,11 +720,7 @@ unsigned long PointsGrid::FindElements (const Base::Vector3d &rclPoint, std::set
|
||||
|
||||
PointsGridIterator::PointsGridIterator (const PointsGrid &rclG)
|
||||
: _rclGrid(rclG),
|
||||
_ulX(0), _ulY(0), _ulZ(0),
|
||||
_clPt(0.0f, 0.0f, 0.0f), _clDir(0.0f, 0.0f, 0.0f),
|
||||
_bValidRay(false),
|
||||
_fMaxSearchArea (FLOAT_MAX)
|
||||
|
||||
_clPt(0.0f, 0.0f, 0.0f), _clDir(0.0f, 0.0f, 0.0f)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -216,13 +216,13 @@ public:
|
||||
|
||||
protected:
|
||||
const PointsGrid& _rclGrid; /**< The point grid. */
|
||||
unsigned long _ulX; /**< Number of grids in x. */
|
||||
unsigned long _ulY; /**< Number of grids in y. */
|
||||
unsigned long _ulZ; /**< Number of grids in z. */
|
||||
unsigned long _ulX{0}; /**< Number of grids in x. */
|
||||
unsigned long _ulY{0}; /**< Number of grids in y. */
|
||||
unsigned long _ulZ{0}; /**< Number of grids in z. */
|
||||
Base::Vector3d _clPt; /**< Base point of search ray. */
|
||||
Base::Vector3d _clDir; /**< Direction of search ray. */
|
||||
bool _bValidRay; /**< Search ray ok? */
|
||||
float _fMaxSearchArea;
|
||||
bool _bValidRay{false}; /**< Search ray ok? */
|
||||
float _fMaxSearchArea{FLOAT_MAX};
|
||||
/** Checks if a grid position is already visited by NextOnRay(). */
|
||||
struct GridElement
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user