Class xlifepp::subdivision::SurfSphere#

class SurfSphere : public xlifepp::subdivision::SurfRevolution#

Public Functions

inline SurfSphere(const Point &Center, const Point &PtOnAxis, const real_t radius)#

other constructor for compatibility with other surfaces

inline SurfSphere(const Point &Center, const real_t radius)#

main constructor

virtual Point projOnBound(const real_t *coef, const std::vector<Point> &VP) const#

projection onto the sphere of the barycenter of the points in VP with coefficients in coef

Projection onto the sphere of the barycenter of the points in VP with coefficients in coef.

The points in VP are assumed to lie on the sphere (this is not checked).