Create geometry from mesh

`geometryFromMesh(model,nodes,elements)`

`geometryFromMesh(model,nodes,elements,ElementIDToRegionID)`

```
[G,mesh]
= geometryFromMesh(model,nodes,elements)
```

`geometryFromMesh(`

creates geometry within `model`

,`nodes`

,`elements`

)`model`

. For planar and volume triangulated
meshes, this function also incorporates `nodes`

in the
`model.Mesh.Nodes`

property and `elements`

in the `model.Mesh.Elements`

property. To replace the imported mesh
with a mesh having a different target element size, use
`generateMesh`

.

If `elements`

represents a surface triangular mesh that bounds a
closed volume, then `geometryFromMesh`

creates the geometry, but
does not incorporate the mesh into the corresponding properties of the model. To
generate a mesh in this case, use `generateMesh`

.

`geometryFromMesh(`

creates a multidomain geometry. Here, `model`

,`nodes`

,`elements`

,`ElementIDToRegionID`

)`ElementIDToRegionID`

specifies the subdomain IDs for each element of the mesh.

DiscreteGeometry Properties | `alphaShape`

| `generateMesh`

| `importGeometry`