Cast a raw OCCT shape to its corresponding branded brepjs type (Vertex, Edge, Face, etc.).
Performs downcast + branded handle creation in one step.
Ok with a typed AnyShape, or Err if the shape type is unknown.
Cast a raw OCCT shape to its corresponding branded brepjs type (Vertex, Edge, Face, etc.).
Performs downcast + branded handle creation in one step.