Class xlifepp::subdivision::SurfSphere#

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

Inheritence diagram for xlifepp::subdivision::SurfSphere:

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

Collaboration diagram for xlifepp::subdivision::SurfSphere:

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

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).