<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNBoundingVolume/getBoundingBoxMin:max:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(pl)SCNBoundingVolume(im)getBoundingBoxMin:max:"
  },
  "title" : "getBoundingBoxMin:max:"
}
-->

# getBoundingBoxMin:max:

Gets the minimum and maximum corner points of the object’s bounding box.

```
- (BOOL) getBoundingBoxMin:(SCNVector3 *) min max:(SCNVector3 *) max;
```

## Parameters

`min`

On output, the minimum coordinates of the bounding box.

`max`

On output, the maximum coordinates of the bounding box.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the object has a nonzero volume; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

Scene Kit defines a bounding box in the local coordinate space using two points identifying its corners, which implicitly determine six axis-aligned planes marking its limits. For example, if a geometry’s bounding box has the minimum corner `{-1, 0, 2}` and the maximum corner `{3, 4, 5}`, all points in the geometry’s vertex data have an x-coordinate value between `-1.0` and `3.0`, inclusive.

The coordinates provided by this method are valid only if the object has a volume to be measured. If called on a geometry containing no vertex data or a node containing no geometry (and whose child nodes, if any, contain no geometry), this method returns NO, indicating that the values `*min` and `*max` are undefined.

---

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)