# GeometryUtility

> Utility class for common geometric functions.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public sealed class GeometryUtility
```

## Static Methods

| Method                                                                                                                | Description                                                                                                                                                                                                                                                                        |
| --------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [CalculateBounds](/engine/6000.6/script-reference/unityengine/geometryutility/calculatebounds.md)                     | Calculates the bounding box from the given array of positions and the transformation matrix.                                                                                                                                                                                       |
| [CalculateFrustumPlanes](/engine/6000.6/script-reference/unityengine/geometryutility/calculatefrustumplanes.md)       | Calculates frustum planes.                                                                                                                                                                                                                                                         |
| [TestPlanesAABB](/engine/6000.6/script-reference/unityengine/geometryutility/testplanesaabb.md)                       | Returns true if bounds are inside the plane array.                                                                                                                                                                                                                                 |
| [TryCreatePlaneFromPolygon](/engine/6000.6/script-reference/unityengine/geometryutility/trycreateplanefrompolygon.md) | [GeometryUtility.TryCreatePlaneFromPolygon](/engine/6000.6/script-reference/unityengine/geometryutility/trycreateplanefrompolygon.md) creates a plane from the given list of `vertices` that define the polygon, as long as they do not characterize a straight line or zero area. |
