opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
sphere_functions.h
Go to the documentation of this file.
1#pragma once
2
5
6#include <optional>
7#include <span>
8
9namespace osc { struct AABB; }
10
11namespace osc
12{
13 // returns a `Sphere` that loosely bounds the given `Vector3`s
14 std::optional<Sphere> bounding_sphere_of(std::span<const Vector3>);
15
16 // returns a `Sphere` that loosely bounds the given `AABB`
18}
Definition custom_decoration_generator.h:5
std::optional< Sphere > bounding_sphere_of(const Mesh &)
Definition aabb.h:14
Definition sphere.h:9