#include <MRSphere.h>
|
| using | T = typename V::ValueType |
| |
|
| constexpr | Sphere () noexcept=default |
| |
| constexpr | Sphere (const V &c, T r) noexcept |
| |
| template<typename U > |
| | MR_REQUIRES_IF_SUPPORTED (!std::is_same_v< V, U >) const expr explicit Sphere(const Sphere< U > &l) noexcept |
| |
| V | project (const V &x) const |
| | finds the closest point on sphere
|
| |
| T | distance (const V &x) const |
| |
| T | distanceSq (const V &x) const |
| | returns squared distance from given point to this sphere
|
| |
The documentation for this struct was generated from the following file: