brepjs API Reference
    Preparing search index...

    Function downcast

    • Downcast a generic KernelShape to its concrete kernel type (e.g., kernel topology_Face).

      Parameters

      • shape: any

      Returns Result<any>

      Ok with the downcasted shape, or Err if the shape type is unknown.

      Uses the kernel adapter's downcast method.