# fegeometry

## Description

An `fegeometry`

object contains a geometry for use
in a finite element analysis with an `femodel`

object.

## Creation

### Syntax

### Description

creates a multidomain geometry. `gm`

= fegeometry(`nodes`

,`elements`

,`ElementIDToRegionID`

)`ElementIDToRegionID`

specifies the
domain IDs for each element of the mesh.

### Input Arguments

## Properties

## Object Functions

`addCell` | Combine two geometries by adding one inside a cell of another |

`addFace` | Fill void regions in 2-D and split cells in 3-D geometry |

`addVertex` | Add vertex on geometry boundary |

`addVoid` | Create void regions inside 3-D geometry |

`cellEdges` | Find edges belonging to boundaries of specified cells |

`cellFaces` | Find faces belonging to specified cells |

`extrude` | Vertically extrude 2-D geometry or specified faces of 3-D geometry |

`faceEdges` | Find edges belonging to specified faces |

`facesAttachedToEdges` | Find faces attached to specified edges |

`generateMesh` | Create triangular or tetrahedral mesh |

`mergeCells` | Merge geometry cells |

`nearestEdge` | Find edges nearest to specified point |

`nearestFace` | Find faces nearest to specified point |

`pdegplot` | Plot PDE geometry |

`pdemesh` | Plot PDE mesh |

`rotate` | Rotate geometry |

`scale` | Scale geometry |

`translate` | Translate geometry |

`triangulation` | Create `triangulation` object from
`fegeometry` |

## Examples

## Version History

**Introduced in R2023a**

## See Also

### Functions

`generateMesh`

|`pdegplot`

|`addCell`

|`addFace`

|`addVertex`

|`addVoid`

|`rotate`

|`scale`

|`translate`

|`extrude`

|`cellEdges`

|`cellFaces`

|`faceEdges`

|`facesAttachedToEdges`

|`nearestEdge`

|`nearestFace`