15 using T =
typename V::ValueType;
20 constexpr Sphere() noexcept = default;
constexpr Sphere() noexcept=default
friend bool operator==(const Sphere &a, const Sphere &b)=default
constexpr T sqr(T x) noexcept
squared value
Definition MRMeshFwd.h:763
T distance(const V &x) const
Definition MRSphere.h:33
V project(const V &x) const
finds the closest point on sphere
Definition MRSphere.h:29
typename Vector3< T >::ValueType T
Definition MRSphere.h:15
MR_REQUIRES_IF_SUPPORTED(!std::is_same_v< V, U >) const expr explicit Sphere(const Sphere< U > &l) noexcept
Definition MRSphere.h:25
T distanceSq(const V &x) const
returns squared distance from given point to this sphere
Definition MRSphere.h:36
Vector3< T > center
Definition MRSphere.h:17
T radius
Definition MRSphere.h:18
only for bindings generation
Definition MRCameraOrientationPlugin.h:8