Validates the geometry stored in the DirectShape element.
eOk if the geometry is valid; otherwise the method returns an appropriate error code illustrating errors found in the geometry.