12 using T =
typename V::ValueType;
17 constexpr Sphere() noexcept = default;
Definition MRCameraOrientationPlugin.h:8
constexpr T sqr(T x) noexcept
squared value
Definition MRMesh/MRMeshFwd.h:753
constexpr Sphere() noexcept=default
friend bool operator==(const Sphere &a, const Sphere &b)=default
T distance(const V &x) const
Definition MRSphere.h:27
V project(const V &x) const
finds the closest point on sphere
Definition MRSphere.h:23
constexpr Sphere(const Sphere< U > &l) noexcept
Definition MRSphere.h:20
typename V::ValueType T
Definition MRSphere.h:12
T distanceSq(const V &x) const
returns squared distance from given point to this sphere
Definition MRSphere.h:30
V center
Definition MRSphere.h:14
T radius
Definition MRSphere.h:15