feat: add ToGrid() method to extended grid

This commit is contained in:
2025-03-06 08:25:09 +01:00
parent f19a74fc9d
commit 21e84d07cd

View File

@@ -548,6 +548,14 @@ type ExtendedGrid(grid: IGrid) =
member this.Grid = grid
member this.ToGrid() =
{
Nodes = this.Grid.getVertices ()
Elem = this.Grid.getCells ()
BBox = this.Grid.getBoundingBox ()
}
member this.initNeighborIndex(?cache: string) =
match neighborIndex with
| Some _ -> ()