added interface for geometry classes