Creates an extruded surface when given a planar entity with thickness, or creates a plane surface when given a simple closed planar entity.
eOk if successful, or an appropriate error code otherwise.