Class xlifepp::TrunkSidePart#

class TrunkSidePart : public xlifepp::Surface#

Inheritence diagram for xlifepp::TrunkSidePart:

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

Collaboration diagram for xlifepp::TrunkSidePart:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "22" [label="xlifepp::Collection< string_t >" tooltip="xlifepp::Collection< string_t >"] "15" [label="xlifepp::Matrix< real_t >" tooltip="xlifepp::Matrix< real_t >"] "19" [label="xlifepp::Vector< real_t >" tooltip="xlifepp::Vector< real_t >"] "30" [label="xlifepp::Vector< xlifepp::Vector< real_t > >" tooltip="xlifepp::Vector< xlifepp::Vector< real_t > >"] "39" [label="std::list< std::pair< number_t, real_t > >" tooltip="std::list< std::pair< number_t, real_t > >"] "11" [label="std::map< number_t, std::vector< number_t > >" tooltip="std::map< number_t, std::vector< number_t > >"] "9" [label="std::map< number_t, xlifepp::Geometry * >" tooltip="std::map< number_t, xlifepp::Geometry * >"] "38" [label="std::map< string_t, number_t >" tooltip="std::map< string_t, number_t >"] "40" [label="std::list< T >" tooltip="std::list< T >"] "10" [label="std::map< K, T >" tooltip="std::map< K, T >"] "6" [label="std::vector< T >" tooltip="std::vector< T >"] "25" [label="std::vector< T >" tooltip="std::vector< T >"] "18" [label="std::vector< K >" tooltip="std::vector< K >"] "5" [label="std::vector< RealPair >" tooltip="std::vector< RealPair >"] "21" [label="std::vector< const xlifepp::Transformation * >" tooltip="std::vector< const xlifepp::Transformation * >"] "26" [label="std::vector< number_t >" tooltip="std::vector< number_t >"] "16" [label="std::vector< real_t >" tooltip="std::vector< real_t >"] "35" [label="std::vector< std::vector< GeoNumPair > >" tooltip="std::vector< std::vector< GeoNumPair > >"] "12" [label="std::vector< std::vector< int_t > >" tooltip="std::vector< std::vector< int_t > >"] "23" [label="std::vector< string_t >" tooltip="std::vector< string_t >"] "34" [label="std::vector< xlifepp::GeomDomain * >" tooltip="std::vector< xlifepp::GeomDomain * >"] "33" [label="std::vector< xlifepp::GeomElement * >" tooltip="std::vector< xlifepp::GeomElement * >"] "37" [label="std::vector< xlifepp::Parameter * >" tooltip="std::vector< xlifepp::Parameter * >"] "8" [label="std::vector< xlifepp::Point >" tooltip="std::vector< xlifepp::Point >"] "27" [label="std::vector< xlifepp::Transformation * >" tooltip="std::vector< xlifepp::Transformation * >"] "31" [label="std::vector< xlifepp::Vector< real_t > >" tooltip="std::vector< xlifepp::Vector< real_t > >"] "4" [label="xlifepp::BoundingBox" tooltip="xlifepp::BoundingBox"] "24" [label="xlifepp::Collection< T >" tooltip="xlifepp::Collection< T >"] "13" [label="xlifepp::ExtrusionData" tooltip="xlifepp::ExtrusionData"] "41" [label="xlifepp::GeoNode" tooltip="xlifepp::GeoNode"] "3" [label="xlifepp::Geometry" tooltip="xlifepp::Geometry"] "17" [label="xlifepp::Matrix< K >" tooltip="xlifepp::Matrix< K >"] "32" [label="xlifepp::Mesh" tooltip="xlifepp::Mesh"] "7" [label="xlifepp::MinimalBox" tooltip="xlifepp::MinimalBox"] "36" [label="xlifepp::Parameters" tooltip="xlifepp::Parameters"] "29" [label="xlifepp::Parametrization" tooltip="xlifepp::Parametrization"] "28" [label="xlifepp::Point" tooltip="xlifepp::Point"] "2" [label="xlifepp::Surface" tooltip="xlifepp::Surface"] "14" [label="xlifepp::Transformation" tooltip="xlifepp::Transformation"] "42" [label="xlifepp::Trunk" tooltip="xlifepp::Trunk"] "1" [label="xlifepp::TrunkSidePart" tooltip="xlifepp::TrunkSidePart" fillcolor="#BFBFBF"] "20" [label="xlifepp::Vector< K >" tooltip="xlifepp::Vector< K >"] "43" [label="xlifepp::Volume" tooltip="xlifepp::Volume"] "22" -> "23" [dir=forward tooltip="public-inheritance"] "22" -> "24" [dir=forward tooltip="template-instance"] "15" -> "16" [dir=forward tooltip="public-inheritance"] "15" -> "17" [dir=forward tooltip="template-instance"] "19" -> "16" [dir=forward tooltip="public-inheritance"] "19" -> "20" [dir=forward tooltip="template-instance"] "30" -> "31" [dir=forward tooltip="public-inheritance"] "30" -> "20" [dir=forward tooltip="template-instance"] "39" -> "40" [dir=forward tooltip="template-instance"] "11" -> "10" [dir=forward tooltip="template-instance"] "9" -> "10" [dir=forward tooltip="template-instance"] "38" -> "10" [dir=forward tooltip="template-instance"] "18" -> "6" [dir=forward tooltip="template-instance"] "5" -> "6" [dir=forward tooltip="template-instance"] "21" -> "6" [dir=forward tooltip="template-instance"] "26" -> "6" [dir=forward tooltip="template-instance"] "16" -> "6" [dir=forward tooltip="template-instance"] "35" -> "6" [dir=forward tooltip="template-instance"] "12" -> "6" [dir=forward tooltip="template-instance"] "23" -> "6" [dir=forward tooltip="template-instance"] "34" -> "6" [dir=forward tooltip="template-instance"] "33" -> "6" [dir=forward tooltip="template-instance"] "37" -> "6" [dir=forward tooltip="template-instance"] "8" -> "6" [dir=forward tooltip="template-instance"] "27" -> "6" [dir=forward tooltip="template-instance"] "31" -> "6" [dir=forward tooltip="template-instance"] "4" -> "5" [dir=forward tooltip="usage"] "24" -> "25" [dir=forward tooltip="public-inheritance"] "13" -> "14" [dir=forward tooltip="usage"] "13" -> "22" [dir=forward tooltip="usage"] "13" -> "26" [dir=forward tooltip="usage"] "13" -> "16" [dir=forward tooltip="usage"] "13" -> "19" [dir=forward tooltip="usage"] "13" -> "27" [dir=forward tooltip="usage"] "13" -> "28" [dir=forward tooltip="usage"] "41" -> "41" [dir=forward tooltip="usage"] "41" -> "3" [dir=forward tooltip="usage"] "3" -> "4" [dir=forward tooltip="usage"] "3" -> "7" [dir=forward tooltip="usage"] "3" -> "9" [dir=forward tooltip="usage"] "3" -> "11" [dir=forward tooltip="usage"] "3" -> "12" [dir=forward tooltip="usage"] "3" -> "13" [dir=forward tooltip="usage"] "3" -> "29" [dir=forward tooltip="usage"] "3" -> "3" [dir=forward tooltip="usage"] "3" -> "41" [dir=forward tooltip="usage"] "17" -> "18" [dir=forward tooltip="public-inheritance"] "32" -> "3" [dir=forward tooltip="usage"] "32" -> "8" [dir=forward tooltip="usage"] "32" -> "33" [dir=forward tooltip="usage"] "32" -> "34" [dir=forward tooltip="usage"] "32" -> "26" [dir=forward tooltip="usage"] "32" -> "35" [dir=forward tooltip="usage"] "32" -> "32" [dir=forward tooltip="usage"] "7" -> "8" [dir=forward tooltip="usage"] "36" -> "37" [dir=forward tooltip="usage"] "36" -> "38" [dir=forward tooltip="usage"] "29" -> "3" [dir=forward tooltip="usage"] "29" -> "19" [dir=forward tooltip="usage"] "29" -> "30" [dir=forward tooltip="usage"] "29" -> "32" [dir=forward tooltip="usage"] "29" -> "36" [dir=forward tooltip="usage"] "29" -> "39" [dir=forward tooltip="usage"] "28" -> "16" [dir=forward tooltip="public-inheritance"] "2" -> "3" [dir=forward tooltip="public-inheritance"] "2" -> "8" [dir=forward tooltip="usage"] "2" -> "16" [dir=forward tooltip="usage"] "2" -> "26" [dir=forward tooltip="usage"] "14" -> "15" [dir=forward tooltip="usage"] "14" -> "19" [dir=forward tooltip="usage"] "14" -> "21" [dir=forward tooltip="usage"] "42" -> "43" [dir=forward tooltip="public-inheritance"] "42" -> "2" [dir=forward tooltip="usage"] "42" -> "28" [dir=forward tooltip="usage"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "1" -> "42" [dir=forward tooltip="usage"] "1" -> "3" [dir=forward tooltip="usage"] "20" -> "18" [dir=forward tooltip="public-inheritance"] "43" -> "3" [dir=forward tooltip="public-inheritance"] "43" -> "8" [dir=forward tooltip="usage"] "43" -> "26" [dir=forward tooltip="usage"] "43" -> "16" [dir=forward tooltip="usage"] }

definition of a part of trunk side in R^3 (lateral surface) Trunk is defined by its basis_ (B), center1 (C), origin_(O) and scale factor (s) of the top part of side trunk is defined from a Trunk object and either 2 points of basis boundary or two angles if elliptical trunk General parametrisation of a side part ( g(u) parametrization of the basis boundary) P(u,v) = (1-v+sv)g(u) + v(O -sC) no construction via key parameter, no geometric transformation available, no mesh (p_,n_,h_ not managed) not a user geometry for the moment !!!

Public Functions

TrunkSidePart(const Geometry &g, const Point &a = Point(), const Point &b = Point(), bool sh = true)#

explicit constructor from Trunk and points defining angles

TrunkSidePart(const Geometry &g, real_t tmin, real_t tmax, bool sh = true)#

default constructor

explicit constructor from Trunk and angles in [0,2pi]

eplicit constructor

inline virtual ~TrunkSidePart()#

destructor

virtual string_t asString() const#

format as string

format as string: “TrunkSidePart …)”

inline virtual Geometry *clone() const#

virtual copy constructor for Geometry access to child TrunkSidePart object (const)

Vector<real_t> funParametrization(const Point &pt, Parameters &pars, DiffOpType d = _id) const#

parametrization

Parametrization of TrunkSidePart Trunk is defined by its basis_ (B), center1 (C) in basis, origin_(O) in top and scale factor (s) of the top general parametrisation of a side part ( g(u) parametrization of the basis boundary) P(u,v) = (1-v+sv)g(u) + v(O-sC)

Vector<real_t> invParametrization(const Point &pt, Parameters &pars, DiffOpType d = _id) const#

inverse of parametrization

inverse of TrunkSidePart parametrization (u,v)=invf(p)

inline virtual TrunkSidePart *trunkSidePart()#

access to child TrunkSidePart object

inline virtual const TrunkSidePart *trunkSidePart() const#

access to child EllipsoidSidePart object (const)