The original idea of having complex mesh texturing operations take place when initializing a mesh was a bad one. This is because it placed specialized and expensive computation in a place where it didn't need to be. Instead, the current approach is to execute three potential steps in order.
Perform geospatial data science using existing tools for vector and raster data
Load a mesh with the texture from the last step and threshold or modify the texture information from the mesh, such as get_height_above_ground. Then save out this mesh texture.
Load the texture using the standarized approaches from #22
It may be helpful to preserve some of the functionality in the derived meshes as utility functions or dev examples. But they should not be so tightly coupled to the functionality of the mesh class.
The original idea of having complex mesh texturing operations take place when initializing a mesh was a bad one. This is because it placed specialized and expensive computation in a place where it didn't need to be. Instead, the current approach is to execute three potential steps in order.
get_height_above_ground
. Then save out this mesh texture.It may be helpful to preserve some of the functionality in the derived meshes as utility functions or
dev
examples. But they should not be so tightly coupled to the functionality of the mesh class.