<!--
{
  "availability" : [
    "visionOS: 2.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/RoomAnchor/geometries(of:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit10RoomAnchorV10geometries2ofSayAA04MeshC0V8GeometryVGAG0F14ClassificationO_tF"
  },
  "title" : "geometries(of:)"
}
-->

# geometries(of:)

Returns the disjoint mesh geometries of a given classification.

```
func geometries(of classification: MeshAnchor.MeshClassification) -> [MeshAnchor.Geometry]
```

## Parameters

`classification`

The mesh classification to look for.

## Return Value

An array of [`MeshAnchor.Geometry`](/documentation/ARKit/MeshAnchor/Geometry-swift.struct) structures that match the provided classification.

## Discussion

`RoomAnchor.geometries(of:)` supports the [`ARMeshClassification.floor`](/documentation/ARKit/ARMeshClassification/floor) and [`ARMeshClassification.wall`](/documentation/ARKit/ARMeshClassification/wall) mesh classifications.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)