Class xlifepp::subdivision::SurfEllipsoid#
-
class SurfEllipsoid : public xlifepp::subdivision::SurfRevolution#
-
Inheritence diagram for xlifepp::subdivision::SurfEllipsoid:
Collaboration diagram for xlifepp::subdivision::SurfEllipsoid:
Public Functions
-
inline SurfEllipsoid(const Point &P1, const Point &P2, const real_t radius)#
-
main constructor P1 is the center of the circular section of the ellipsoid.
P2 is one of the two apexes on the axis of the ellipsoid. radius is the radius of the circular section of the ellipsoid in the plane orthogonal to the axis (P1,P2) containing P1.
-
virtual Point projOnBound(const real_t *coef, const std::vector<Point> &VP) const#
-
projection onto the ellipsoid of the barycenter of the points in VP with coefficients in coef
Projection onto the ellipsoid of the barycenter of the points in VP with coefficients in coef.
The points in VP are assumed to lie on the ellipsoid (this is not checked). The projection is made onto the half of the ellipsoid whose apex is EndPt2_.
-
inline SurfEllipsoid(const Point &P1, const Point &P2, const real_t radius)#