Robust polyhedral modeler