modeling a water tank in BRL-CAD using C++.