ShapeManipulator.cpp
// Recreates the interior data structure with the following side length and resolution.
Recreates the interior data structure with the following side length and resolution.
Recreates the interior data structure with the following side length and resolution .
void ShapeManipulator::Refresh(double length, double resolution)
{
    if (pShapeOctree != nullptr)
    {
        delete pShapeOctree;
    }
    this->length = length;
    this->resolution = resolution;
    pShapeOctree = new Octree(length, resolution, false);
}
void ShapeManipulator :: Refresh ( double length , double resolution ) { if ( pShapeOctree != nullptr ) { delete pShapeOctree ; } this -> length = length ; this -> resolution = resolution ; pShapeOctree = new Octree ( length , resolution , false ) ; }
Recreates the interior data structure with the following side length and resolution.
Recreates the interior data structure with the following side length and resolution .