Method b3MakeAABB
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3MakeAABB(ReadOnlySpan<Vector3>, float)
Computes the bounding box of a point cloud.
public static b3AABB b3MakeAABB(ReadOnlySpan<Vector3> points, float radius)Parameters
pointsReadOnlySpan<Vector3>-
The points. Must not be empty.
radiusfloat-
A radius by which to inflate the box.
Returns
- b3AABB
-
The bounding box.
Exceptions
- ArgumentException
-
pointsis empty.