> For the complete documentation index, see [llms.txt](https://cityweft.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cityweft.gitbook.io/docs/geometry/barriers.md).

# Barriers

Barriers are meshed geometries representing vertical structures such as fences, walls, and other enclosing or dividing elements.

Geometry Type:  <mark style="color:blue;">`meshes`</mark>&#x20;

```javascript
{
     "type": "barriers",
     "geometryType": "meshes",
     "meshes": Mesh[]
},
```

<figure><img src="https://2449447963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2ahel6HN9zgEzJ1vY9kr%2Fuploads%2FkcJUDlLKiJzkJnx2KIse%2Fimage.png?alt=media&amp;token=e18c21f9-dd1a-42b8-b33d-75e08b50dbcd" alt=""><figcaption></figcaption></figure>

What does a barrier mesh element contain? This is the example:

```javascript
{
     // The most important element of any meshed geometry for visualization
     "vertices": [x1, y1, z1, x2, y2, z2, ...],
     "type": "wall" | "fence"
},
```
