Table of Contents

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

points ReadOnlySpan<Vector3>

The points. Must not be empty.

radius float

A radius by which to inflate the box.

Returns

b3AABB

The bounding box.

Exceptions

ArgumentException

points is empty.