Class xlifepp::subdivision::DefaultGeometry#

class DefaultGeometry : public xlifepp::subdivision::PatchGeometry#

Subclassed by xlifepp::subdivision::SurfPlane

Public Functions

inline DefaultGeometry()#

main constructor

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

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

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

The points in VP are assumed to lie on the plane (this is not checked). Thus, the new point is simply this barycenter.