throwNt1100_exception("Heightmap::Heightmap(std::string): Probably failed to deduce _Ny. Found _Ny="+std::to_string(_Ny)+", for _data of size "+std::to_string(_data.size()));
}
//Deduce _Nx
_Nx=_data.size()/3/_Ny;
if(3*_Nx*_Ny!=_data.size()){
throwNt1100_exception("Heightmap::Heightmap(std::string): Value of _Nx="+std::to_string(_Nx)+" or _Ny="+std::to_string(_Ny)+" is incorrect for _data of size "+std::to_string(_data.size()));