Class xlifepp::CompositeGeodesic#
-
class CompositeGeodesic : public xlifepp::Geodesic#
-
CompositeGeodesic class handling any geodesic described by a collection of Geodesics geodesics_ : list of pointers to Geodesic (each Geodesic may be of any type) Such structure can describe a geodesic by mixing different kind of geodesic, leading to a faster computation if GeometricGeodesic or AnalyticGeodesic are used NOTE: hard copy of Geodesics.
Public Functions
-
inline CompositeGeodesic(bool wCA = false, bool wT = false, bool wC = false)#
-
“void” constructor
-
CompositeGeodesic(const CompositeGeodesic &cg)#
-
copy constructor
-
inline CompositeGeodesic(GeomDomain &dom, bool wCA = false, bool wT = false, bool wC = false)#
-
constructor from a domain
-
inline CompositeGeodesic(Geometry &geo, bool wCA = false, bool wT = false, bool wC = false)#
-
constructor from a geometry
-
virtual void clear()#
-
clear tool
-
virtual Geodesic &compute(Point &x, Point &dx, real_t &l, real_t lmax, number_t n, real_t dt = 0)#
-
compute geodesic at points
compute CompositeGeodesic fill in local xs_, dxs_, .
. vectors but not global ones (use toGlobal()) return principal curvatures if available
-
void copy(const CompositeGeodesic &cg)#
-
copy tool
-
virtual Vector<real_t> curvatures(const Point &p, bool fromParameters = false)#
-
return principal curvatures if available
-
CompositeGeodesic &operator=(const CompositeGeodesic &cg)#
-
assign operator
-
virtual void print(std::ostream&) const#
-
fill xs_, dxs_, curAbcs_ from local xs_, dxs_, curAbcs_
-
void toGlobal()#
-
fill xs_, dxs_, curAbcs_ from local xs_, dxs_, curAbcs_
-
inline CompositeGeodesic(bool wCA = false, bool wT = false, bool wC = false)#