Class xlifepp::subdivision::DefaultGeometry#

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

Inheritence diagram for xlifepp::subdivision::DefaultGeometry:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "1" [label="xlifepp::subdivision::DefaultGeometry" tooltip="xlifepp::subdivision::DefaultGeometry" fillcolor="#BFBFBF"] "2" [label="xlifepp::subdivision::PatchGeometry" tooltip="xlifepp::subdivision::PatchGeometry"] "3" [label="xlifepp::subdivision::SurfPlane" tooltip="xlifepp::subdivision::SurfPlane"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "3" -> "1" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::subdivision::DefaultGeometry:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "5" [label="std::basic_string< char >" tooltip="std::basic_string< char >"] "6" [label="std::basic_string< Char >" tooltip="std::basic_string< Char >"] "4" [label="std::string" tooltip="std::string"] "8" [label="std::vector< T >" tooltip="std::vector< T >"] "7" [label="std::vector< real_t >" tooltip="std::vector< real_t >"] "9" [label="std::vector< xlifepp::Point >" tooltip="std::vector< xlifepp::Point >"] "1" [label="xlifepp::subdivision::DefaultGeometry" tooltip="xlifepp::subdivision::DefaultGeometry" fillcolor="#BFBFBF"] "3" [label="xlifepp::subdivision::DivideByZero" tooltip="xlifepp::subdivision::DivideByZero"] "2" [label="xlifepp::subdivision::PatchGeometry" tooltip="xlifepp::subdivision::PatchGeometry"] "5" -> "6" [dir=forward tooltip="template-instance"] "4" -> "5" [dir=forward tooltip="public-inheritance"] "7" -> "8" [dir=forward tooltip="template-instance"] "9" -> "8" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "3" -> "4" [dir=forward tooltip="usage"] "3" -> "7" [dir=forward tooltip="usage"] "3" -> "9" [dir=forward tooltip="usage"] "2" -> "3" [dir=forward tooltip="usage"] "2" -> "4" [dir=forward tooltip="usage"] }

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.