10 using T =
typename V::ValueType;
15 constexpr Sphere() noexcept = default;
Definition MRCameraOrientationPlugin.h:8
constexpr T sqr(T x) noexcept
Definition MRMesh/MRMeshFwd.h:600
constexpr Sphere() noexcept=default
friend bool operator==(const Sphere &a, const Sphere &b)=default
T distance(const V &x) const
Definition MRSphere.h:25
V project(const V &x) const
finds the closest point on sphere
Definition MRSphere.h:21
constexpr Sphere(const Sphere< U > &l) noexcept
Definition MRSphere.h:18
typename V::ValueType T
Definition MRSphere.h:10
T distanceSq(const V &x) const
returns squared distance from given point to this sphere
Definition MRSphere.h:28
V center
Definition MRSphere.h:12
T radius
Definition MRSphere.h:13