Class BoundsUtility
Contains useful methods for working with UnityEngine.Bounds
.
Namespace: Slicer.Core
Assembly: 27Slicer.Core.dll
Syntax
public static class BoundsUtility
Methods
Name | Description |
---|---|
AsBounds(BoxCollider) | Converts the properties of a |
CalculateBounds(Bounds, Transform, Transform) | Converts a local bounds into a bounds in slicer space (local space of the parent SlicerComponent). |
Encapsulate(List<Vector3>) | Encapsulates a collection of vectors into a bounds. |
Encapsulate(Nullable<Bounds>, Nullable<Bounds>) | Grow the bounds to encapsulate the bounds. |
Encapsulate(Nullable<Bounds>, Bounds) | Grow the bounds to encapsulate the bounds. |
Encapsulate(Bounds, Nullable<Bounds>) | Grow the bounds to encapsulate the bounds. |
GetVerts(Bounds, List<Vector3>) | Converts a bounds into a collection of verts, one for each corner |