xlifepp::subdivision – Functions – P#
projOnPlane#
projOnSph#
-
Point xlifepp::subdivision::projOnSph(const real_t *coef, const std::vector<Point> &VP, const real_t Radius)#
-
Projection onto the sphere S of the barycenter of the points stored in VP with associated coefficients stored in coef.
projection onto a sphere of radius Radius of the barycenter of n points
The points in VP are assumed to be lying on the sphere S centered at the origin, with the radius Radius.