xlifepp::subdivision – Functions – P#

projOnPlane#

Point xlifepp::subdivision::projOnPlane(const Point &P, const Point &A, const Vect &U)#

Projection of the point P onto the plane defined by the point A and the normal unitary vector U.

projection onto the plane defined by the point A and the normal unitary vector U

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.