uint getMiddlePoint(geo::Mesh &mesh, uint i1, uint i2, std::map< unsigned long, uint > cache, double radius)
getMiddlePoint Gets the middle point of two points in a mesh of a sphere. Uses a cache to not create ...
void createCylinder(geo::Shape &shape, double radius, double height, int num_corners=12)
createCylinder create a mesh from radius and height