diff --git a/Doxyfile b/Doxyfile index ecd23101..3eeb5fa6 100644 --- a/Doxyfile +++ b/Doxyfile @@ -813,7 +813,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = src +INPUT = src src/Clothoids submodules/GenericContainer/src submodules/Utils/src submodules/Utils/src/Utils submodules/quarticRootsFlocke/src # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses diff --git a/docs/annotated.html b/docs/annotated.html new file mode 100644 index 00000000..354d1128 --- /dev/null +++ b/docs/annotated.html @@ -0,0 +1,130 @@ + + +
+ + + + ++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
▼NG2lib | Clothoid computations routine |
CBBox | Class to manipulate bounding box |
CAABBtree | Class to manage AABB tree |
CBiarc | Compute biarc fitting by Hemite data |
CBiarcList | Class to manage a list of biarc Curve (not necessarily G2 or G1 connected) |
CCircleArc | Class to manage Clothoid Curve |
CClothoidCurve | Class to manage Clothoid Curve |
CAsyPlot | |
CG2solve2arc | Computation of the G2 fitting with 2 clothoid arc |
CG2solveCLC | Computation of the G2 fitting with 2 clothoid and one line segment |
CG2solve3arc | Computation of the G2 fitting with 3 clothoid arcs |
CClothoidList | Class to manage a list of clothoid curves (not necessarily G2 or G1 connected) |
CClothoidSplineG2 | Class for the computation of G2 spljne of clothoids |
CClothoidData | Data storage for clothoid type curve |
CSolve2x2 | Class that solve a 2x2 linear system |
CBaseCurve | Base classe for all the curve ìs in the library |
CLineSegment | Class to manage a straight segment |
CPolyLine | Class to manage a collection of straight segment |
CTriangle2D | Class to manage Triangle for BB of clothoid curve |
▼NGenericContainerNamespace | |
Cmat_type | |
CGenericContainer | GenericContainer is a class which permit to store eterogeneous data: |
CGenericContainerExplorer | |
▼NPolynomialRoots | Implementation of Flocke algorithm for roots of 3rd and 4th degree polynomials |
CQuadratic | Quadratic polynomial class |
CCubic | Cubic polynomial class |
CQuartic | Quartic polynomial class |
▼NUtils | |
▼CConsole | |
CConsole_style | |
CMalloc | Allocate memory |
CSpinLock | |
CWaitWorker | |
CBinarySearch | |
CSpinLock_barrier | |
CBarrier | |
CSimpleSemaphore | |
CWorker | |
CThreadPool | |
CTicToc | |
CRuntime_TraceError | |
CRuntime_Error | |
Cc_complex_type |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::TicToc, including all inherited members.
+elapsed_ms() const (defined in Utils::TicToc) | Utils::TicToc | inline |
elapsed_s() const (defined in Utils::TicToc) | Utils::TicToc | inline |
tic() (defined in Utils::TicToc) | Utils::TicToc | inline |
TicToc() (defined in Utils::TicToc) | Utils::TicToc | inline |
toc() (defined in Utils::TicToc) | Utils::TicToc | inline |
~TicToc() (defined in Utils::TicToc) | Utils::TicToc | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::BBox, including all inherited members.
+AABBtree (defined in G2lib::BBox) | G2lib::BBox | friend |
BBox(real_type xmin, real_type ymin, real_type xmax, real_type ymax, int_type id, int_type ipos) (defined in G2lib::BBox) | G2lib::BBox | inline |
BBox(vector< PtrBBox > const &bboxes, int_type id, int_type ipos) (defined in G2lib::BBox) | G2lib::BBox | inline |
collision(BBox const &box) const | G2lib::BBox | inline |
distance(real_type x, real_type y) const | G2lib::BBox | |
Id() const | G2lib::BBox | inline |
Ipos() const | G2lib::BBox | inline |
join(vector< PtrBBox > const &bboxes) | G2lib::BBox | |
maxDistance(real_type x, real_type y) const | G2lib::BBox | |
operator=(BBox const &rhs) (defined in G2lib::BBox) | G2lib::BBox | inline |
print(ostream_type &stream) const (defined in G2lib::BBox) | G2lib::BBox | inline |
PtrBBox typedef (defined in G2lib::BBox) | G2lib::BBox | |
Xmax() const (defined in G2lib::BBox) | G2lib::BBox | inline |
Xmin() const (defined in G2lib::BBox) | G2lib::BBox | inline |
Ymax() const (defined in G2lib::BBox) | G2lib::BBox | inline |
Ymin() const (defined in G2lib::BBox) | G2lib::BBox | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::CircleArc, including all inherited members.
+BaseCurve(CurveType const &type) (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
bbox(real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::CircleArc | virtual |
bbox_ISO(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::CircleArc | virtual |
bbox_SAE(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const | G2lib::BaseCurve | inline |
bbTriangle(real_type &x0, real_type &y0, real_type &x1, real_type &y1, real_type &x2, real_type &y2) const | G2lib::CircleArc | |
bbTriangle(real_type p0[2], real_type p1[2], real_type p2[2]) const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
bbTriangle(Triangle2D &t, real_type ss0=0, real_type ss1=0, int_type icurve=0) const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
bbTriangle_ISO(real_type offs, real_type &x0, real_type &y0, real_type &x1, real_type &y1, real_type &x2, real_type &y2) const | G2lib::CircleArc | |
bbTriangle_ISO(real_type offs, real_type p0[2], real_type p1[2], real_type p2[2]) const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
bbTriangle_ISO(real_type offs, Triangle2D &t, real_type ss0=0, real_type ss1=0, int_type icurve=0) const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
bbTriangle_SAE(real_type offs, real_type &_x0, real_type &_y0, real_type &_x1, real_type &_y1, real_type &_x2, real_type &_y2) const | G2lib::CircleArc | inline |
bbTriangle_SAE(real_type offs, real_type p0[2], real_type p1[2], real_type p2[2]) const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
bbTriangle_SAE(real_type offs, Triangle2D &t, real_type ss0=0, real_type ss1=0, int_type icurve=0) const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
bbTriangles(std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const (defined in G2lib::CircleArc) | G2lib::CircleArc | |
bbTriangles_ISO(real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const (defined in G2lib::CircleArc) | G2lib::CircleArc | |
bbTriangles_SAE(real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
Biarc (defined in G2lib::CircleArc) | G2lib::CircleArc | friend |
build(real_type x0, real_type y0, real_type theta0, real_type k, real_type L) | G2lib::CircleArc | inline |
build_3P(real_type x0, real_type y0, real_type x1, real_type y1, real_type x2, real_type y2) | G2lib::CircleArc | |
build_G1(real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1) | G2lib::CircleArc | |
center(real_type &cx, real_type &cy) const (defined in G2lib::CircleArc) | G2lib::CircleArc | |
changeCurvilinearOrigin(real_type s0, real_type newL) (defined in G2lib::CircleArc) | G2lib::CircleArc | |
changeOrigin(real_type newx0, real_type newy0) UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
CircleArc() (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
CircleArc(CircleArc const &s) (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
CircleArc(real_type x0, real_type y0, real_type theta0, real_type k, real_type L) | G2lib::CircleArc | inlineexplicit |
CircleArc(LineSegment const &LS) | G2lib::CircleArc | inlineexplicit |
CircleArc(BaseCurve const &C) (defined in G2lib::CircleArc) | G2lib::CircleArc | explicit |
closestPoint_ISO(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::CircleArc | virtual |
closestPoint_ISO(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::CircleArc | virtual |
closestPoint_SAE(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
closestPoint_SAE(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
ClothoidCurve (defined in G2lib::CircleArc) | G2lib::CircleArc | friend |
collision(CircleArc const &) const (defined in G2lib::CircleArc) | G2lib::CircleArc | |
collision(BaseCurve const &C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_ISO(real_type offs, CircleArc const &C, real_type offs_obj) const (defined in G2lib::CircleArc) | G2lib::CircleArc | |
collision_ISO(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_SAE(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
copy(CircleArc const &c) (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
cosTheta0() const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
curvature() const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
delta_theta() const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
deltaTheta() const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
distance(real_type qx, real_type qy) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
distance_ISO(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
distance_SAE(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
eval(real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
eval_D(real_type, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
eval_DD(real_type, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
eval_DDD(real_type, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const | G2lib::BaseCurve | virtual |
eval_ISO_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const | G2lib::BaseCurve | virtual |
eval_ISO_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const | G2lib::BaseCurve | virtual |
eval_ISO_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const | G2lib::BaseCurve | virtual |
eval_SAE(real_type s, real_type offs, real_type &x, real_type &y) const | G2lib::BaseCurve | inline |
eval_SAE_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const | G2lib::BaseCurve | inline |
eval_SAE_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const | G2lib::BaseCurve | inline |
eval_SAE_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const | G2lib::BaseCurve | inline |
evaluate(real_type s, real_type &th, real_type &kappa, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
evaluate_ISO(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
evaluate_SAE(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
findST_ISO(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
findST_SAE(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
info(ostream_type &stream) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
intersect(CircleArc const &obj, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::CircleArc) | G2lib::CircleArc | |
intersect(BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_ISO(real_type offs, CircleArc const &C, real_type offs_obj, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::CircleArc) | G2lib::CircleArc | |
intersect_ISO(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_SAE(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappaBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
kappaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
length() const UTILS_OVERRIDE | G2lib::CircleArc | inlinevirtual |
length_ISO(real_type offs) const UTILS_OVERRIDE | G2lib::CircleArc | inlinevirtual |
length_SAE(real_type offs) const | G2lib::BaseCurve | inline |
lenTolerance(real_type tol) const (defined in G2lib::CircleArc) | G2lib::CircleArc | |
m_type (defined in G2lib::BaseCurve) | G2lib::BaseCurve | protected |
nor_ISO(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
nx_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_End_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
nx_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
ny_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_End_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ny_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
operator<< (defined in G2lib::CircleArc) | G2lib::CircleArc | friend |
operator=(CircleArc const &s) (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
paramNURBS(int_type &n_knots, int_type &n_pnts) const (defined in G2lib::CircleArc) | G2lib::CircleArc | |
ray() const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
reverse() UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
rotate(real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
scale(real_type s) UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
sinTheta0() const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
tg(real_type s, real_type &tx, real_type &ty) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
tg_D(real_type s, real_type &tx_D, real_type &ty_D) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
tg_DD(real_type s, real_type &tx_DD, real_type &ty_DD) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
tg_DDD(real_type s, real_type &tx_DDD, real_type &ty_DDD) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
theta(real_type s) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
theta_D(real_type) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
theta_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
theta_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
thetaBegin() const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
thetaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
thetaMinMax(real_type &thMin, real_type &thMax) const (defined in G2lib::CircleArc) | G2lib::CircleArc | |
thetaTotalVariation() const (defined in G2lib::CircleArc) | G2lib::CircleArc | inline |
toNURBS(real_type knots[], real_type Poly[][3]) const (defined in G2lib::CircleArc) | G2lib::CircleArc | |
translate(real_type tx, real_type ty) UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
trim(real_type s_begin, real_type s_end) UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
tx(real_type s) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
tx_Begin() const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
tx_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
tx_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
tx_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
tx_End() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ty(real_type s) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
ty_Begin() const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
ty_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
ty_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
ty_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
ty_End() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
type() const | G2lib::BaseCurve | inline |
X(real_type s) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
X_D(real_type) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
X_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
X_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
X_ISO(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_ISO_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_ISO_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_ISO_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xBegin() const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
xBegin_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xEnd_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y(real_type s) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
Y_D(real_type) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
Y_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
Y_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | virtual |
Y_ISO(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_ISO_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_ISO_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_ISO_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yBegin() const UTILS_OVERRIDE (defined in G2lib::CircleArc) | G2lib::CircleArc | inlinevirtual |
yBegin_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yEnd_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
~BaseCurve() (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Classes | |
class | Console |
class | Malloc |
Allocate memory. More... | |
class | SpinLock |
class | WaitWorker |
class | BinarySearch |
class | SpinLock_barrier |
class | Barrier |
class | SimpleSemaphore |
class | Worker |
class | ThreadPool |
class | TicToc |
class | Runtime_TraceError |
class | Runtime_Error |
+Typedefs | |
+typedef std::basic_ostream< char > | ostream_type |
+Functions | |
+string | outBytes (size_t nb) |
+bool | foundNaN (double const pv[], int DIM) |
check if the vector pv os size DIM contains only regular floats | |
+bool | foundNaN (float const pv[], int DIM) |
+void | checkNaN (double const pv[], char const v_name[], int DIM, int line, char const file[]) |
check if the vector pv os size DIM contains only regular floats. If not an error is issued | |
+void | checkNaN (float const pv[], char const v_name[], int DIM, int line, char const file[]) |
+void | printTrace (int line, char const file[], std::string const &reason, ostream_type &stream) |
print a trace stack used in debug | |
+std::string | basename (char const path[]) |
+template<typename T_int , typename T_real > | |
void | searchInterval (T_int npts, T_real const X[], T_real &x, T_int &lastInterval, bool closed, bool can_extend) |
+template void | searchInterval (int32_t npts, float const X[], float &x, int32_t &lastInterval, bool closed, bool can_extend) |
+template void | searchInterval (int32_t npts, double const X[], double &x, int32_t &lastInterval, bool closed, bool can_extend) |
+template void | searchInterval (int64_t npts, float const X[], float &x, int64_t &lastInterval, bool closed, bool can_extend) |
+template void | searchInterval (int64_t npts, double const X[], double &x, int64_t &lastInterval, bool closed, bool can_extend) |
+template<typename T > | |
T | NaN () |
Not a number constant. | |
+template<> | |
float | NaN () |
Not a number constant. | |
+template<typename T > | |
T | Inf () |
+template<> | |
float | Inf () |
+template<typename T > | |
T | machineEps () |
machine epsilon | |
+template<> | |
float | machineEps () |
machine epsilon | |
+template<typename T > | |
T | sqrtMachineEps () |
square root of machine epsilon | |
+template<> | |
float | sqrtMachineEps () |
square root of machine epsilon | |
+template<typename T > | |
T | maximumValue () |
maximum representable value | |
+template<> | |
float | maximumValue () |
maximum representable value | |
+template<typename T > | |
T | minimumValue () |
minimum representable value | |
+template<> | |
float | minimumValue () |
minimum representable value | |
+void | sleep_for_seconds (unsigned s) |
+void | sleep_for_milliseconds (unsigned ms) |
+Variables | |
+std::mutex | MallocMutex |
+int64_t | CountAlloc = 0 |
+int64_t | CountFreed = 0 |
+int64_t | AllocatedBytes = 0 |
+int64_t | MaximumAllocatedBytes = 0 |
+bool | MallocDebug = false |
file: Console.cc
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for GenericContainerNamespace::GenericContainer, including all inherited members.
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::ClothoidCurve, including all inherited members.
+approximate_collision_ISO(real_type offs, ClothoidCurve const &c, real_type c_offs, real_type max_angle, real_type max_size) const | G2lib::ClothoidCurve | |
BaseCurve(CurveType const &type) (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
bbox(real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
bbox_ISO(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::ClothoidCurve | virtual |
bbox_SAE(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const | G2lib::BaseCurve | inline |
bbTriangle(real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const | G2lib::ClothoidCurve | inline |
bbTriangle(Triangle2D &t, int_type icurve=0) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
bbTriangle_ISO(real_type offs, real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const | G2lib::ClothoidCurve | inline |
bbTriangle_ISO(real_type offs, Triangle2D &t, int_type icurve=0) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
bbTriangle_SAE(real_type offs, real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const | G2lib::ClothoidCurve | inline |
bbTriangle_SAE(real_type offs, Triangle2D &t, int_type icurve=0) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
bbTriangles(std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100, int_type icurve=0) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
bbTriangles_ISO(real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100, int_type icurve=0) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | |
bbTriangles_SAE(real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100, int_type icurve=0) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
build(real_type _x0, real_type _y0, real_type _theta0, real_type _k, real_type _dk, real_type _L) | G2lib::ClothoidCurve | inline |
build(LineSegment const &LS) | G2lib::ClothoidCurve | inline |
build(CircleArc const &C) | G2lib::ClothoidCurve | inline |
build_AABBtree_ISO(real_type offs, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | |
build_forward(real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type x1, real_type y1, real_type tol=1e-12) | G2lib::ClothoidCurve | inline |
build_G1(real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1, real_type tol=1e-12) | G2lib::ClothoidCurve | inline |
build_G1_D(real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1, real_type L_D[2], real_type k_D[2], real_type dk_D[2], real_type tol=1e-12) | G2lib::ClothoidCurve | inline |
changeCurvilinearOrigin(real_type s0, real_type newL) (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
changeOrigin(real_type newx0, real_type newy0) UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
closestPoint_ISO(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::ClothoidCurve | virtual |
closestPoint_ISO(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::ClothoidCurve | virtual |
closestPoint_SAE(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
closestPoint_SAE(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
closestPointBySample(real_type ds, real_type qx, real_type qy, real_type &X, real_type &Y, real_type &S) const | G2lib::ClothoidCurve | |
ClothoidCurve() (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
ClothoidCurve(ClothoidCurve const &s) (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
ClothoidCurve(real_type _x0, real_type _y0, real_type _theta0, real_type _k, real_type _dk, real_type _L) | G2lib::ClothoidCurve | inlineexplicit |
ClothoidCurve(real_type const P0[], real_type theta0, real_type const P1[], real_type theta1) | G2lib::ClothoidCurve | inlineexplicit |
ClothoidCurve(LineSegment const &LS) (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlineexplicit |
ClothoidCurve(CircleArc const &C) (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlineexplicit |
ClothoidCurve(BaseCurve const &C) (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | explicit |
ClothoidList (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | friend |
collision(ClothoidCurve const &C) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | |
collision(BaseCurve const &C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_ISO(real_type offs, ClothoidCurve const &C, real_type offs_C) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | |
collision_ISO(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_SAE(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
copy(ClothoidCurve const &c) (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
curvatureMinMax(real_type &kMin, real_type &kMax) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | |
curvatureTotalVariation() const | G2lib::ClothoidCurve | |
deltaTheta() const | G2lib::ClothoidCurve | inline |
distance(real_type qx, real_type qy) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
distance_ISO(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
distance_SAE(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
distanceBySample(real_type ds, real_type qx, real_type qy, real_type &S) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
distanceBySample(real_type ds, real_type qx, real_type qy) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
dkappa() const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
eval(real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
eval_D(real_type s, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
eval_DD(real_type s, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
eval_DDD(real_type s, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
eval_ISO_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
eval_ISO_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
eval_ISO_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
eval_SAE(real_type s, real_type offs, real_type &x, real_type &y) const | G2lib::BaseCurve | inline |
eval_SAE_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const | G2lib::BaseCurve | inline |
eval_SAE_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const | G2lib::BaseCurve | inline |
eval_SAE_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const | G2lib::BaseCurve | inline |
evaluate(real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
evaluate_ISO(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
evaluate_SAE(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
findST_ISO(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
findST_SAE(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
info(ostream_type &stream) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
integralCurvature2() const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | |
integralJerk2() const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | |
integralSnap2() const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | |
intersect(ClothoidCurve const &C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
intersect(BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_ISO(real_type offs, ClothoidCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | |
intersect_ISO(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_SAE(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappaBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
kappaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
length() const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
length_ISO(real_type) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
length_SAE(real_type offs) const | G2lib::BaseCurve | inline |
m_type (defined in G2lib::BaseCurve) | G2lib::BaseCurve | protected |
nor_ISO(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
nx_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_End_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
nx_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
ny_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_End_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ny_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
operator<< (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | friend |
operator=(ClothoidCurve const &s) (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
optimized_sample_ISO(real_type offs, int_type npts, real_type max_angle, std::vector< real_type > &s) const | G2lib::ClothoidCurve | |
optimized_sample_SAE(real_type offs, int_type npts, real_type max_angle, std::vector< real_type > &s) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
Pinfinity(real_type &x, real_type &y, bool plus=true) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inline |
reverse() UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
rotate(real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
scale(real_type s) UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
tg(real_type s, real_type &tx, real_type &ty) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
tg_D(real_type s, real_type &tx_D, real_type &ty_D) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
tg_DD(real_type s, real_type &tx_DD, real_type &ty_DD) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
tg_DDD(real_type s, real_type &tx_DDD, real_type &ty_DDD) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
theta(real_type s) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
theta_D(real_type s) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
theta_DD(real_type) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
theta_DDD(real_type) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
thetaBegin() const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
thetaEnd() const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
thetaMinMax(real_type &thMin, real_type &thMax) const (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | |
thetaTotalVariation() const | G2lib::ClothoidCurve | |
translate(real_type tx, real_type ty) UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
trim(real_type s_begin, real_type s_end) UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
tx(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
tx_Begin() const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
tx_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
tx_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
tx_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
tx_End() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ty(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
ty_Begin() const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
ty_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
ty_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
ty_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
ty_End() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
type() const | G2lib::BaseCurve | inline |
X(real_type s) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
X_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
X_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
X_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
X_ISO(real_type s, real_type offs) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
X_ISO_D(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
X_ISO_DD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
X_ISO_DDD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
X_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xBegin() const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
xBegin_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xEnd() const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
xEnd_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y(real_type s) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
Y_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
Y_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
Y_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
Y_ISO(real_type s, real_type offs) const UTILS_OVERRIDE | G2lib::ClothoidCurve | inlinevirtual |
Y_ISO_D(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
Y_ISO_DD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
Y_ISO_DDD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
Y_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yBegin() const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
yBegin_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yEnd() const UTILS_OVERRIDE (defined in G2lib::ClothoidCurve) | G2lib::ClothoidCurve | inlinevirtual |
yEnd_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
~BaseCurve() (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::Console::Console_style, including all inherited members.
+b (defined in Utils::Console::Console_style) | Utils::Console::Console_style | |
f (defined in Utils::Console::Console_style) | Utils::Console::Console_style | |
s (defined in Utils::Console::Console_style) | Utils::Console::Console_style |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
computation of the G2 fitting with 3 clothoid arcs + More...
+ +#include <ClothoidList.hxx>
+Public Member Functions | |
+void | setTolerance (real_type tol) |
+void | setMaxIter (int miter) |
int | build (real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type x1, real_type y1, real_type theta1, real_type kappa1, real_type Dmax=0, real_type dmax=0) |
int | build_fixed_length (real_type s0, real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type s1, real_type x1, real_type y1, real_type theta1, real_type kappa1) |
ClothoidCurve const & | getS0 () const |
ClothoidCurve const & | getS1 () const |
ClothoidCurve const & | getSM () const |
real_type | totalLength () const |
real_type | thetaTotalVariation () const |
real_type | curvatureTotalVariation () const |
real_type | integralCurvature2 () const |
real_type | integralJerk2 () const |
real_type | integralSnap2 () const |
real_type | thetaMinMax (real_type &thMin, real_type &thMax) const |
real_type | deltaTheta () const |
real_type | curvatureMinMax (real_type &kMin, real_type &kMax) const |
real_type | theta (real_type s) const |
real_type | theta_D (real_type s) const |
real_type | theta_DD (real_type s) const |
real_type | theta_DDD (real_type s) const |
real_type | X (real_type s) const |
real_type | Y (real_type s) const |
real_type | xBegin () const |
real_type | yBegin () const |
real_type | kappaBegin () const |
real_type | thetaBegin () const |
real_type | xEnd () const |
real_type | yEnd () const |
real_type | kappaEnd () const |
real_type | thetaEnd () const |
void | eval (real_type s, real_type &theta, real_type &kappa, real_type &x, real_type &y) const |
+void | eval (real_type s, real_type &x, real_type &y) const |
+void | eval_D (real_type s, real_type &x_D, real_type &y_D) const |
+void | eval_DD (real_type s, real_type &x_DD, real_type &y_DD) const |
+void | eval_DDD (real_type s, real_type &x_DDD, real_type &y_DDD) const |
+void | eval_ISO (real_type s, real_type offs, real_type &x, real_type &y) const |
+void | eval_ISO_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
+void | eval_ISO_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
+void | eval_ISO_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
+void | rotate (real_type angle, real_type cx, real_type cy) |
+void | translate (real_type tx, real_type ty) |
+void | reverse () |
+Friends | |
+ostream_type & | operator<< (ostream_type &stream, ClothoidCurve const &c) |
computation of the G2 fitting with 3 clothoid arcs
+int G2lib::G2solve3arc::build | +( | +real_type | +x0, | +
+ | + | real_type | +y0, | +
+ | + | real_type | +theta0, | +
+ | + | real_type | +kappa0, | +
+ | + | real_type | +x1, | +
+ | + | real_type | +y1, | +
+ | + | real_type | +theta1, | +
+ | + | real_type | +kappa1, | +
+ | + | real_type | +Dmax = 0 , |
+
+ | + | real_type | +dmax = 0 |
+
+ | ) | ++ |
Compute the 3 arc clothoid spline that fit the data
+[in] | x0 | initial x position |
[in] | y0 | initial y position |
[in] | theta0 | initial angle |
[in] | kappa0 | initial curvature |
[in] | x1 | final x position |
[in] | y1 | final y position |
[in] | theta1 | final angle |
[in] | kappa1 | final curvature |
[in] | Dmax | rough desidered maximum angle variation, if 0 computed automatically |
[in] | dmax | rough desidered maximum angle divergence from guess, if 0 computed automatically |
int G2lib::G2solve3arc::build_fixed_length | +( | +real_type | +s0, | +
+ | + | real_type | +x0, | +
+ | + | real_type | +y0, | +
+ | + | real_type | +theta0, | +
+ | + | real_type | +kappa0, | +
+ | + | real_type | +s1, | +
+ | + | real_type | +x1, | +
+ | + | real_type | +y1, | +
+ | + | real_type | +theta1, | +
+ | + | real_type | +kappa1 | +
+ | ) | ++ |
Compute the 3 arc clothoid spline that fit the data
+[in] | s0 | length of the first segment |
[in] | x0 | initial x position |
[in] | y0 | initial y position |
[in] | theta0 | initial angle |
[in] | kappa0 | initial curvature |
[in] | s1 | length of the last segment |
[in] | x1 | final x position |
[in] | y1 | final y position |
[in] | theta1 | final angle |
[in] | kappa1 | final curvature |
real_type G2lib::G2solve3arc::curvatureMinMax | +( | +real_type & | +kMin, | +
+ | + | real_type & | +kMax | +
+ | ) | +const | +
[out] | kMin | minimum curvature in the 3 arc G2 fitting curve |
[out] | kMax | maximum curvature in the 3 arc G2 fitting curve |
kMax
and kMin
+
|
+ +inline | +
+
|
+ +inline | +
void G2lib::G2solve3arc::eval | +( | +real_type | +s, | +
+ | + | real_type & | +theta, | +
+ | + | real_type & | +kappa, | +
+ | + | real_type & | +x, | +
+ | + | real_type & | +y | +
+ | ) | +const | +
Compute parameters of 3 arc clothoid at curvilinear coordinate s
[in] | s | curvilinear coordinate of where curve is computed |
[out] | theta | the curve angle |
[out] | kappa | the curve curvature |
[out] | x | the curve x-coordinate |
[out] | y | the curve y-coordinate |
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
real_type G2lib::G2solve3arc::theta | +( | +real_type | +s | ) | +const | +
real_type G2lib::G2solve3arc::theta_D | +( | +real_type | +s | ) | +const | +
real_type G2lib::G2solve3arc::theta_DD | +( | +real_type | +s | ) | +const | +
real_type G2lib::G2solve3arc::theta_DDD | +( | +real_type | +s | ) | +const | +
\return angle third derivative as a function of curvilinear coordinate +
\
+ +
+
|
+ +inline | +
+
|
+ +inline | +
real_type G2lib::G2solve3arc::thetaMinMax | +( | +real_type & | +thMin, | +
+ | + | real_type & | +thMax | +
+ | ) | +const | +
[out] | thMin | minimum angle in the 3 arc G2 fitting curve |
[out] | thMax | maximum angle in the 3 arc G2 fitting curve |
thMax
and thMin
+
|
+ +inline | +
+
|
+ +inline | +
real_type G2lib::G2solve3arc::X | +( | +real_type | +s | ) | +const | +
+
|
+ +inline | +
+
|
+ +inline | +
real_type G2lib::G2solve3arc::Y | +( | +real_type | +s | ) | +const | +
+
|
+ +inline | +
+
|
+ +inline | +
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::PolyLine, including all inherited members.
+BaseCurve(CurveType const &type) (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
bbox(real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::PolyLine | virtual |
bbox_ISO(real_type, real_type &, real_type &, real_type &, real_type &) const UTILS_OVERRIDE | G2lib::PolyLine | inlinevirtual |
bbox_SAE(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const | G2lib::BaseCurve | inline |
BiarcList (defined in G2lib::PolyLine) | G2lib::PolyLine | friend |
build(real_type const x[], real_type const y[], int_type npts) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
build(LineSegment const &L) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
build(CircleArc const &C, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
build(Biarc const &B, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
build(ClothoidCurve const &C, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
build(ClothoidList const &CL, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
build_AABBtree(AABBtree &aabb) const (defined in G2lib::PolyLine) | G2lib::PolyLine | |
build_AABBtree() const (defined in G2lib::PolyLine) | G2lib::PolyLine | inline |
changeOrigin(real_type newx0, real_type newy0) UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | virtual |
closestPoint_ISO(real_type x, real_type y, real_type &X, real_type &Y, real_type &S, real_type &T, real_type &DST) const UTILS_OVERRIDE | G2lib::PolyLine | virtual |
closestPoint_ISO(real_type, real_type, real_type, real_type &, real_type &, real_type &, real_type &, real_type &) const UTILS_OVERRIDE | G2lib::PolyLine | inlinevirtual |
closestPoint_SAE(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
closestPoint_SAE(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
ClothoidList (defined in G2lib::PolyLine) | G2lib::PolyLine | friend |
collision(PolyLine const &C) const (defined in G2lib::PolyLine) | G2lib::PolyLine | |
collision(BaseCurve const &C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_ISO(real_type offs, PolyLine const &CL, real_type offs_CL) const (defined in G2lib::PolyLine) | G2lib::PolyLine | inline |
collision_ISO(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_SAE(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
copy(PolyLine const &l) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
distance(real_type qx, real_type qy) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
distance_ISO(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
distance_SAE(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
eval(real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
eval_D(real_type s, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
eval_DD(real_type, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
eval_DDD(real_type, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE | G2lib::PolyLine | inlinevirtual |
eval_ISO_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE | G2lib::PolyLine | inlinevirtual |
eval_ISO_DD(real_type, real_type, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE | G2lib::PolyLine | inlinevirtual |
eval_ISO_DDD(real_type, real_type, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE | G2lib::PolyLine | inlinevirtual |
eval_SAE(real_type s, real_type offs, real_type &x, real_type &y) const | G2lib::BaseCurve | inline |
eval_SAE_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const | G2lib::BaseCurve | inline |
eval_SAE_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const | G2lib::BaseCurve | inline |
eval_SAE_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const | G2lib::BaseCurve | inline |
evaluate(real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
evaluate_ISO(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
evaluate_SAE(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
findAtS(real_type &s) const (defined in G2lib::PolyLine) | G2lib::PolyLine | |
findST_ISO(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
findST_SAE(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
getSegment(int_type n) const (defined in G2lib::PolyLine) | G2lib::PolyLine | |
info(ostream_type &stream) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
init() (defined in G2lib::PolyLine) | G2lib::PolyLine | |
init(real_type x0, real_type y0) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
intersect(PolyLine const &pl, std::vector< real_type > &s1, std::vector< real_type > &s2) const (defined in G2lib::PolyLine) | G2lib::PolyLine | |
intersect(PolyLine const &pl, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::PolyLine) | G2lib::PolyLine | |
intersect(BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_ISO(real_type offs, PolyLine const &pl, real_type offs_pl, IntersectList &ilist, bool swap_s_vals) (defined in G2lib::PolyLine) | G2lib::PolyLine | inline |
intersect_ISO(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_SAE(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappaBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
kappaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
length() const UTILS_OVERRIDE | G2lib::PolyLine | inlinevirtual |
length_ISO(real_type) const UTILS_OVERRIDE | G2lib::PolyLine | inlinevirtual |
length_SAE(real_type offs) const | G2lib::BaseCurve | inline |
m_type (defined in G2lib::BaseCurve) | G2lib::BaseCurve | protected |
nor_ISO(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
numPoints() const (defined in G2lib::PolyLine) | G2lib::PolyLine | inline |
numSegment() const (defined in G2lib::PolyLine) | G2lib::PolyLine | inline |
nx_Begin_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
nx_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_End_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
nx_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_Begin_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ny_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_End_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ny_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
operator<< (defined in G2lib::PolyLine) | G2lib::PolyLine | friend |
operator=(PolyLine const &s) (defined in G2lib::PolyLine) | G2lib::PolyLine | inline |
polygon(real_type x[], real_type y[]) const (defined in G2lib::PolyLine) | G2lib::PolyLine | |
PolyLine() (defined in G2lib::PolyLine) | G2lib::PolyLine | inline |
PolyLine(PolyLine const &PL) (defined in G2lib::PolyLine) | G2lib::PolyLine | inline |
PolyLine(LineSegment const &LS) (defined in G2lib::PolyLine) | G2lib::PolyLine | explicit |
PolyLine(CircleArc const &C, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | explicit |
PolyLine(Biarc const &B, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | explicit |
PolyLine(ClothoidCurve const &B, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | explicit |
PolyLine(ClothoidList const &B, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | explicit |
PolyLine(BaseCurve const &C) (defined in G2lib::PolyLine) | G2lib::PolyLine | explicit |
push_back(real_type x, real_type y) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
push_back(LineSegment const &C) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
push_back(CircleArc const &C, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
push_back(Biarc const &C, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
push_back(ClothoidCurve const &C, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
push_back(ClothoidList const &L, real_type tol) (defined in G2lib::PolyLine) | G2lib::PolyLine | |
reverse() UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | virtual |
rotate(real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
scale(real_type sc) UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | virtual |
tg(real_type s, real_type &tg_x, real_type &tg_y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
tg_D(real_type s, real_type &tg_x_D, real_type &tg_y_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
tg_DD(real_type s, real_type &tg_x_DD, real_type &tg_y_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
tg_DDD(real_type s, real_type &tg_x_DDD, real_type &tg_y_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
theta(real_type s) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | virtual |
theta_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | virtual |
theta_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | virtual |
theta_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | virtual |
thetaBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
thetaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
translate(real_type tx, real_type ty) UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
trim(real_type s_begin, real_type s_end) UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | virtual |
trim(real_type s_begin, real_type s_end, PolyLine &newPL) const (defined in G2lib::PolyLine) | G2lib::PolyLine | |
tx(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
tx_Begin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
tx_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
tx_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
tx_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
tx_End() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ty(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
ty_Begin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ty_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
ty_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
ty_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
ty_End() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
type() const | G2lib::BaseCurve | inline |
X(real_type s) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
X_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
X_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
X_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
X_ISO(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_ISO_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_ISO_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_ISO_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xBegin() const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
xBegin_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xEnd() const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
xEnd_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y(real_type s) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
Y_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
Y_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
Y_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
Y_ISO(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_ISO_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_ISO_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_ISO_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yBegin() const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
yBegin_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yEnd() const UTILS_OVERRIDE (defined in G2lib::PolyLine) | G2lib::PolyLine | inlinevirtual |
yEnd_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
~BaseCurve() (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+GenericContainer * | top () |
+GenericContainer const * | top () const |
+void * | mem_ptr () |
+void const * | mem_ptr () const |
+GENERIC_CONTAINER_API_DLL int | check (int data_type) const |
+GENERIC_CONTAINER_API_DLL int | check_no_data (int data_type) const |
+GENERIC_CONTAINER_API_DLL int | pop () |
+GENERIC_CONTAINER_API_DLL int | push (GenericContainer *gc) |
+GENERIC_CONTAINER_API_DLL int | push_vector_position (unsigned pos) |
+GENERIC_CONTAINER_API_DLL int | push_map_position (char const pos[]) |
+GENERIC_CONTAINER_API_DLL int | init_map_key () |
+GENERIC_CONTAINER_API_DLL char const * | next_map_key () |
+GENERIC_CONTAINER_API_DLL int | reset () |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Classes | |
class | Console_style |
+Public Member Functions | |
+ | Console (ostream_type *stream=&std::cout, int level=4) |
+void | changeLevel (int new_level) |
+void | changeStream (ostream_type *new_stream) |
+int | getLevel () const |
+ostream_type * | getStream () const |
+Console const & | flush () const |
+Console const & | message (std::string const &msg, int msg_level=4) const |
+Console const & | semaphore (unsigned ryg, std::string const &msg, int msg_level=0) const |
+Console const & | warning (std::string const &msg) const |
+Console const & | error (std::string const &msg) const |
+Console const & | fatal (std::string const &msg) const |
+Console const & | black (std::string const &msg, int msg_level=0) const |
+Console const & | red (std::string const &msg, int msg_level=0) const |
+Console const & | green (std::string const &msg, int msg_level=0) const |
+Console const & | yellow (std::string const &msg, int msg_level=0) const |
+Console const & | blue (std::string const &msg, int msg_level=0) const |
+Console const & | magenta (std::string const &msg, int msg_level=0) const |
+Console const & | cyan (std::string const &msg, int msg_level=0) const |
+Console const & | gray (std::string const &msg, int msg_level=0) const |
+Console const & | black_reversed (std::string const &msg, int msg_level=0) const |
+Console const & | red_reversed (std::string const &msg, int msg_level=0) const |
+Console const & | green_reversed (std::string const &msg, int msg_level=0) const |
+Console const & | yellow_reversed (std::string const &msg, int msg_level=0) const |
+Console const & | blue_reversed (std::string const &msg, int msg_level=0) const |
+Console const & | magenta_reversed (std::string const &msg, int msg_level=0) const |
+Console const & | cyan_reversed (std::string const &msg, int msg_level=0) const |
+Console const & | gray_reversed (std::string const &msg, int msg_level=0) const |
+void | setMessageStyle (rang::style const &s, rang::fg const &f, rang::bg const &b) |
+void | setWarningStyle (rang::style const &s, rang::fg const &f, rang::bg const &b) |
+void | setErrorStyle (rang::style const &s, rang::fg const &f, rang::bg const &b) |
+void | setFatalStyle (rang::style const &s, rang::fg const &f, rang::bg const &b) |
+void | setOff () const |
set off coloring | |
+void | setAuto () const |
set coloring automatic | |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Class to manage a collection of straight segment. + More...
+ +#include <PolyLine.hxx>
+Public Member Functions | |
+void | init () |
+void | copy (PolyLine const &l) |
+ | PolyLine (PolyLine const &PL) |
+int_type | findAtS (real_type &s) const |
+ | PolyLine (LineSegment const &LS) |
+ | PolyLine (CircleArc const &C, real_type tol) |
+ | PolyLine (Biarc const &B, real_type tol) |
+ | PolyLine (ClothoidCurve const &B, real_type tol) |
+ | PolyLine (ClothoidList const &B, real_type tol) |
+ | PolyLine (BaseCurve const &C) |
+PolyLine const & | operator= (PolyLine const &s) |
+LineSegment const & | getSegment (int_type n) const |
+int_type | numSegment () const |
+int_type | numPoints () const |
+void | polygon (real_type x[], real_type y[]) const |
+void | init (real_type x0, real_type y0) |
+void | push_back (real_type x, real_type y) |
+void | push_back (LineSegment const &C) |
+void | push_back (CircleArc const &C, real_type tol) |
+void | push_back (Biarc const &C, real_type tol) |
+void | push_back (ClothoidCurve const &C, real_type tol) |
+void | push_back (ClothoidList const &L, real_type tol) |
+void | build (real_type const x[], real_type const y[], int_type npts) |
+void | build (LineSegment const &L) |
+void | build (CircleArc const &C, real_type tol) |
+void | build (Biarc const &B, real_type tol) |
+void | build (ClothoidCurve const &C, real_type tol) |
+void | build (ClothoidList const &CL, real_type tol) |
virtual void | bbox (real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
virtual void | bbox_ISO (real_type, real_type &, real_type &, real_type &, real_type &) const UTILS_OVERRIDE |
virtual real_type | length () const UTILS_OVERRIDE |
virtual real_type | length_ISO (real_type) const UTILS_OVERRIDE |
+virtual real_type | xBegin () const UTILS_OVERRIDE |
+virtual real_type | yBegin () const UTILS_OVERRIDE |
+virtual real_type | xEnd () const UTILS_OVERRIDE |
+virtual real_type | yEnd () const UTILS_OVERRIDE |
+virtual real_type | X (real_type s) const UTILS_OVERRIDE |
+virtual real_type | X_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | X_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | X_DDD (real_type) const UTILS_OVERRIDE |
+virtual real_type | Y (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_DDD (real_type) const UTILS_OVERRIDE |
+virtual real_type | theta (real_type s) const UTILS_OVERRIDE |
+virtual real_type | theta_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | theta_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | theta_DDD (real_type s) const UTILS_OVERRIDE |
+virtual void | eval (real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual void | eval_D (real_type s, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
+virtual void | eval_DD (real_type, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
+virtual void | eval_DDD (real_type, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
virtual void | eval_ISO (real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE |
virtual void | eval_ISO_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
virtual void | eval_ISO_DD (real_type, real_type, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
virtual void | eval_ISO_DDD (real_type, real_type, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
+virtual void | translate (real_type tx, real_type ty) UTILS_OVERRIDE |
+virtual void | rotate (real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE |
+virtual void | reverse () UTILS_OVERRIDE |
+virtual void | scale (real_type sc) UTILS_OVERRIDE |
+virtual void | changeOrigin (real_type newx0, real_type newy0) UTILS_OVERRIDE |
+virtual void | trim (real_type s_begin, real_type s_end) UTILS_OVERRIDE |
+void | trim (real_type s_begin, real_type s_end, PolyLine &newPL) const |
virtual int_type | closestPoint_ISO (real_type x, real_type y, real_type &X, real_type &Y, real_type &S, real_type &T, real_type &DST) const UTILS_OVERRIDE |
compute the point at minimum distance from a point [x,y] and the line segment More... | |
virtual int_type | closestPoint_ISO (real_type, real_type, real_type, real_type &, real_type &, real_type &, real_type &, real_type &) const UTILS_OVERRIDE |
+bool | collision (PolyLine const &C) const |
+bool | collision_ISO (real_type offs, PolyLine const &CL, real_type offs_CL) const |
+void | intersect (PolyLine const &pl, std::vector< real_type > &s1, std::vector< real_type > &s2) const |
+void | intersect (PolyLine const &pl, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, PolyLine const &pl, real_type offs_pl, IntersectList &ilist, bool swap_s_vals) |
+virtual void | info (ostream_type &stream) const UTILS_OVERRIDE |
+void | build_AABBtree (AABBtree &aabb) const |
+void | build_AABBtree () const |
CurveType | type () const |
real_type | length_SAE (real_type offs) const |
void | bbox_SAE (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const |
+virtual real_type | thetaBegin () const |
+virtual real_type | thetaEnd () const |
+virtual real_type | kappaBegin () const |
+virtual real_type | kappaEnd () const |
+virtual real_type | xBegin_ISO (real_type offs) const |
+virtual real_type | yBegin_ISO (real_type offs) const |
+virtual real_type | xEnd_ISO (real_type offs) const |
+virtual real_type | yEnd_ISO (real_type offs) const |
+real_type | xBegin_SAE (real_type offs) const |
+real_type | yBegin_SAE (real_type offs) const |
+real_type | xEnd_SAE (real_type offs) const |
+real_type | yEnd_SAE (real_type offs) const |
+virtual real_type | tx_Begin () const |
+virtual real_type | ty_Begin () const |
+virtual real_type | tx_End () const |
+virtual real_type | ty_End () const |
+virtual real_type | nx_Begin_ISO () const |
+virtual real_type | ny_Begin_ISO () const |
+virtual real_type | nx_End_ISO () const |
+virtual real_type | ny_End_ISO () const |
+real_type | nx_Begin_SAE () const |
+real_type | ny_Begin_SAE () const |
+real_type | nx_End_SAE () const |
+real_type | ny_End_SAE () const |
+real_type | kappa (real_type s) const |
+real_type | kappa_D (real_type s) const |
+real_type | kappa_DD (real_type s) const |
+virtual real_type | tx (real_type s) const |
+virtual real_type | ty (real_type s) const |
+virtual real_type | tx_D (real_type s) const |
+virtual real_type | ty_D (real_type s) const |
+virtual real_type | tx_DD (real_type s) const |
+virtual real_type | ty_DD (real_type s) const |
+virtual real_type | tx_DDD (real_type s) const |
+virtual real_type | ty_DDD (real_type s) const |
+real_type | nx_ISO (real_type s) const |
+real_type | nx_ISO_D (real_type s) const |
+real_type | nx_ISO_DD (real_type s) const |
+real_type | nx_ISO_DDD (real_type s) const |
+real_type | ny_ISO (real_type s) const |
+real_type | ny_ISO_D (real_type s) const |
+real_type | ny_ISO_DD (real_type s) const |
+real_type | ny_ISO_DDD (real_type s) const |
+real_type | nx_SAE (real_type s) const |
+real_type | nx_SAE_D (real_type s) const |
+real_type | nx_SAE_DD (real_type s) const |
+real_type | nx_SAE_DDD (real_type s) const |
+real_type | ny_SAE (real_type s) const |
+real_type | ny_SAE_D (real_type s) const |
+real_type | ny_SAE_DD (real_type s) const |
+real_type | ny_SAE_DDD (real_type s) const |
+virtual void | tg (real_type s, real_type &tg_x, real_type &tg_y) const |
+virtual void | tg_D (real_type s, real_type &tg_x_D, real_type &tg_y_D) const |
+virtual void | tg_DD (real_type s, real_type &tg_x_DD, real_type &tg_y_DD) const |
+virtual void | tg_DDD (real_type s, real_type &tg_x_DDD, real_type &tg_y_DDD) const |
+void | nor_ISO (real_type s, real_type &nx, real_type &ny) const |
+void | nor_ISO_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_ISO_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_ISO_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+void | nor_SAE (real_type s, real_type &nx, real_type &ny) const |
+void | nor_SAE_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_SAE_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_SAE_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+virtual void | evaluate (real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual void | evaluate_ISO (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual void | evaluate_SAE (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual real_type | X_ISO (real_type s, real_type offs) const |
+virtual real_type | Y_ISO (real_type s, real_type offs) const |
+virtual real_type | X_ISO_D (real_type s, real_type offs) const |
+virtual real_type | Y_ISO_D (real_type s, real_type offs) const |
+virtual real_type | X_ISO_DD (real_type s, real_type offs) const |
+virtual real_type | Y_ISO_DD (real_type s, real_type offs) const |
+virtual real_type | X_ISO_DDD (real_type s, real_type offs) const |
+virtual real_type | Y_ISO_DDD (real_type s, real_type offs) const |
+real_type | X_SAE (real_type s, real_type offs) const |
+real_type | Y_SAE (real_type s, real_type offs) const |
+real_type | X_SAE_D (real_type s, real_type offs) const |
+real_type | Y_SAE_D (real_type s, real_type offs) const |
+real_type | X_SAE_DD (real_type s, real_type offs) const |
+real_type | Y_SAE_DD (real_type s, real_type offs) const |
+real_type | X_SAE_DDD (real_type s, real_type offs) const |
+real_type | Y_SAE_DDD (real_type s, real_type offs) const |
void | eval_SAE (real_type s, real_type offs, real_type &x, real_type &y) const |
void | eval_SAE_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
void | eval_SAE_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
void | eval_SAE_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
+bool | collision (BaseCurve const &C) const |
+bool | collision_ISO (real_type offs, BaseCurve const &C, real_type offs_C) const |
+bool | collision_SAE (real_type offs, BaseCurve const &C, real_type offs_C) const |
+void | intersect (BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_SAE (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
+virtual real_type | distance (real_type qx, real_type qy) const |
+real_type | distance_ISO (real_type qx, real_type qy, real_type offs) const |
+real_type | distance_SAE (real_type qx, real_type qy, real_type offs) const |
+bool | findST_ISO (real_type x, real_type y, real_type &s, real_type &t) const |
+bool | findST_SAE (real_type x, real_type y, real_type &s, real_type &t) const |
+Protected Attributes | |
+CurveType | m_type |
+Friends | |
+class | ClothoidList |
+class | BiarcList |
+ostream_type & | operator<< (ostream_type &stream, PolyLine const &P) |
Class to manage a collection of straight segment.
+
+
|
+ +virtual | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Compute the bounding box of the curve with offset
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
+
|
+ +virtual | +
compute the point at minimum distance from a point [x,y]
and the line segment
x | x-coordinate |
y | y-coordinate |
X | x-coordinate of the closest point |
Y | y-coordinate of the closest point |
S | param of the closest point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +inlinevirtual | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
+
|
+ +inlineinherited | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
+
|
+ +inlineinherited | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
+
|
+ +inlineinherited | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
+
|
+ +inlinevirtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
+
|
+ +inlineinherited | +
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
base classe for all the curve ìs in the library + More...
+ +#include <G2lib.hxx>
+Public Member Functions | |
+ | BaseCurve (CurveType const &type) |
CurveType | type () const |
virtual real_type | length () const UTILS_PURE_VIRTUAL |
virtual real_type | length_ISO (real_type offs) const UTILS_PURE_VIRTUAL |
real_type | length_SAE (real_type offs) const |
virtual void | bbox (real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_PURE_VIRTUAL |
virtual void | bbox_ISO (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_PURE_VIRTUAL |
void | bbox_SAE (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const |
+virtual real_type | thetaBegin () const |
+virtual real_type | thetaEnd () const |
+virtual real_type | kappaBegin () const |
+virtual real_type | kappaEnd () const |
+virtual real_type | xBegin () const |
+virtual real_type | yBegin () const |
+virtual real_type | xEnd () const |
+virtual real_type | yEnd () const |
+virtual real_type | xBegin_ISO (real_type offs) const |
+virtual real_type | yBegin_ISO (real_type offs) const |
+virtual real_type | xEnd_ISO (real_type offs) const |
+virtual real_type | yEnd_ISO (real_type offs) const |
+real_type | xBegin_SAE (real_type offs) const |
+real_type | yBegin_SAE (real_type offs) const |
+real_type | xEnd_SAE (real_type offs) const |
+real_type | yEnd_SAE (real_type offs) const |
+virtual real_type | tx_Begin () const |
+virtual real_type | ty_Begin () const |
+virtual real_type | tx_End () const |
+virtual real_type | ty_End () const |
+virtual real_type | nx_Begin_ISO () const |
+virtual real_type | ny_Begin_ISO () const |
+virtual real_type | nx_End_ISO () const |
+virtual real_type | ny_End_ISO () const |
+real_type | nx_Begin_SAE () const |
+real_type | ny_Begin_SAE () const |
+real_type | nx_End_SAE () const |
+real_type | ny_End_SAE () const |
+virtual real_type | theta (real_type s) const UTILS_PURE_VIRTUAL |
+virtual real_type | theta_D (real_type s) const UTILS_PURE_VIRTUAL |
+virtual real_type | theta_DD (real_type s) const UTILS_PURE_VIRTUAL |
+virtual real_type | theta_DDD (real_type s) const UTILS_PURE_VIRTUAL |
+real_type | kappa (real_type s) const |
+real_type | kappa_D (real_type s) const |
+real_type | kappa_DD (real_type s) const |
+virtual real_type | tx (real_type s) const |
+virtual real_type | ty (real_type s) const |
+virtual real_type | tx_D (real_type s) const |
+virtual real_type | ty_D (real_type s) const |
+virtual real_type | tx_DD (real_type s) const |
+virtual real_type | ty_DD (real_type s) const |
+virtual real_type | tx_DDD (real_type s) const |
+virtual real_type | ty_DDD (real_type s) const |
+real_type | nx_ISO (real_type s) const |
+real_type | nx_ISO_D (real_type s) const |
+real_type | nx_ISO_DD (real_type s) const |
+real_type | nx_ISO_DDD (real_type s) const |
+real_type | ny_ISO (real_type s) const |
+real_type | ny_ISO_D (real_type s) const |
+real_type | ny_ISO_DD (real_type s) const |
+real_type | ny_ISO_DDD (real_type s) const |
+real_type | nx_SAE (real_type s) const |
+real_type | nx_SAE_D (real_type s) const |
+real_type | nx_SAE_DD (real_type s) const |
+real_type | nx_SAE_DDD (real_type s) const |
+real_type | ny_SAE (real_type s) const |
+real_type | ny_SAE_D (real_type s) const |
+real_type | ny_SAE_DD (real_type s) const |
+real_type | ny_SAE_DDD (real_type s) const |
+virtual void | tg (real_type s, real_type &tg_x, real_type &tg_y) const |
+virtual void | tg_D (real_type s, real_type &tg_x_D, real_type &tg_y_D) const |
+virtual void | tg_DD (real_type s, real_type &tg_x_DD, real_type &tg_y_DD) const |
+virtual void | tg_DDD (real_type s, real_type &tg_x_DDD, real_type &tg_y_DDD) const |
+void | nor_ISO (real_type s, real_type &nx, real_type &ny) const |
+void | nor_ISO_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_ISO_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_ISO_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+void | nor_SAE (real_type s, real_type &nx, real_type &ny) const |
+void | nor_SAE_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_SAE_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_SAE_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+virtual void | evaluate (real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual void | evaluate_ISO (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual void | evaluate_SAE (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual real_type | X (real_type s) const UTILS_PURE_VIRTUAL |
+virtual real_type | Y (real_type s) const UTILS_PURE_VIRTUAL |
+virtual real_type | X_D (real_type s) const UTILS_PURE_VIRTUAL |
+virtual real_type | Y_D (real_type s) const UTILS_PURE_VIRTUAL |
+virtual real_type | X_DD (real_type s) const UTILS_PURE_VIRTUAL |
+virtual real_type | Y_DD (real_type s) const UTILS_PURE_VIRTUAL |
+virtual real_type | X_DDD (real_type s) const UTILS_PURE_VIRTUAL |
+virtual real_type | Y_DDD (real_type s) const UTILS_PURE_VIRTUAL |
+virtual void | eval (real_type s, real_type &x, real_type &y) const UTILS_PURE_VIRTUAL |
+virtual void | eval_D (real_type s, real_type &x_D, real_type &y_D) const UTILS_PURE_VIRTUAL |
+virtual void | eval_DD (real_type s, real_type &x_DD, real_type &y_DD) const UTILS_PURE_VIRTUAL |
+virtual void | eval_DDD (real_type s, real_type &x_DDD, real_type &y_DDD) const UTILS_PURE_VIRTUAL |
+virtual real_type | X_ISO (real_type s, real_type offs) const |
+virtual real_type | Y_ISO (real_type s, real_type offs) const |
+virtual real_type | X_ISO_D (real_type s, real_type offs) const |
+virtual real_type | Y_ISO_D (real_type s, real_type offs) const |
+virtual real_type | X_ISO_DD (real_type s, real_type offs) const |
+virtual real_type | Y_ISO_DD (real_type s, real_type offs) const |
+virtual real_type | X_ISO_DDD (real_type s, real_type offs) const |
+virtual real_type | Y_ISO_DDD (real_type s, real_type offs) const |
+real_type | X_SAE (real_type s, real_type offs) const |
+real_type | Y_SAE (real_type s, real_type offs) const |
+real_type | X_SAE_D (real_type s, real_type offs) const |
+real_type | Y_SAE_D (real_type s, real_type offs) const |
+real_type | X_SAE_DD (real_type s, real_type offs) const |
+real_type | Y_SAE_DD (real_type s, real_type offs) const |
+real_type | X_SAE_DDD (real_type s, real_type offs) const |
+real_type | Y_SAE_DDD (real_type s, real_type offs) const |
virtual void | eval_ISO (real_type s, real_type offs, real_type &x, real_type &y) const |
void | eval_SAE (real_type s, real_type offs, real_type &x, real_type &y) const |
virtual void | eval_ISO_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
void | eval_SAE_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
virtual void | eval_ISO_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
void | eval_SAE_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
virtual void | eval_ISO_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
void | eval_SAE_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
+virtual void | translate (real_type tx, real_type ty) UTILS_PURE_VIRTUAL |
+virtual void | rotate (real_type angle, real_type cx, real_type cy) UTILS_PURE_VIRTUAL |
+virtual void | scale (real_type sc) UTILS_PURE_VIRTUAL |
+virtual void | reverse () UTILS_PURE_VIRTUAL |
+virtual void | changeOrigin (real_type newx0, real_type newy0) UTILS_PURE_VIRTUAL |
+virtual void | trim (real_type s_begin, real_type s_end) UTILS_PURE_VIRTUAL |
+bool | collision (BaseCurve const &C) const |
+bool | collision_ISO (real_type offs, BaseCurve const &C, real_type offs_C) const |
+bool | collision_SAE (real_type offs, BaseCurve const &C, real_type offs_C) const |
+void | intersect (BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_SAE (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_PURE_VIRTUAL |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_PURE_VIRTUAL |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
+virtual real_type | distance (real_type qx, real_type qy) const |
+real_type | distance_ISO (real_type qx, real_type qy, real_type offs) const |
+real_type | distance_SAE (real_type qx, real_type qy, real_type offs) const |
+bool | findST_ISO (real_type x, real_type y, real_type &s, real_type &t) const |
+bool | findST_SAE (real_type x, real_type y, real_type &s, real_type &t) const |
+virtual void | info (ostream_type &stream) const UTILS_PURE_VIRTUAL |
+Protected Attributes | |
+CurveType | m_type |
base classe for all the curve ìs in the library
+
+
|
+ +virtual | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::CircleArc, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +virtual | +
Compute the bounding box of the curve with offset
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::CircleArc, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +inline | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::CircleArc, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::CircleArc, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +inline | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +inline | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +virtual | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +virtual | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
Reimplemented in G2lib::LineSegment, G2lib::PolyLine, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +virtual | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +virtual | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +inline | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
+
|
+ +inline | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
+
|
+ +inline | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
+
|
+ +inline | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
+
|
+ +virtual | +
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::CircleArc, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +virtual | +
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidCurve, G2lib::ClothoidList, G2lib::CircleArc, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +inline | +
+
|
+ +inline | +
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+ | ThreadPool (unsigned nthread=std::max(unsigned(1), unsigned(std::thread::hardware_concurrency() -1))) |
+template<typename Func , typename... Args> | |
void | run (unsigned nt, Func &&func, Args &&... args) |
Submit a job to be run by the thread pool. | |
+void | wait_all () |
+void | start_all () |
+void | stop_all () |
+unsigned | size () const |
+std::thread::id | get_id (unsigned i) const |
+std::thread const & | get_thread (unsigned i) const |
+std::thread & | get_thread (unsigned i) |
+void | resize (unsigned numThreads) |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+ | AsyPlot (string filename, bool showAxes) |
+void | drawClothoid (ClothoidCurve const &c, std::string const &penna="black", real_type offset=0) const |
+void | dot (real_type x, real_type y, string const &penna="black") const |
+void | triangle (Triangle2D const &t, string const &penna="black") const |
+void | drawRect (real_type x0, real_type y0, real_type x1, real_type y1, real_type x2, real_type y2, real_type x3, real_type y3, string const &penna="black") const |
+void | drawLine (real_type x0, real_type y0, real_type x1, real_type y1, std::string const &penna="black") const |
+void | label (string const &text, real_type x, real_type y, string const &placement="", string const &penna="black") const |
+void | displayAxes (string const &labX, string const &labY, real_type xmin, real_type xmax, real_type ymin, real_type ymax) const |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::BiarcList, including all inherited members.
+BaseCurve(CurveType const &type) (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
bbox(real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::BiarcList | inlinevirtual |
bbox_ISO(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::BiarcList | virtual |
bbox_SAE(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const | G2lib::BaseCurve | inline |
bbTriangles(std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const (defined in G2lib::BiarcList) | G2lib::BiarcList | inline |
bbTriangles_ISO(real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
bbTriangles_SAE(real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const (defined in G2lib::BiarcList) | G2lib::BiarcList | inline |
BiarcList() (defined in G2lib::BiarcList) | G2lib::BiarcList | inline |
BiarcList(BiarcList const &s) (defined in G2lib::BiarcList) | G2lib::BiarcList | inline |
BiarcList(LineSegment const &LS) (defined in G2lib::BiarcList) | G2lib::BiarcList | explicit |
BiarcList(CircleArc const &C) (defined in G2lib::BiarcList) | G2lib::BiarcList | explicit |
BiarcList(Biarc const &C) (defined in G2lib::BiarcList) | G2lib::BiarcList | explicit |
BiarcList(PolyLine const &pl) (defined in G2lib::BiarcList) | G2lib::BiarcList | explicit |
BiarcList(BaseCurve const &C) (defined in G2lib::BiarcList) | G2lib::BiarcList | explicit |
build_AABBtree_ISO(real_type offs, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
build_AABBtree_SAE(real_type offs, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const (defined in G2lib::BiarcList) | G2lib::BiarcList | inline |
build_G1(int_type n, real_type const x[], real_type const y[]) (defined in G2lib::BiarcList) | G2lib::BiarcList | |
build_G1(int_type n, real_type const x[], real_type const y[], real_type const theta[]) (defined in G2lib::BiarcList) | G2lib::BiarcList | |
changeOrigin(real_type newx0, real_type newy0) UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
closestPoint_ISO(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::BiarcList | virtual |
closestPoint_ISO(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::BiarcList | virtual |
closestPoint_SAE(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
closestPoint_SAE(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
ClothoidList (defined in G2lib::BiarcList) | G2lib::BiarcList | friend |
collision(BiarcList const &C) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
collision(BaseCurve const &C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_ISO(real_type offs, BiarcList const &CL, real_type offs_C) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
collision_ISO(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_SAE(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
copy(BiarcList const &L) (defined in G2lib::BiarcList) | G2lib::BiarcList | |
distance(real_type qx, real_type qy) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
distance_ISO(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
distance_SAE(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
eval(real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
eval_D(real_type s, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
eval_DD(real_type s, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
eval_DDD(real_type s, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE | G2lib::BiarcList | virtual |
eval_ISO_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE | G2lib::BiarcList | virtual |
eval_ISO_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE | G2lib::BiarcList | virtual |
eval_ISO_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE | G2lib::BiarcList | virtual |
eval_SAE(real_type s, real_type offs, real_type &x, real_type &y) const | G2lib::BaseCurve | inline |
eval_SAE_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const | G2lib::BaseCurve | inline |
eval_SAE_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const | G2lib::BaseCurve | inline |
eval_SAE_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const | G2lib::BaseCurve | inline |
evaluate(real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
evaluate_ISO(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
evaluate_SAE(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
findAtS(real_type &s) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
findST1(real_type x, real_type y, real_type &s, real_type &t) const | G2lib::BiarcList | |
findST1(int_type ibegin, int_type iend, real_type x, real_type y, real_type &s, real_type &t) const | G2lib::BiarcList | |
findST_ISO(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
findST_SAE(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
get(int_type idx) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
getAtS(real_type s) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
getSTK(real_type s[], real_type theta[], real_type kappa[]) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
getXY(real_type x[], real_type y[]) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
info(ostream_type &stream) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
init() (defined in G2lib::BiarcList) | G2lib::BiarcList | |
intersect(BiarcList const &CL, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BiarcList) | G2lib::BiarcList | inline |
intersect(BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_ISO(real_type offs, BiarcList const &CL, real_type offs_obj, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
intersect_ISO(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_SAE(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappaBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
kappaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
length() const UTILS_OVERRIDE | G2lib::BiarcList | virtual |
length_ISO(real_type offs) const UTILS_OVERRIDE | G2lib::BiarcList | virtual |
length_SAE(real_type offs) const | G2lib::BaseCurve | inline |
m_type (defined in G2lib::BaseCurve) | G2lib::BaseCurve | protected |
nor_ISO(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
numSegment() const (defined in G2lib::BiarcList) | G2lib::BiarcList | inline |
nx_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
nx_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_End_ISO() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
nx_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
ny_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_End_ISO() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
ny_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
operator<< (defined in G2lib::BiarcList) | G2lib::BiarcList | friend |
operator=(BiarcList const &s) (defined in G2lib::BiarcList) | G2lib::BiarcList | inline |
push_back(LineSegment const &c) (defined in G2lib::BiarcList) | G2lib::BiarcList | |
push_back(CircleArc const &c) (defined in G2lib::BiarcList) | G2lib::BiarcList | |
push_back(Biarc const &c) (defined in G2lib::BiarcList) | G2lib::BiarcList | |
push_back(PolyLine const &c) (defined in G2lib::BiarcList) | G2lib::BiarcList | |
push_back_G1(real_type x1, real_type y1, real_type theta1) (defined in G2lib::BiarcList) | G2lib::BiarcList | |
push_back_G1(real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1) (defined in G2lib::BiarcList) | G2lib::BiarcList | |
reserve(int_type n) (defined in G2lib::BiarcList) | G2lib::BiarcList | |
reverse() UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
rotate(real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
scale(real_type sc) UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
segment_length(int_type nseg) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
segment_length_ISO(int_type nseg, real_type offs) const (defined in G2lib::BiarcList) | G2lib::BiarcList | |
tg(real_type s, real_type &tg_x, real_type &tg_y) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
tg_D(real_type s, real_type &tg_x_D, real_type &tg_y_D) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
tg_DD(real_type s, real_type &tg_x_DD, real_type &tg_y_DD) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
tg_DDD(real_type s, real_type &tg_x_DDD, real_type &tg_y_DDD) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
theta(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
theta_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
theta_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
theta_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
thetaBegin() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
thetaEnd() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
translate(real_type tx, real_type ty) UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
trim(real_type s_begin, real_type s_end) UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
tx(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
tx_Begin() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
tx_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
tx_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
tx_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
tx_End() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
ty(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
ty_Begin() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
ty_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
ty_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
ty_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
ty_End() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
type() const | G2lib::BaseCurve | inline |
X(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
X_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
X_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
X_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
X_ISO(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
X_ISO_D(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
X_ISO_DD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
X_ISO_DDD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
X_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xBegin() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
xBegin_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
xBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xEnd() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
xEnd_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
xEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
Y_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
Y_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
Y_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
Y_ISO(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
Y_ISO_D(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
Y_ISO_DD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
Y_ISO_DDD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | virtual |
Y_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yBegin() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
yBegin_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
yBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yEnd() const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
yEnd_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
yEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
~BaseCurve() (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
~BiarcList() UTILS_OVERRIDE (defined in G2lib::BiarcList) | G2lib::BiarcList | inlinevirtual |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::SpinLock, including all inherited members.
+lock() (defined in Utils::SpinLock) | Utils::SpinLock | inline |
SpinLock() (defined in Utils::SpinLock) | Utils::SpinLock | inline |
unlock() (defined in Utils::SpinLock) | Utils::SpinLock | inline |
wait() (defined in Utils::SpinLock) | Utils::SpinLock | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+ | SpinLock_barrier (const SpinLock_barrier &)=delete |
+SpinLock_barrier & | operator= (const SpinLock_barrier &)=delete |
+void | setup (unsigned count) |
+void | count_down () |
+void | wait () |
+void | count_down_and_wait () |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::Console, including all inherited members.
+black(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
black_reversed(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
blue(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
blue_reversed(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
changeLevel(int new_level) (defined in Utils::Console) | Utils::Console | |
changeStream(ostream_type *new_stream) (defined in Utils::Console) | Utils::Console | |
Console(ostream_type *stream=&std::cout, int level=4) (defined in Utils::Console) | Utils::Console | |
cyan(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
cyan_reversed(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
error(std::string const &msg) const (defined in Utils::Console) | Utils::Console | |
fatal(std::string const &msg) const (defined in Utils::Console) | Utils::Console | |
flush() const (defined in Utils::Console) | Utils::Console | inline |
getLevel() const (defined in Utils::Console) | Utils::Console | inline |
getStream() const (defined in Utils::Console) | Utils::Console | inline |
gray(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
gray_reversed(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
green(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
green_reversed(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
magenta(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
magenta_reversed(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
message(std::string const &msg, int msg_level=4) const (defined in Utils::Console) | Utils::Console | |
red(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
red_reversed(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
semaphore(unsigned ryg, std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
setAuto() const | Utils::Console | inline |
setErrorStyle(rang::style const &s, rang::fg const &f, rang::bg const &b) (defined in Utils::Console) | Utils::Console | inline |
setFatalStyle(rang::style const &s, rang::fg const &f, rang::bg const &b) (defined in Utils::Console) | Utils::Console | inline |
setMessageStyle(rang::style const &s, rang::fg const &f, rang::bg const &b) (defined in Utils::Console) | Utils::Console | inline |
setOff() const | Utils::Console | inline |
setWarningStyle(rang::style const &s, rang::fg const &f, rang::bg const &b) (defined in Utils::Console) | Utils::Console | inline |
warning(std::string const &msg) const (defined in Utils::Console) | Utils::Console | |
yellow(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console | |
yellow_reversed(std::string const &msg, int msg_level=0) const (defined in Utils::Console) | Utils::Console |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::Worker, including all inherited members.
+run(Func &&func, Args &&... args) (defined in Utils::Worker) | Utils::Worker | inline |
start() (defined in Utils::Worker) | Utils::Worker | inline |
stop() (defined in Utils::Worker) | Utils::Worker | inline |
ThreadPool (defined in Utils::Worker) | Utils::Worker | friend |
wait() (defined in Utils::Worker) | Utils::Worker | inline |
Worker() (defined in Utils::Worker) | Utils::Worker | inline |
Worker(Worker &&rhs) (defined in Utils::Worker) | Utils::Worker | inline |
~Worker() (defined in Utils::Worker) | Utils::Worker | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::AsyPlot, including all inherited members.
+AsyPlot(string filename, bool showAxes) (defined in G2lib::AsyPlot) | G2lib::AsyPlot | |
displayAxes(string const &labX, string const &labY, real_type xmin, real_type xmax, real_type ymin, real_type ymax) const (defined in G2lib::AsyPlot) | G2lib::AsyPlot | |
dot(real_type x, real_type y, string const &penna="black") const (defined in G2lib::AsyPlot) | G2lib::AsyPlot | |
drawClothoid(ClothoidCurve const &c, std::string const &penna="black", real_type offset=0) const (defined in G2lib::AsyPlot) | G2lib::AsyPlot | |
drawLine(real_type x0, real_type y0, real_type x1, real_type y1, std::string const &penna="black") const (defined in G2lib::AsyPlot) | G2lib::AsyPlot | |
drawRect(real_type x0, real_type y0, real_type x1, real_type y1, real_type x2, real_type y2, real_type x3, real_type y3, string const &penna="black") const (defined in G2lib::AsyPlot) | G2lib::AsyPlot | |
label(string const &text, real_type x, real_type y, string const &placement="", string const &penna="black") const (defined in G2lib::AsyPlot) | G2lib::AsyPlot | |
triangle(Triangle2D const &t, string const &penna="black") const (defined in G2lib::AsyPlot) | G2lib::AsyPlot | |
~AsyPlot() (defined in G2lib::AsyPlot) | G2lib::AsyPlot |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+ | Worker (Worker &&rhs) |
+void | start () |
+void | stop () |
+void | wait () |
+template<class Func , class... Args> | |
void | run (Func &&func, Args &&... args) |
+Friends | |
+class | ThreadPool |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+void | wait () |
+void | lock () |
+void | unlock () |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::G2solveCLC, including all inherited members.
+build(real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type x1, real_type y1, real_type theta1, real_type kappa1) (defined in G2lib::G2solveCLC) | G2lib::G2solveCLC | |
G2solveCLC() (defined in G2lib::G2solveCLC) | G2lib::G2solveCLC | inline |
getS0() const (defined in G2lib::G2solveCLC) | G2lib::G2solveCLC | inline |
getS1() const (defined in G2lib::G2solveCLC) | G2lib::G2solveCLC | inline |
getSM() const (defined in G2lib::G2solveCLC) | G2lib::G2solveCLC | inline |
setMaxIter(int tol) (defined in G2lib::G2solveCLC) | G2lib::G2solveCLC | |
setTolerance(real_type tol) (defined in G2lib::G2solveCLC) | G2lib::G2solveCLC | |
solve() (defined in G2lib::G2solveCLC) | G2lib::G2solveCLC | |
~G2solveCLC() (defined in G2lib::G2solveCLC) | G2lib::G2solveCLC | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Clothoid computations routine. +More...
++Classes | |
class | BBox |
Class to manipulate bounding box. More... | |
class | AABBtree |
Class to manage AABB tree. More... | |
class | Biarc |
Compute biarc fitting by Hemite data. More... | |
class | BiarcList |
Class to manage a list of biarc Curve (not necessarily G2 or G1 connected) More... | |
class | CircleArc |
Class to manage Clothoid Curve. More... | |
class | ClothoidCurve |
Class to manage Clothoid Curve. More... | |
class | AsyPlot |
class | G2solve2arc |
computation of the G2 fitting with 2 clothoid arc More... | |
class | G2solveCLC |
computation of the G2 fitting with 2 clothoid and one line segment More... | |
class | G2solve3arc |
computation of the G2 fitting with 3 clothoid arcs More... | |
class | ClothoidList |
Class to manage a list of clothoid curves (not necessarily G2 or G1 connected) More... | |
class | ClothoidSplineG2 |
Class for the computation of G2 spljne of clothoids. More... | |
class | ClothoidData |
data storage for clothoid type curve More... | |
class | Solve2x2 |
Class that solve a 2x2 linear system. More... | |
class | BaseCurve |
base classe for all the curve ìs in the library More... | |
class | LineSegment |
Class to manage a straight segment. More... | |
class | PolyLine |
Class to manage a collection of straight segment. More... | |
class | Triangle2D |
Class to manage Triangle for BB of clothoid curve. More... | |
+Typedefs | |
+typedef double | real_type |
+typedef int | int_type |
+typedef pair< CurveType, CurveType > | Ppair |
+typedef vector< LineSegment >::difference_type | LS_dist_type |
+typedef std::pair< real_type, real_type > | Ipair |
+typedef std::vector< Ipair > | IntersectList |
+Enumerations | |
enum | CurveType { + G2LIB_LINE =0 +, G2LIB_POLYLINE +, G2LIB_CIRCLE +, G2LIB_BIARC +, + G2LIB_BIARC_LIST +, G2LIB_CLOTHOID +, G2LIB_CLOTHOID_LIST + + } |
+Functions | |
+bool | build_guess_theta (int_type n, real_type const x[], real_type const y[], real_type theta[]) |
+ostream_type & | operator<< (ostream_type &stream, Biarc const &bi) |
+ostream_type & | operator<< (ostream_type &stream, BiarcList const &CL) |
+ostream_type & | operator<< (ostream_type &stream, CircleArc const &c) |
+ostream_type & | operator<< (ostream_type &stream, ClothoidCurve const &c) |
+real_type | power2 (real_type a) |
+real_type | power3 (real_type a) |
+real_type | power4 (real_type a) |
+ostream_type & | operator<< (ostream_type &stream, ClothoidSplineG2 const &c) |
+ostream_type & | operator<< (ostream_type &stream, ClothoidList const &CL) |
void | FresnelCS (real_type x, real_type &C, real_type &S) |
Compute Fresnel integrals. More... | |
void | FresnelCS (int_type nk, real_type x, real_type C[], real_type S[]) |
Compute Fresnel integrals and its derivatives. More... | |
void | GeneralizedFresnelCS (real_type a, real_type b, real_type c, real_type &intC, real_type &intS) |
Compute the Fresnel integrals. More... | |
void | GeneralizedFresnelCS (int_type nk, real_type a, real_type b, real_type c, real_type intC[], real_type intS[]) |
Compute the Fresnel integrals. More... | |
+void | rangeSymm (real_type &ang) |
Add or remove multiple of \( 2\pi \) to an angle in order to put it in the range \( [-\pi,\pi]\). | |
+real_type | Sinc (real_type x) |
\( \frac{\sin x}{x} \) | |
+real_type | Sinc_D (real_type x) |
\( \frac{\mathrm{d}}{\mathrm{d}x} \frac{\sin x}{x} \) | |
+real_type | Sinc_DD (real_type x) |
\( \left(\frac{\mathrm{d}}{\mathrm{d}x}\right)^2 \frac{\sin x}{x} \) | |
+real_type | Sinc_DDD (real_type x) |
\( \left(\frac{\mathrm{d}}{\mathrm{d}x}\right)^3 \frac{\sin x}{x} \) | |
+real_type | Cosc (real_type x) |
\( \frac{1-\cos x}{x} \) | |
+real_type | Cosc_D (real_type x) |
\( \frac{\mathrm{d}}{\mathrm{d}x} \frac{1-\cos x}{x} \) | |
+real_type | Cosc_DD (real_type x) |
\( \left(\frac{\mathrm{d}}{\mathrm{d}x}\right)^2 \frac{1-\cos x}{x} \) | |
+real_type | Cosc_DDD (real_type x) |
\( \left(\frac{\mathrm{d}}{\mathrm{d}x}\right)^3 \frac{1-\cos x}{x} \) | |
+real_type | Atanc (real_type x) |
\( \frac{\arctan x}{x} \) | |
+real_type | Atanc_D (real_type x) |
\( \frac{\mathrm{d}}{\mathrm{d}x} \frac{\arctan x}{x} \) | |
+real_type | Atanc_DD (real_type x) |
\( \left(\frac{\mathrm{d}}{\mathrm{d}x}\right)^2 \frac{\arctan x}{x} \) | |
+real_type | Atanc_DDD (real_type x) |
\( \left(\frac{\mathrm{d}}{\mathrm{d}x}\right)^3 \frac{\arctan x}{x} \) | |
int_type | solveLinearQuadratic (real_type A, real_type B, real_type C, real_type a, real_type b, real_type c, real_type x[], real_type y[]) |
int_type | solveLinearQuadratic2 (real_type A, real_type B, real_type C, real_type x[], real_type y[]) |
int_type | intersectCircleCircle (real_type x1, real_type y1, real_type theta1, real_type kappa1, real_type x2, real_type y2, real_type theta2, real_type kappa2, real_type s1[], real_type s2[]) |
+void | xy_to_guess_angle (int_type npts, real_type const x[], real_type const y[], real_type theta[], real_type theta_min[], real_type theta_max[], real_type omega[], real_type len[]) |
int_type | isCounterClockwise (real_type const P1[2], real_type const P2[2], real_type const P3[2]) |
real_type | projectPointOnCircleArc (real_type x0, real_type y0, real_type c0, real_type s0, real_type k, real_type L, real_type qx, real_type qy) |
real_type | projectPointOnCircle (real_type x0, real_type y0, real_type theta0, real_type k, real_type qx, real_type qy) |
int_type | isPointInTriangle (real_type const point[2], real_type const p1[2], real_type const p2[2], real_type const p3[2]) |
bool | collision (BaseCurve const &obj1, BaseCurve const &obj2) |
bool | collision_ISO (BaseCurve const &obj1, real_type offs1, BaseCurve const &obj2, real_type offs2) |
void | intersect (BaseCurve const &obj1, BaseCurve const &obj2, IntersectList &ilist, bool swap_s_vals) |
void | intersect_ISO (BaseCurve const &obj1, real_type offs1, BaseCurve const &obj2, real_type offs2, IntersectList &ilist, bool swap_s_vals) |
+ostream_type & | operator<< (ostream_type &stream, LineSegment const &c) |
+ostream_type & | operator<< (ostream_type &stream, PolyLine const &P) |
+ostream_type & | operator<< (ostream_type &stream, Triangle2D const &t) |
+ostream_type & | operator<< (ostream_type &stream, BBox const &bb) |
+void | minmax3 (real_type a, real_type b, real_type c, real_type &vmin, real_type &vmax) |
return minumum and maximum of three numbers | |
bool | pointInsideCircle (real_type x0, real_type y0, real_type c0, real_type s0, real_type k, real_type qx, real_type qy) |
bool | collision_SAE (BaseCurve const &C1, real_type offs_C1, BaseCurve const &C2, real_type offs_C2) |
void | intersect_SAE (BaseCurve const &C1, real_type offs_C1, BaseCurve const &C2, real_type offs_C2, IntersectList &ilist, bool swap_s_vals) |
+Variables | |
+real_type const | m_1_sqrt_pi = 0.564189583547756286948079451561 |
\( 1/\sqrt{\pi} \) | |
+real_type const | machepsi = numeric_limits<real_type>::epsilon() |
machine espilon \( \varepsilon \) | |
+real_type const | machepsi10 = 10*machepsi |
\( 10\varepsilon \) | |
+real_type const | machepsi100 = 100*machepsi |
\( 100\varepsilon \) | |
+real_type const | machepsi1000 = 1000*machepsi |
\( 1000\varepsilon \) | |
+real_type const | sqrtMachepsi = sqrt(machepsi) |
\( \sqrt{\varepsilon} \) | |
+bool | intersect_with_AABBtree = true |
char const * | CurveType_name [] |
Clothoid computations routine.
+file: AABBtree.hh
+file: Biarc.cc
+file: AABBtree.hxx
+file: Biarc.hxx
+file: BiarcList.hh
+file: Circle.hxx
+file: Clothoid.hh
+file: ClothoidList.hh
+file: Fresnel.hxx
+file: Line.hxx
+file: PolyLine.hxx
+file: Triangle2D.hxx
+bool G2lib::collision | +( | +BaseCurve const & | +C1, | +
+ | + | BaseCurve const & | +C2 | +
+ | ) | ++ |
return true
if the two curves intersect
[in] | C1 | first curve |
[in] | C2 | second curve |
bool G2lib::collision_ISO | +( | +BaseCurve const & | +C1, | +
+ | + | real_type | +offs_C1, | +
+ | + | BaseCurve const & | +C2, | +
+ | + | real_type | +offs_C2 | +
+ | ) | ++ |
return true
the the two curves intersect
[in] | C1 | first curve |
[in] | offs_C1 | offset of the first curve |
[in] | C2 | second curve |
[in] | offs_C2 | offset of the second curve |
+
|
+ +inline | +
return true
the the two curves intersect
[in] | C1 | first curve |
[in] | offs_C1 | offset of the first curve |
[in] | C2 | second curve |
[in] | offs_C2 | offset of the second curve |
void G2lib::FresnelCS | +( | +int_type | +nk, | +
+ | + | real_type | +x, | +
+ | + | real_type | +C[], | +
+ | + | real_type | +S[] | +
+ | ) | ++ |
Compute Fresnel integrals and its derivatives.
++\[ C(x) = \int_0^x \cos\left(\frac{\pi}{2}t^2\right) dt, \qquad S(x) = \int_0^x \sin\left(\frac{\pi}{2}t^2\right) dt \] +
+x | the input abscissa |
S | S[0]= \( S(x) \), S[1]= \( S'(x) \), S[2]= \( S''(x) \) |
C | C[0]= \( C(x) \), C[1]= \( C'(x) \), C[2]= \( C''(x) \) |
void G2lib::FresnelCS | +( | +real_type | +x, | +
+ | + | real_type & | +C, | +
+ | + | real_type & | +S | +
+ | ) | ++ |
Compute Fresnel integrals.
++\[ C(x) = \int_0^x \cos\left(\frac{\pi}{2}t^2\right) dt, \qquad S(x) = \int_0^x \sin\left(\frac{\pi}{2}t^2\right) dt \] +
+x | the input abscissa |
S | the value of \( S(x) \) |
C | the value of \( C(x) \) |
void G2lib::GeneralizedFresnelCS | +( | +int_type | +nk, | +
+ | + | real_type | +a, | +
+ | + | real_type | +b, | +
+ | + | real_type | +c, | +
+ | + | real_type | +intC[], | +
+ | + | real_type | +intS[] | +
+ | ) | ++ |
Compute the Fresnel integrals.
++\[ \int_0^1 t^k \cos\left(a\frac{t^2}{2} + b t + c\right) dt,\qquad \int_0^1 t^k \sin\left(a\frac{t^2}{2} + b t + c\right) dt \] +
+nk | number of momentae to compute |
a | parameter \( a \) |
b | parameter \( b \) |
c | parameter \( c \) |
intC | cosine integrals, |
intS | sine integrals |
void G2lib::GeneralizedFresnelCS | +( | +real_type | +a, | +
+ | + | real_type | +b, | +
+ | + | real_type | +c, | +
+ | + | real_type & | +intC, | +
+ | + | real_type & | +intS | +
+ | ) | ++ |
Compute the Fresnel integrals.
++\[ \int_0^1 t^k \cos\left(a\frac{t^2}{2} + b t + c\right) dt,\qquad \int_0^1 t^k \sin\left(a\frac{t^2}{2} + b t + c\right) dt \] +
+a | parameter \( a \) |
b | parameter \( b \) |
c | parameter \( c \) |
intC | cosine integrals, |
intS | sine integrals |
void G2lib::intersect | +( | +BaseCurve const & | +C1, | +
+ | + | BaseCurve const & | +C2, | +
+ | + | IntersectList & | +ilist, | +
+ | + | bool | +swap_s_vals | +
+ | ) | ++ |
collect the intersection of the two curve
+[in] | C1 | first curve |
[in] | C2 | second curve |
[out] | ilist | list of the intersection (as parameter on the curves) |
[out] | swap_s_vals | if true store (s2,s1) instead of (s1,s2) for each intersection |
void G2lib::intersect_ISO | +( | +BaseCurve const & | +C1, | +
+ | + | real_type | +offs_C1, | +
+ | + | BaseCurve const & | +C2, | +
+ | + | real_type | +offs_C2, | +
+ | + | IntersectList & | +ilist, | +
+ | + | bool | +swap_s_vals | +
+ | ) | ++ |
collect the intersections of the two curve
+[in] | C1 | first curve |
[in] | offs_C1 | offset of the first curve |
[in] | C2 | second curve |
[in] | offs_C2 | offset of the second curve |
[out] | ilist | list of the intersection (as parameter on the curves) |
[out] | swap_s_vals | if true store (s2,s1) instead of (s1,s2) for each intersection |
+
|
+ +inline | +
collect the intersections of the two curve
+[in] | C1 | first curve |
[in] | offs_C1 | offset of the first curve |
[in] | C2 | second curve |
[in] | offs_C2 | offset of the second curve |
[out] | ilist | list of the intersection (as parameter on the curves) |
[out] | swap_s_vals | if true store (s2,s1) instead of (s1,s2) for each intersection |
int_type G2lib::intersectCircleCircle | +( | +real_type | +x1, | +
+ | + | real_type | +y1, | +
+ | + | real_type | +theta1, | +
+ | + | real_type | +kappa1, | +
+ | + | real_type | +x2, | +
+ | + | real_type | +y2, | +
+ | + | real_type | +theta2, | +
+ | + | real_type | +kappa2, | +
+ | + | real_type | +s1[], | +
+ | + | real_type | +s2[] | +
+ | ) | ++ |
Intersect the parametric arc
++\[ x = x_1+\frac{\sin(\kappa_1 s+\theta_1)-sin(\theta_1)}{\kappa_1} \] +
++\[ y = y_1+\frac{\cos(\theta_1)-\cos(\kappa_1 s+\theta_1)}{\kappa_1} \] +
+with the parametric arc
+\[ x = x_2+\frac{\sin(\kappa_2 s+\theta_2)-sin(\theta_2)}{\kappa_2} \] +
++\[ y = y_2+\frac{\cos(\theta_2)-\cos(\kappa_2 s+\theta_2)}{\kappa_2} \] +
+x1 | x-origin of the first arc |
y1 | y-origin of the first arc |
theta1 | initial angle of the first arc |
kappa1 | curvature of the first arc |
x2 | x-origin of the second arc |
y2 | y-origin of the second arc |
theta2 | initial angle of the second arc |
kappa2 | curvature of the second arc |
s1 | parameter2 of intersection for the first circle arc |
s2 | parameter2 of intersection for the second circle arc |
int_type G2lib::isCounterClockwise | +( | +real_type const | +P1[2], | +
+ | + | real_type const | +P2[2], | +
+ | + | real_type const | +P3[2] | +
+ | ) | ++ |
return +1 = CounterClockwise return -1 = Clockwise return 0 = flat
+CounterClockwise: the path P1->P2->P3 turns Counter-Clockwise, i.e., the point P3 is located "on the left" of the line P1-P2. Clockwise: the path turns Clockwise, i.e., the point P3 lies "on the right" of the line P1-P2. flat: the point P3 is located on the line segment [P1 P2].
+Algorithm from FileExchage geom2d adapated from Sedgewick's book.
+ +int_type G2lib::isPointInTriangle | +( | +real_type const | +pt[2], | +
+ | + | real_type const | +P1[2], | +
+ | + | real_type const | +P2[2], | +
+ | + | real_type const | +P3[2] | +
+ | ) | ++ |
return +1 = Inside return -1 = Outsize return 0 = on border
+ +
+
|
+ +inline | +
check if point (qx,qy)
is inside the circle passing from (x0,y0)
with tangent direction (c0,s0)
and curvature k
c0 | cos(theta0) |
s0 | sin(theta0) |
real_type G2lib::projectPointOnCircle | +( | +real_type | +x0, | +
+ | + | real_type | +y0, | +
+ | + | real_type | +theta0, | +
+ | + | real_type | +k, | +
+ | + | real_type | +qx, | +
+ | + | real_type | +qy | +
+ | ) | ++ |
project point (qx,qy)
to the circle passing from (x0,y0)
with tangent direction (c0,s0)
and curvature k
real_type G2lib::projectPointOnCircleArc | +( | +real_type | +x0, | +
+ | + | real_type | +y0, | +
+ | + | real_type | +c0, | +
+ | + | real_type | +s0, | +
+ | + | real_type | +k, | +
+ | + | real_type | +L, | +
+ | + | real_type | +qx, | +
+ | + | real_type | +qy | +
+ | ) | ++ |
project point (qx,qy)
to the circle arc passing from (x0,y0)
with tangent direction (c0,s0)
curvature k
length L
c0 | cos(theta0) |
s0 | sin(theta0) |
int_type G2lib::solveLinearQuadratic | +( | +real_type | +A, | +
+ | + | real_type | +B, | +
+ | + | real_type | +C, | +
+ | + | real_type | +a, | +
+ | + | real_type | +b, | +
+ | + | real_type | +c, | +
+ | + | real_type | +x[], | +
+ | + | real_type | +y[] | +
+ | ) | ++ |
Solve the nonlinear system
++\[ A x + B y = C \] +
++\[ a x^2 + b y^2 = c \] +
+A | first parameter of the linear equation |
B | second parameter of the linear equation |
C | third parameter of the linear equation |
a | first parameter of the quadratic equation |
b | second parameter of the quadratic equation |
c | third parameter of the quadratic equation |
int_type G2lib::solveLinearQuadratic2 | +( | +real_type | +A, | +
+ | + | real_type | +B, | +
+ | + | real_type | +C, | +
+ | + | real_type | +x[], | +
+ | + | real_type | +y[] | +
+ | ) | ++ |
Solve the nonlinear system
++\[ A x + B y = C \] +
++\[ x^2 + y^2 = 1 \] +
+A | first parameter of the linear equation |
B | second parameter of the linear equation |
C | third parameter of the linear equation |
char const * G2lib::CurveType_name | +
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for c_complex_type, including all inherited members.
+imag (defined in c_complex_type) | c_complex_type | |
real (defined in c_complex_type) | c_complex_type |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Class to manage AABB tree. + More...
+ +#include <AABBtree.hxx>
+Public Types | |
+typedef BBox const * | PtrBBox |
+typedef AABBtree * | PtrAABB |
+typedef pair< PtrBBox, PtrBBox > | PairPtrBBox |
+typedef vector< PtrBBox > | VecPtrBBox |
+typedef vector< PairPtrBBox > | VecPairPtrBBox |
+Public Member Functions | |
+void | clear () |
initialized AABB tree | |
+bool | empty () const |
check if AABB tree is empty | |
+void | bbox (real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const |
void | build (vector< PtrBBox > const &bboxes) |
build AABB tree given a list of bbox More... | |
+void | print (ostream_type &stream, int level=0) const |
template<typename COLLISION_fun > | |
bool | collision (AABBtree const &tree, COLLISION_fun ifun, bool swap_tree=false) const |
void | intersect (AABBtree const &tree, VecPairPtrBBox &intersectionList, bool swap_tree=false) const |
+void | min_distance (real_type x, real_type y, VecPtrBBox &candidateList) const |
Class to manage AABB tree.
+void G2lib::AABBtree::build | +( | +vector< PtrBBox > const & | +bboxes | ) | ++ |
build AABB tree given a list of bbox
+pBBox = make_shared<BBox>( bboxes, 0, 0 );
+ +
+
|
+ +inline | +
Check if two AABB tree collide
+[in] | tree | an AABB tree that is used to check collision |
[in] | ifun | function the check if the contents of two bbox (curve) collide |
[in] | swap_tree | if true exchange the tree in computation |
void G2lib::AABBtree::intersect | +( | +AABBtree const & | +tree, | +
+ | + | VecPairPtrBBox & | +intersectionList, | +
+ | + | bool | +swap_tree = false |
+
+ | ) | +const | +
Compute all the intersection of AABB trees
+[in] | tree | an AABB tree that is used to check collision |
[out] | intersectionList | list of pair bbox that overlaps |
[in] | swap_tree | if true exchange the tree in computation |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
implementation of Flocke algorithm for roots of 3rd and 4th degree polynomials +More...
++Classes | |
class | Quadratic |
Quadratic polynomial class. More... | |
class | Cubic |
Cubic polynomial class. More... | |
class | Quartic |
Quartic polynomial class. More... | |
+Typedefs | |
+typedef double | valueType |
+typedef int | indexType |
+typedef std::complex< valueType > | complexType |
+Functions | |
+int | roots (valueType const op[], indexType Degree, valueType zeror[], valueType zeroi[]) |
find roots of a generic polinomial using Jenkins-Traub method | |
+valueType | evalPoly (valueType const op[], indexType Degree, valueType x) |
evaluate real polynomial | |
+std::complex< valueType > | evalPolyC (valueType const op[], indexType Degree, std::complex< valueType > const &x) |
evaluate real polynomial with complex value | |
implementation of Flocke algorithm for roots of 3rd and 4th degree polynomials
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::Solve2x2, including all inherited members.
+factorize(real_type A[2][2]) (defined in G2lib::Solve2x2) | G2lib::Solve2x2 | |
solve(real_type const b[2], real_type x[2]) const (defined in G2lib::Solve2x2) | G2lib::Solve2x2 | |
Solve2x2() (defined in G2lib::Solve2x2) | G2lib::Solve2x2 | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+void | green () noexcept |
+void | red () noexcept |
+void | wait () noexcept |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::G2solve3arc, including all inherited members.
+build(real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type x1, real_type y1, real_type theta1, real_type kappa1, real_type Dmax=0, real_type dmax=0) | G2lib::G2solve3arc | |
build_fixed_length(real_type s0, real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type s1, real_type x1, real_type y1, real_type theta1, real_type kappa1) | G2lib::G2solve3arc | |
curvatureMinMax(real_type &kMin, real_type &kMax) const | G2lib::G2solve3arc | |
curvatureTotalVariation() const | G2lib::G2solve3arc | inline |
deltaTheta() const | G2lib::G2solve3arc | inline |
eval(real_type s, real_type &theta, real_type &kappa, real_type &x, real_type &y) const | G2lib::G2solve3arc | |
eval(real_type s, real_type &x, real_type &y) const (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | |
eval_D(real_type s, real_type &x_D, real_type &y_D) const (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | |
eval_DD(real_type s, real_type &x_DD, real_type &y_DD) const (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | |
eval_DDD(real_type s, real_type &x_DDD, real_type &y_DDD) const (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | |
eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | |
eval_ISO_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | |
eval_ISO_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | |
eval_ISO_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | |
G2solve3arc() (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | inline |
getS0() const | G2lib::G2solve3arc | inline |
getS1() const | G2lib::G2solve3arc | inline |
getSM() const | G2lib::G2solve3arc | inline |
integralCurvature2() const | G2lib::G2solve3arc | inline |
integralJerk2() const | G2lib::G2solve3arc | inline |
integralSnap2() const | G2lib::G2solve3arc | inline |
kappaBegin() const | G2lib::G2solve3arc | inline |
kappaEnd() const | G2lib::G2solve3arc | inline |
operator<< (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | friend |
reverse() (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | inline |
rotate(real_type angle, real_type cx, real_type cy) (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | inline |
setMaxIter(int miter) (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | |
setTolerance(real_type tol) (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | |
theta(real_type s) const | G2lib::G2solve3arc | |
theta_D(real_type s) const | G2lib::G2solve3arc | |
theta_DD(real_type s) const | G2lib::G2solve3arc | |
theta_DDD(real_type s) const | G2lib::G2solve3arc | |
thetaBegin() const | G2lib::G2solve3arc | inline |
thetaEnd() const | G2lib::G2solve3arc | inline |
thetaMinMax(real_type &thMin, real_type &thMax) const | G2lib::G2solve3arc | |
thetaTotalVariation() const | G2lib::G2solve3arc | inline |
totalLength() const | G2lib::G2solve3arc | inline |
translate(real_type tx, real_type ty) (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | inline |
X(real_type s) const | G2lib::G2solve3arc | |
xBegin() const | G2lib::G2solve3arc | inline |
xEnd() const | G2lib::G2solve3arc | inline |
Y(real_type s) const | G2lib::G2solve3arc | |
yBegin() const | G2lib::G2solve3arc | inline |
yEnd() const | G2lib::G2solve3arc | inline |
~G2solve3arc() (defined in G2lib::G2solve3arc) | G2lib::G2solve3arc | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Quadratic polynomial class. + More...
+ +#include <PolynomialRoots.hh>
+Public Member Functions | |
+ | Quadratic (valueType _a, valueType _b, valueType _c) |
void | setup (valueType _a, valueType _b, valueType _c) |
compute the roots of quadratic polynomial \( a x^2 + b x + c \) More... | |
+indexType | numRoots () const |
number of found roots | |
+bool | complexRoots () const |
are roots complex? | |
+bool | doubleRoot () const |
are roots a double root? | |
indexType | getRealRoots (valueType r[]) const |
get the real roots More... | |
indexType | getPositiveRoots (valueType r[]) const |
get positive real roots More... | |
indexType | getNegativeRoots (valueType r[]) const |
get negative real roots More... | |
+valueType | real_root0 () const |
first real root | |
+valueType | real_root1 () const |
second real root | |
+complexType | root0 () const |
+complexType | root1 () const |
+void | getRoot0 (valueType &re, valueType &im) const |
+void | getRoot0 (complexType &r) const |
+void | getRoot1 (valueType &re, valueType &im) const |
+void | getRoot1 (complexType &r) const |
valueType | eval (valueType x) const |
evalute the quadratic polynomial More... | |
complexType | eval (complexType const &x) const |
evalute the quadratic polynomial More... | |
void | eval (valueType x, valueType &p, valueType &dp) const |
evalute the polynomial with its derivative More... | |
+void | info (std::ostream &s) const |
print info of the roots of the polynomial | |
+bool | check (std::ostream &s) const |
check tolerenace and quality of the computed roots | |
Quadratic polynomial class.
+
+
|
+ +inline | +
evalute the quadratic polynomial
+x | value where compute \( p(x) \), x complex |
+
|
+ +inline | +
evalute the quadratic polynomial
+x | value where compute \( p(x) \) |
void PolynomialRoots::Quadratic::eval | +( | +valueType | +x, | +
+ | + | valueType & | +p, | +
+ | + | valueType & | +dp | +
+ | ) | +const | +
evalute the polynomial with its derivative
+x | value where compute \( p(x) \) |
p | value \( p(x) \) |
dp | value \( p'(x) \) |
indexType PolynomialRoots::Quadratic::getNegativeRoots | +( | +valueType | +r[] | ) | +const | +
get negative real roots
+[out] | r | vector that will be filled with the real roots |
indexType PolynomialRoots::Quadratic::getPositiveRoots | +( | +valueType | +r[] | ) | +const | +
get positive real roots
+[out] | r | vector that will be filled with the real roots |
indexType PolynomialRoots::Quadratic::getRealRoots | +( | +valueType | +r[] | ) | +const | +
get the real roots
+[out] | r | vector that will be filled with the real roots |
+
|
+ +inline | +
compute the roots of quadratic polynomial \( a x^2 + b x + c \)
+[in] | _a | coefficient of \( x^2 \) |
[in] | _b | coefficient of \( x \) |
[in] | _c | coefficient of \( x^0 \) |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::ThreadPool, including all inherited members.
+get_id(unsigned i) const (defined in Utils::ThreadPool) | Utils::ThreadPool | inline |
get_thread(unsigned i) const (defined in Utils::ThreadPool) | Utils::ThreadPool | inline |
get_thread(unsigned i) (defined in Utils::ThreadPool) | Utils::ThreadPool | inline |
resize(unsigned numThreads) (defined in Utils::ThreadPool) | Utils::ThreadPool | inline |
run(unsigned nt, Func &&func, Args &&... args) | Utils::ThreadPool | inline |
size() const (defined in Utils::ThreadPool) | Utils::ThreadPool | inline |
start_all() (defined in Utils::ThreadPool) | Utils::ThreadPool | inline |
stop_all() (defined in Utils::ThreadPool) | Utils::ThreadPool | inline |
ThreadPool(unsigned nthread=std::max(unsigned(1), unsigned(std::thread::hardware_concurrency() -1))) (defined in Utils::ThreadPool) | Utils::ThreadPool | inline |
wait_all() (defined in Utils::ThreadPool) | Utils::ThreadPool | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Attributes | |
+double | real |
+double | imag |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::SimpleSemaphore, including all inherited members.
+green() noexcept (defined in Utils::SimpleSemaphore) | Utils::SimpleSemaphore | inline |
red() noexcept (defined in Utils::SimpleSemaphore) | Utils::SimpleSemaphore | inline |
SimpleSemaphore() noexcept (defined in Utils::SimpleSemaphore) | Utils::SimpleSemaphore | inline |
wait() noexcept (defined in Utils::SimpleSemaphore) | Utils::SimpleSemaphore | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+void | wait () |
+void | enter () |
+void | leave () |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::Malloc< T >, including all inherited members.
+allocate(size_t n) | Utils::Malloc< T > | inline |
free(void) | Utils::Malloc< T > | |
is_empty() const | Utils::Malloc< T > | inline |
malloc(size_t n) (defined in Utils::Malloc< T >) | Utils::Malloc< T > | inline |
Malloc(std::string const &name) | Utils::Malloc< T > | explicit |
must_be_empty(char const where[]) const | Utils::Malloc< T > | |
operator()(size_t sz) | Utils::Malloc< T > | inline |
size(void) const | Utils::Malloc< T > | inline |
valueType typedef (defined in Utils::Malloc< T >) | Utils::Malloc< T > | |
~Malloc() | Utils::Malloc< T > |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::SpinLock_barrier, including all inherited members.
+count_down() (defined in Utils::SpinLock_barrier) | Utils::SpinLock_barrier | inline |
count_down_and_wait() (defined in Utils::SpinLock_barrier) | Utils::SpinLock_barrier | inline |
operator=(const SpinLock_barrier &)=delete (defined in Utils::SpinLock_barrier) | Utils::SpinLock_barrier | |
setup(unsigned count) (defined in Utils::SpinLock_barrier) | Utils::SpinLock_barrier | inline |
SpinLock_barrier(const SpinLock_barrier &)=delete (defined in Utils::SpinLock_barrier) | Utils::SpinLock_barrier | |
SpinLock_barrier() (defined in Utils::SpinLock_barrier) | Utils::SpinLock_barrier | inlineexplicit |
wait() (defined in Utils::SpinLock_barrier) | Utils::SpinLock_barrier | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Class to manage a list of clothoid curves (not necessarily G2 or G1 connected) + More...
+ +#include <ClothoidList.hxx>
+Public Member Functions | |
+ | ClothoidList (ClothoidList const &s) |
+void | init () |
+void | reserve (int_type n) |
+void | copy (ClothoidList const &L) |
+ClothoidList const & | operator= (ClothoidList const &s) |
+ | ClothoidList (LineSegment const &LS) |
+ | ClothoidList (CircleArc const &C) |
+ | ClothoidList (Biarc const &B) |
+ | ClothoidList (BiarcList const &BL) |
+ | ClothoidList (ClothoidCurve const &CL) |
+ | ClothoidList (PolyLine const &PL) |
+ | ClothoidList (BaseCurve const &C) |
+void | push_back (LineSegment const &c) |
+void | push_back (CircleArc const &c) |
+void | push_back (Biarc const &c) |
+void | push_back (BiarcList const &c) |
+void | push_back (ClothoidCurve const &c) |
+void | push_back (PolyLine const &c) |
+void | push_back (real_type kappa0, real_type dkappa, real_type L) |
+void | push_back (real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type dkappa, real_type L) |
+void | push_back_G1 (real_type x1, real_type y1, real_type theta1) |
+void | push_back_G1 (real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1) |
+bool | is_closed () const |
+void | make_closed () |
+void | make_open () |
+real_type | closure_gap_x () const |
+real_type | closure_gap_y () const |
+real_type | closure_gap_tx () const |
+real_type | closure_gap_ty () const |
+bool | closure_check (real_type tol_xy=1e-6, real_type tol_tg=1e-6) const |
+bool | build_G1 (int_type n, real_type const x[], real_type const y[]) |
+bool | build_G1 (int_type n, real_type const x[], real_type const y[], real_type const theta[]) |
+bool | build (real_type x0, real_type y0, real_type theta0, int_type n, real_type const s[], real_type const kappa[]) |
+bool | build (real_type x0, real_type y0, real_type theta0, vector< real_type > const &s, vector< real_type > const &kappa) |
+bool | build_raw (int_type n, real_type const x[], real_type const y[], real_type const abscissa[], real_type const theta[], real_type const kappa[]) |
+bool | build_raw (vector< real_type > const &x, vector< real_type > const &y, vector< real_type > const &abscissa, vector< real_type > const &theta, vector< real_type > const &kappa) |
+ClothoidCurve const & | get (int_type idx) const |
+ClothoidCurve const & | getAtS (real_type s) const |
+int_type | numSegment () const |
+void | wrap_in_range (real_type &s) const |
+int_type | findAtS (real_type &s) const |
virtual real_type | length () const UTILS_OVERRIDE |
virtual real_type | length_ISO (real_type offs) const UTILS_OVERRIDE |
+real_type | segment_length (int_type nseg) const |
+real_type | segment_length_ISO (int_type nseg, real_type offs) const |
+real_type | segment_length_SAE (int_type nseg, real_type offs) const |
+void | bbTriangles_ISO (real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const |
+void | bbTriangles_SAE (real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const |
+void | bbTriangles (std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const |
+void | build_AABBtree_ISO (real_type offs, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const |
virtual void | bbox (real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
virtual void | bbox_ISO (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
+virtual real_type | thetaBegin () const UTILS_OVERRIDE |
+virtual real_type | thetaEnd () const UTILS_OVERRIDE |
+virtual real_type | xBegin () const UTILS_OVERRIDE |
+virtual real_type | yBegin () const UTILS_OVERRIDE |
+virtual real_type | xEnd () const UTILS_OVERRIDE |
+virtual real_type | yEnd () const UTILS_OVERRIDE |
+virtual real_type | xBegin_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | yBegin_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | xEnd_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | yEnd_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | tx_Begin () const UTILS_OVERRIDE |
+virtual real_type | ty_Begin () const UTILS_OVERRIDE |
+virtual real_type | tx_End () const UTILS_OVERRIDE |
+virtual real_type | ty_End () const UTILS_OVERRIDE |
+virtual real_type | nx_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | ny_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | nx_End_ISO () const UTILS_OVERRIDE |
+virtual real_type | ny_End_ISO () const UTILS_OVERRIDE |
+virtual real_type | theta (real_type s) const UTILS_OVERRIDE |
+virtual real_type | theta_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | theta_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | theta_DDD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_DDD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_DDD (real_type s) const UTILS_OVERRIDE |
+virtual void | tg (real_type s, real_type &tg_x, real_type &tg_y) const UTILS_OVERRIDE |
+virtual void | tg_D (real_type s, real_type &tg_x_D, real_type &tg_y_D) const UTILS_OVERRIDE |
+virtual void | tg_DD (real_type s, real_type &tg_x_DD, real_type &tg_y_DD) const UTILS_OVERRIDE |
+virtual void | tg_DDD (real_type s, real_type &tg_x_DDD, real_type &tg_y_DDD) const UTILS_OVERRIDE |
+virtual void | evaluate (real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual void | evaluate_ISO (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual real_type | X (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y (real_type s) const UTILS_OVERRIDE |
+virtual real_type | X_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | X_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | X_DDD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y_DDD (real_type s) const UTILS_OVERRIDE |
+virtual void | eval (real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual void | eval_D (real_type s, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
+virtual void | eval_DD (real_type s, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
+virtual void | eval_DDD (real_type s, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
+virtual real_type | X_ISO (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_D (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_D (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_DD (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_DD (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_DDD (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_DDD (real_type s, real_type offs) const UTILS_OVERRIDE |
virtual void | eval_ISO (real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE |
virtual void | eval_ISO_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
virtual void | eval_ISO_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
virtual void | eval_ISO_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
+virtual void | translate (real_type tx, real_type ty) UTILS_OVERRIDE |
+virtual void | rotate (real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE |
+virtual void | scale (real_type sc) UTILS_OVERRIDE |
+virtual void | reverse () UTILS_OVERRIDE |
+virtual void | changeOrigin (real_type newx0, real_type newy0) UTILS_OVERRIDE |
+virtual void | trim (real_type s_begin, real_type s_end) UTILS_OVERRIDE |
+void | trim (real_type s_begin, real_type s_end, ClothoidList &newCL) const |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
int_type | closestSegment (real_type qx, real_type qy) const |
int_type | closestPointInRange_ISO (real_type qx, real_type qy, int_type icurve_begin, int_type icurve_end, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst, int_type &icurve) const |
int_type | closestPointInRange_SAE (real_type qx, real_type qy, int_type icurve_begin, int_type icurve_end, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst, int_type &icurve) const |
int_type | closestPointInSRange_ISO (real_type qx, real_type qy, real_type s_begin, real_type s_end, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst, int_type &icurve) const |
int_type | closestPointInSRange_SAE (real_type qx, real_type qy, int_type s_begin, int_type s_end, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst, int_type &icurve) const |
+virtual void | info (ostream_type &stream) const UTILS_OVERRIDE |
+void | getSK (real_type s[], real_type kappa[]) const |
+void | getSK (std::vector< real_type > &s, std::vector< real_type > &kappa) const |
+void | getSTK (real_type s[], real_type theta[], real_type kappa[]) const |
+void | getSTK (std::vector< real_type > &s, std::vector< real_type > &theta, std::vector< real_type > &kappa) const |
+void | getXY (real_type x[], real_type y[]) const |
+void | getDeltaTheta (real_type deltaTheta[]) const |
+void | getDeltaKappa (real_type deltaKappa[]) const |
int_type | findST1 (real_type x, real_type y, real_type &s, real_type &t) const |
Find parametric coordinate. More... | |
int_type | findST1 (int_type ibegin, int_type iend, real_type x, real_type y, real_type &s, real_type &t) const |
Find parametric coordinate. More... | |
+bool | collision (ClothoidList const &C) const |
+bool | collision_ISO (real_type offs, ClothoidList const &CL, real_type offs_C) const |
+void | intersect (ClothoidList const &CL, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, ClothoidList const &CL, real_type offs_obj, IntersectList &ilist, bool swap_s_vals) const |
void | export_table (ostream_type &stream) const |
Save Clothoid list to a stream. More... | |
void | export_ruby (ostream_type &stream) const |
Save Clothoid list to a stream. More... | |
CurveType | type () const |
real_type | length_SAE (real_type offs) const |
void | bbox_SAE (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const |
+virtual real_type | kappaBegin () const |
+virtual real_type | kappaEnd () const |
+real_type | xBegin_SAE (real_type offs) const |
+real_type | yBegin_SAE (real_type offs) const |
+real_type | xEnd_SAE (real_type offs) const |
+real_type | yEnd_SAE (real_type offs) const |
+real_type | nx_Begin_SAE () const |
+real_type | ny_Begin_SAE () const |
+real_type | nx_End_SAE () const |
+real_type | ny_End_SAE () const |
+real_type | kappa (real_type s) const |
+real_type | kappa_D (real_type s) const |
+real_type | kappa_DD (real_type s) const |
+real_type | nx_ISO (real_type s) const |
+real_type | nx_ISO_D (real_type s) const |
+real_type | nx_ISO_DD (real_type s) const |
+real_type | nx_ISO_DDD (real_type s) const |
+real_type | ny_ISO (real_type s) const |
+real_type | ny_ISO_D (real_type s) const |
+real_type | ny_ISO_DD (real_type s) const |
+real_type | ny_ISO_DDD (real_type s) const |
+real_type | nx_SAE (real_type s) const |
+real_type | nx_SAE_D (real_type s) const |
+real_type | nx_SAE_DD (real_type s) const |
+real_type | nx_SAE_DDD (real_type s) const |
+real_type | ny_SAE (real_type s) const |
+real_type | ny_SAE_D (real_type s) const |
+real_type | ny_SAE_DD (real_type s) const |
+real_type | ny_SAE_DDD (real_type s) const |
+void | nor_ISO (real_type s, real_type &nx, real_type &ny) const |
+void | nor_ISO_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_ISO_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_ISO_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+void | nor_SAE (real_type s, real_type &nx, real_type &ny) const |
+void | nor_SAE_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_SAE_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_SAE_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+virtual void | evaluate_SAE (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+real_type | X_SAE (real_type s, real_type offs) const |
+real_type | Y_SAE (real_type s, real_type offs) const |
+real_type | X_SAE_D (real_type s, real_type offs) const |
+real_type | Y_SAE_D (real_type s, real_type offs) const |
+real_type | X_SAE_DD (real_type s, real_type offs) const |
+real_type | Y_SAE_DD (real_type s, real_type offs) const |
+real_type | X_SAE_DDD (real_type s, real_type offs) const |
+real_type | Y_SAE_DDD (real_type s, real_type offs) const |
void | eval_SAE (real_type s, real_type offs, real_type &x, real_type &y) const |
void | eval_SAE_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
void | eval_SAE_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
void | eval_SAE_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
+bool | collision (BaseCurve const &C) const |
+bool | collision_ISO (real_type offs, BaseCurve const &C, real_type offs_C) const |
+bool | collision_SAE (real_type offs, BaseCurve const &C, real_type offs_C) const |
+void | intersect (BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_SAE (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
+virtual real_type | distance (real_type qx, real_type qy) const |
+real_type | distance_ISO (real_type qx, real_type qy, real_type offs) const |
+real_type | distance_SAE (real_type qx, real_type qy, real_type offs) const |
+bool | findST_ISO (real_type x, real_type y, real_type &s, real_type &t) const |
+bool | findST_SAE (real_type x, real_type y, real_type &s, real_type &t) const |
+Protected Attributes | |
+CurveType | m_type |
+Friends | |
+ostream_type & | operator<< (ostream_type &stream, ClothoidList const &CL) |
Class to manage a list of clothoid curves (not necessarily G2 or G1 connected)
+
+
|
+ +inlinevirtual | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute the bounding box of the curve with offset
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
int_type G2lib::ClothoidList::closestPointInRange_ISO | +( | +real_type | +qx, | +
+ | + | real_type | +qy, | +
+ | + | int_type | +icurve_begin, | +
+ | + | int_type | +icurve_end, | +
+ | + | real_type & | +x, | +
+ | + | real_type & | +y, | +
+ | + | real_type & | +s, | +
+ | + | real_type & | +t, | +
+ | + | real_type & | +dst, | +
+ | + | int_type & | +icurve | +
+ | ) | +const | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
icurve_begin | index of the initial segment |
icurve_end | index of the past to the last segment |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
icurve | number of the segment with the projected point |
+
|
+ +inline | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
icurve_begin | index of the initial segment |
icurve_end | index of the past to the last segment |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
icurve | number of the segment with the projected point |
int_type G2lib::ClothoidList::closestPointInSRange_ISO | +( | +real_type | +qx, | +
+ | + | real_type | +qy, | +
+ | + | real_type | +s_begin, | +
+ | + | real_type | +s_end, | +
+ | + | real_type & | +x, | +
+ | + | real_type & | +y, | +
+ | + | real_type & | +s, | +
+ | + | real_type & | +t, | +
+ | + | real_type & | +dst, | +
+ | + | int_type & | +icurve | +
+ | ) | +const | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
s_begin | initial curvilinear coordinate of the search range |
s_end | final curvilinear coordinate of the search range |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
icurve | number of the segment with the projected point |
+
|
+ +inline | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
s_begin | initial curvilinear coordinate of the search range |
s_end | final curvilinear coordinate of the search range |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
icurve | number of the segment with the projected point |
int_type G2lib::ClothoidList::closestSegment | +( | +real_type | +qx, | +
+ | + | real_type | +qy | +
+ | ) | +const | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
+
|
+ +virtual | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
+
|
+ +inlineinherited | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
+
|
+ +inlineinherited | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
+
|
+ +inlineinherited | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
void G2lib::ClothoidList::export_ruby | +( | +ostream_type & | +stream | ) | +const | +
Save Clothoid list to a stream.
+stream | streamstream to save |
void G2lib::ClothoidList::export_table | +( | +ostream_type & | +stream | ) | +const | +
Save Clothoid list to a stream.
+stream | stream to save |
int_type G2lib::ClothoidList::findST1 | +( | +int_type | +ibegin, | +
+ | + | int_type | +iend, | +
+ | + | real_type | +x, | +
+ | + | real_type | +y, | +
+ | + | real_type & | +s, | +
+ | + | real_type & | +t | +
+ | ) | +const | +
Find parametric coordinate.
+ibegin | initial segment to compute the distance |
iend | final segment to compute the distance |
x | x-coordinate point |
y | y-coordinate point |
s | value \( s \) |
t | value \( t \) |
int_type G2lib::ClothoidList::findST1 | +( | +real_type | +x, | +
+ | + | real_type | +y, | +
+ | + | real_type & | +s, | +
+ | + | real_type & | +t | +
+ | ) | +const | +
Find parametric coordinate.
+x | x-coordinate point |
y | y-coordinate point |
s | value \( s \) |
t | value \( t \) |
+
|
+ +virtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
+
|
+ +inlineinherited | +
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for GenericContainerNamespace::GenericContainerExplorer, including all inherited members.
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for PolynomialRoots::Cubic, including all inherited members.
+check(std::ostream &s) const | PolynomialRoots::Cubic | |
complexRoots() const | PolynomialRoots::Cubic | inline |
Cubic() (defined in PolynomialRoots::Cubic) | PolynomialRoots::Cubic | inline |
Cubic(valueType _a, valueType _b, valueType _c, valueType _d) (defined in PolynomialRoots::Cubic) | PolynomialRoots::Cubic | inline |
doubleRoot() const | PolynomialRoots::Cubic | inline |
eval(valueType x) const | PolynomialRoots::Cubic | inline |
eval(complexType const &x) const | PolynomialRoots::Cubic | inline |
eval(valueType x, valueType &p, valueType &dp) const | PolynomialRoots::Cubic | |
getNegativeRoots(valueType r[]) const | PolynomialRoots::Cubic | |
getPositiveRoots(valueType r[]) const | PolynomialRoots::Cubic | |
getRealRoots(valueType r[]) const | PolynomialRoots::Cubic | |
getRoot0(valueType &re, valueType &im) const (defined in PolynomialRoots::Cubic) | PolynomialRoots::Cubic | inline |
getRoot0(complexType &r) const (defined in PolynomialRoots::Cubic) | PolynomialRoots::Cubic | inline |
getRoot1(valueType &re, valueType &im) const (defined in PolynomialRoots::Cubic) | PolynomialRoots::Cubic | inline |
getRoot1(complexType &r) const (defined in PolynomialRoots::Cubic) | PolynomialRoots::Cubic | inline |
getRoot2(valueType &re, valueType &im) const (defined in PolynomialRoots::Cubic) | PolynomialRoots::Cubic | inline |
getRoot2(complexType &r) const (defined in PolynomialRoots::Cubic) | PolynomialRoots::Cubic | inline |
info(std::ostream &s) const | PolynomialRoots::Cubic | |
numRoots() const | PolynomialRoots::Cubic | inline |
real_root0() const | PolynomialRoots::Cubic | inline |
real_root1() const | PolynomialRoots::Cubic | inline |
real_root2() const | PolynomialRoots::Cubic | inline |
root0() const (defined in PolynomialRoots::Cubic) | PolynomialRoots::Cubic | inline |
root1() const (defined in PolynomialRoots::Cubic) | PolynomialRoots::Cubic | inline |
root2() const (defined in PolynomialRoots::Cubic) | PolynomialRoots::Cubic | inline |
setup(valueType _a, valueType _b, valueType _c, valueType _d) | PolynomialRoots::Cubic | inline |
tripleRoot() const | PolynomialRoots::Cubic | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Class to manage Clothoid Curve. + More...
+ +#include <Circle.hxx>
+Public Member Functions | |
+ | CircleArc (CircleArc const &s) |
+ | CircleArc (real_type x0, real_type y0, real_type theta0, real_type k, real_type L) |
construct a circle curve with the standard parameters | |
+ | CircleArc (LineSegment const &LS) |
construct a circle curve with the standard parameters | |
+void | copy (CircleArc const &c) |
+ | CircleArc (BaseCurve const &C) |
+CircleArc const & | operator= (CircleArc const &s) |
+void | build (real_type x0, real_type y0, real_type theta0, real_type k, real_type L) |
construct a circle with the standard parameters | |
+bool | build_G1 (real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1) |
build a circle by solving the hermite G1 problem | |
+bool | build_3P (real_type x0, real_type y0, real_type x1, real_type y1, real_type x2, real_type y2) |
build a circle passing by 3 points | |
+bool | bbTriangle (real_type &x0, real_type &y0, real_type &x1, real_type &y1, real_type &x2, real_type &y2) const |
get the bounding box triangle (if angle variation less that pi/3) | |
+bool | bbTriangle_ISO (real_type offs, real_type &x0, real_type &y0, real_type &x1, real_type &y1, real_type &x2, real_type &y2) const |
get the bounding box triangle (if angle variation less that pi/3) | |
+bool | bbTriangle_SAE (real_type offs, real_type &_x0, real_type &_y0, real_type &_x1, real_type &_y1, real_type &_x2, real_type &_y2) const |
get the bounding box triangle (if angle variation less that pi/3) | |
+bool | bbTriangle (real_type p0[2], real_type p1[2], real_type p2[2]) const |
+bool | bbTriangle_ISO (real_type offs, real_type p0[2], real_type p1[2], real_type p2[2]) const |
+bool | bbTriangle_SAE (real_type offs, real_type p0[2], real_type p1[2], real_type p2[2]) const |
+bool | bbTriangle (Triangle2D &t, real_type ss0=0, real_type ss1=0, int_type icurve=0) const |
+bool | bbTriangle_ISO (real_type offs, Triangle2D &t, real_type ss0=0, real_type ss1=0, int_type icurve=0) const |
+bool | bbTriangle_SAE (real_type offs, Triangle2D &t, real_type ss0=0, real_type ss1=0, int_type icurve=0) const |
+void | bbTriangles (std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const |
+void | bbTriangles_ISO (real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const |
+void | bbTriangles_SAE (real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const |
virtual void | bbox (real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
virtual void | bbox_ISO (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
virtual real_type | length () const UTILS_OVERRIDE |
virtual real_type | length_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | thetaBegin () const UTILS_OVERRIDE |
+virtual real_type | xBegin () const UTILS_OVERRIDE |
+virtual real_type | yBegin () const UTILS_OVERRIDE |
+virtual real_type | tx_Begin () const UTILS_OVERRIDE |
+virtual real_type | ty_Begin () const UTILS_OVERRIDE |
+virtual real_type | nx_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | ny_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | theta (real_type s) const UTILS_OVERRIDE |
+virtual real_type | theta_D (real_type) const UTILS_OVERRIDE |
+virtual real_type | theta_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | theta_DDD (real_type) const UTILS_OVERRIDE |
+virtual void | evaluate (real_type s, real_type &th, real_type &kappa, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual real_type | X (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y (real_type s) const UTILS_OVERRIDE |
+virtual real_type | X_D (real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_D (real_type) const UTILS_OVERRIDE |
+virtual real_type | X_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | X_DDD (real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_DDD (real_type) const UTILS_OVERRIDE |
+virtual void | eval (real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual void | eval_D (real_type, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
+virtual void | eval_DD (real_type, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
+virtual void | eval_DDD (real_type, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
+virtual real_type | tx (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_DDD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_DDD (real_type s) const UTILS_OVERRIDE |
+virtual void | tg (real_type s, real_type &tx, real_type &ty) const UTILS_OVERRIDE |
+virtual void | tg_D (real_type s, real_type &tx_D, real_type &ty_D) const UTILS_OVERRIDE |
+virtual void | tg_DD (real_type s, real_type &tx_DD, real_type &ty_DD) const UTILS_OVERRIDE |
+virtual void | tg_DDD (real_type s, real_type &tx_DDD, real_type &ty_DDD) const UTILS_OVERRIDE |
+virtual void | translate (real_type tx, real_type ty) UTILS_OVERRIDE |
+virtual void | rotate (real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE |
+virtual void | reverse () UTILS_OVERRIDE |
+virtual void | changeOrigin (real_type newx0, real_type newy0) UTILS_OVERRIDE |
+virtual void | scale (real_type s) UTILS_OVERRIDE |
+virtual void | trim (real_type s_begin, real_type s_end) UTILS_OVERRIDE |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
+virtual void | info (ostream_type &stream) const UTILS_OVERRIDE |
+bool | collision (CircleArc const &) const |
+bool | collision_ISO (real_type offs, CircleArc const &C, real_type offs_obj) const |
+void | intersect (CircleArc const &obj, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, CircleArc const &C, real_type offs_obj, IntersectList &ilist, bool swap_s_vals) const |
+real_type | sinTheta0 () const |
+real_type | cosTheta0 () const |
+real_type | curvature () const |
+real_type | lenTolerance (real_type tol) const |
+real_type | delta_theta () const |
+real_type | thetaTotalVariation () const |
+real_type | thetaMinMax (real_type &thMin, real_type &thMax) const |
+real_type | deltaTheta () const |
+void | changeCurvilinearOrigin (real_type s0, real_type newL) |
+void | center (real_type &cx, real_type &cy) const |
+real_type | ray () const |
+void | paramNURBS (int_type &n_knots, int_type &n_pnts) const |
+void | toNURBS (real_type knots[], real_type Poly[][3]) const |
CurveType | type () const |
real_type | length_SAE (real_type offs) const |
void | bbox_SAE (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const |
+virtual real_type | thetaEnd () const |
+virtual real_type | kappaBegin () const |
+virtual real_type | kappaEnd () const |
+virtual real_type | xEnd () const |
+virtual real_type | yEnd () const |
+virtual real_type | xBegin_ISO (real_type offs) const |
+virtual real_type | yBegin_ISO (real_type offs) const |
+virtual real_type | xEnd_ISO (real_type offs) const |
+virtual real_type | yEnd_ISO (real_type offs) const |
+real_type | xBegin_SAE (real_type offs) const |
+real_type | yBegin_SAE (real_type offs) const |
+real_type | xEnd_SAE (real_type offs) const |
+real_type | yEnd_SAE (real_type offs) const |
+virtual real_type | tx_End () const |
+virtual real_type | ty_End () const |
+virtual real_type | nx_End_ISO () const |
+virtual real_type | ny_End_ISO () const |
+real_type | nx_Begin_SAE () const |
+real_type | ny_Begin_SAE () const |
+real_type | nx_End_SAE () const |
+real_type | ny_End_SAE () const |
+real_type | kappa (real_type s) const |
+real_type | kappa_D (real_type s) const |
+real_type | kappa_DD (real_type s) const |
+real_type | nx_ISO (real_type s) const |
+real_type | nx_ISO_D (real_type s) const |
+real_type | nx_ISO_DD (real_type s) const |
+real_type | nx_ISO_DDD (real_type s) const |
+real_type | ny_ISO (real_type s) const |
+real_type | ny_ISO_D (real_type s) const |
+real_type | ny_ISO_DD (real_type s) const |
+real_type | ny_ISO_DDD (real_type s) const |
+real_type | nx_SAE (real_type s) const |
+real_type | nx_SAE_D (real_type s) const |
+real_type | nx_SAE_DD (real_type s) const |
+real_type | nx_SAE_DDD (real_type s) const |
+real_type | ny_SAE (real_type s) const |
+real_type | ny_SAE_D (real_type s) const |
+real_type | ny_SAE_DD (real_type s) const |
+real_type | ny_SAE_DDD (real_type s) const |
+void | nor_ISO (real_type s, real_type &nx, real_type &ny) const |
+void | nor_ISO_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_ISO_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_ISO_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+void | nor_SAE (real_type s, real_type &nx, real_type &ny) const |
+void | nor_SAE_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_SAE_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_SAE_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+virtual void | evaluate_ISO (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual void | evaluate_SAE (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual real_type | X_ISO (real_type s, real_type offs) const |
+virtual real_type | Y_ISO (real_type s, real_type offs) const |
+virtual real_type | X_ISO_D (real_type s, real_type offs) const |
+virtual real_type | Y_ISO_D (real_type s, real_type offs) const |
+virtual real_type | X_ISO_DD (real_type s, real_type offs) const |
+virtual real_type | Y_ISO_DD (real_type s, real_type offs) const |
+virtual real_type | X_ISO_DDD (real_type s, real_type offs) const |
+virtual real_type | Y_ISO_DDD (real_type s, real_type offs) const |
+real_type | X_SAE (real_type s, real_type offs) const |
+real_type | Y_SAE (real_type s, real_type offs) const |
+real_type | X_SAE_D (real_type s, real_type offs) const |
+real_type | Y_SAE_D (real_type s, real_type offs) const |
+real_type | X_SAE_DD (real_type s, real_type offs) const |
+real_type | Y_SAE_DD (real_type s, real_type offs) const |
+real_type | X_SAE_DDD (real_type s, real_type offs) const |
+real_type | Y_SAE_DDD (real_type s, real_type offs) const |
virtual void | eval_ISO (real_type s, real_type offs, real_type &x, real_type &y) const |
void | eval_SAE (real_type s, real_type offs, real_type &x, real_type &y) const |
virtual void | eval_ISO_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
void | eval_SAE_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
virtual void | eval_ISO_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
void | eval_SAE_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
virtual void | eval_ISO_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
void | eval_SAE_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
+bool | collision (BaseCurve const &C) const |
+bool | collision_ISO (real_type offs, BaseCurve const &C, real_type offs_C) const |
+bool | collision_SAE (real_type offs, BaseCurve const &C, real_type offs_C) const |
+void | intersect (BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_SAE (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
+virtual real_type | distance (real_type qx, real_type qy) const |
+real_type | distance_ISO (real_type qx, real_type qy, real_type offs) const |
+real_type | distance_SAE (real_type qx, real_type qy, real_type offs) const |
+bool | findST_ISO (real_type x, real_type y, real_type &s, real_type &t) const |
+bool | findST_SAE (real_type x, real_type y, real_type &s, real_type &t) const |
+Protected Attributes | |
+CurveType | m_type |
+Friends | |
+class | Biarc |
+class | ClothoidCurve |
+ostream_type & | operator<< (ostream_type &stream, CircleArc const &c) |
Class to manage Clothoid Curve.
+
+
|
+ +virtual | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute the bounding box of the curve with offset
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +virtualinherited | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +virtualinherited | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
Reimplemented in G2lib::LineSegment, G2lib::PolyLine, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +virtualinherited | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +virtualinherited | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
Reimplemented in G2lib::PolyLine, G2lib::LineSegment, G2lib::ClothoidList, G2lib::ClothoidCurve, G2lib::BiarcList, and G2lib::Biarc.
+ +
+
|
+ +inlineinherited | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
+
|
+ +inlineinherited | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
+
|
+ +inlineinherited | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
+
|
+ +inlineinherited | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
+
|
+ +inlinevirtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
+
|
+ +inlineinherited | +
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+void | tic () |
+void | toc () |
+real_type | elapsed_s () const |
+real_type | elapsed_ms () const |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+void | setup (int nthreads) |
+void | count_down () |
+void | wait () |
+void | count_down_and_wait () |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Class to manage Triangle for BB of clothoid curve. + More...
+ +#include <Triangle2D.hxx>
+Public Member Functions | |
+ | Triangle2D (Triangle2D const &t) |
+ | Triangle2D (real_type x1, real_type y1, real_type x2, real_type y2, real_type x3, real_type y3, real_type s0, real_type s1, int_type icurve) |
+ | Triangle2D (real_type const p1[2], real_type const p2[2], real_type const p3[2], real_type s0, real_type s1, int_type icurve) |
+Triangle2D const & | operator= (Triangle2D const &t) |
+void | build (real_type const p1[2], real_type const p2[2], real_type const p3[2], real_type s0, real_type s1, int_type icurve) |
+void | build (real_type x1, real_type y1, real_type x2, real_type y2, real_type x3, real_type y3, real_type s0, real_type s1, int_type icurve) |
+int_type | Icurve () const |
+real_type | x1 () const |
+real_type | y1 () const |
+real_type | x2 () const |
+real_type | y2 () const |
+real_type | x3 () const |
+real_type | y3 () const |
+real_type | S0 () const |
+real_type | S1 () const |
+void | translate (real_type tx, real_type ty) |
+void | rotate (real_type angle, real_type cx, real_type cy) |
+void | scale (real_type sc) |
+void | bbox (real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const |
+real_type | baricenterX () const |
+real_type | baricenterY () const |
+real_type const * | P1 () const |
+real_type const * | P2 () const |
+real_type const * | P3 () const |
+bool | overlap (Triangle2D const &) const |
int_type | isCounterClockwise () const |
int_type | isInside (real_type x, real_type y) const |
+int_type | isInside (real_type const pt[2]) const |
+real_type | distMin (real_type x, real_type y) const |
+real_type | distMax (real_type x, real_type y) const |
+void | info (ostream_type &stream) const |
+Friends | |
+ostream_type & | operator<< (ostream_type &stream, Triangle2D const &c) |
Class to manage Triangle for BB of clothoid curve.
+
+
|
+ +inline | +
return +1 = CounterClockwise return -1 = Clockwise return 0 = degenerate triangle
+ +
+
|
+ +inline | +
return +1 = inside return -1 = outside return 0 = on the border
+ ++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+ | Runtime_TraceError (std::string const &reason, char const file[], int line) |
+virtual const char * | what () const noexcept override |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for PolynomialRoots::Quadratic, including all inherited members.
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::ClothoidList, including all inherited members.
+BaseCurve(CurveType const &type) (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
bbox(real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::ClothoidList | inlinevirtual |
bbox_ISO(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::ClothoidList | virtual |
bbox_SAE(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const | G2lib::BaseCurve | inline |
bbTriangles(std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
bbTriangles_ISO(real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
bbTriangles_SAE(real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
build(real_type x0, real_type y0, real_type theta0, int_type n, real_type const s[], real_type const kappa[]) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
build(real_type x0, real_type y0, real_type theta0, vector< real_type > const &s, vector< real_type > const &kappa) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
build_AABBtree_ISO(real_type offs, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
build_G1(int_type n, real_type const x[], real_type const y[]) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
build_G1(int_type n, real_type const x[], real_type const y[], real_type const theta[]) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
build_raw(int_type n, real_type const x[], real_type const y[], real_type const abscissa[], real_type const theta[], real_type const kappa[]) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
build_raw(vector< real_type > const &x, vector< real_type > const &y, vector< real_type > const &abscissa, vector< real_type > const &theta, vector< real_type > const &kappa) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
changeOrigin(real_type newx0, real_type newy0) UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
closestPoint_ISO(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::ClothoidList | virtual |
closestPoint_ISO(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::ClothoidList | virtual |
closestPoint_SAE(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
closestPoint_SAE(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
closestPointInRange_ISO(real_type qx, real_type qy, int_type icurve_begin, int_type icurve_end, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst, int_type &icurve) const | G2lib::ClothoidList | |
closestPointInRange_SAE(real_type qx, real_type qy, int_type icurve_begin, int_type icurve_end, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst, int_type &icurve) const | G2lib::ClothoidList | inline |
closestPointInSRange_ISO(real_type qx, real_type qy, real_type s_begin, real_type s_end, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst, int_type &icurve) const | G2lib::ClothoidList | |
closestPointInSRange_SAE(real_type qx, real_type qy, int_type s_begin, int_type s_end, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst, int_type &icurve) const | G2lib::ClothoidList | inline |
closestSegment(real_type qx, real_type qy) const | G2lib::ClothoidList | |
closure_check(real_type tol_xy=1e-6, real_type tol_tg=1e-6) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
closure_gap_tx() const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
closure_gap_ty() const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
closure_gap_x() const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
closure_gap_y() const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
ClothoidList() (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
ClothoidList(ClothoidList const &s) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
ClothoidList(LineSegment const &LS) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | explicit |
ClothoidList(CircleArc const &C) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | explicit |
ClothoidList(Biarc const &B) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | explicit |
ClothoidList(BiarcList const &BL) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | explicit |
ClothoidList(ClothoidCurve const &CL) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | explicit |
ClothoidList(PolyLine const &PL) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | explicit |
ClothoidList(BaseCurve const &C) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | explicit |
collision(ClothoidList const &C) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
collision(BaseCurve const &C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_ISO(real_type offs, ClothoidList const &CL, real_type offs_C) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
collision_ISO(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_SAE(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
copy(ClothoidList const &L) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
distance(real_type qx, real_type qy) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
distance_ISO(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
distance_SAE(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
eval(real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
eval_D(real_type s, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
eval_DD(real_type s, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
eval_DDD(real_type s, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE | G2lib::ClothoidList | virtual |
eval_ISO_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE | G2lib::ClothoidList | virtual |
eval_ISO_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE | G2lib::ClothoidList | virtual |
eval_ISO_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE | G2lib::ClothoidList | virtual |
eval_SAE(real_type s, real_type offs, real_type &x, real_type &y) const | G2lib::BaseCurve | inline |
eval_SAE_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const | G2lib::BaseCurve | inline |
eval_SAE_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const | G2lib::BaseCurve | inline |
eval_SAE_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const | G2lib::BaseCurve | inline |
evaluate(real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
evaluate_ISO(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
evaluate_SAE(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
export_ruby(ostream_type &stream) const | G2lib::ClothoidList | |
export_table(ostream_type &stream) const | G2lib::ClothoidList | |
findAtS(real_type &s) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
findST1(real_type x, real_type y, real_type &s, real_type &t) const | G2lib::ClothoidList | |
findST1(int_type ibegin, int_type iend, real_type x, real_type y, real_type &s, real_type &t) const | G2lib::ClothoidList | |
findST_ISO(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
findST_SAE(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
get(int_type idx) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
getAtS(real_type s) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
getDeltaKappa(real_type deltaKappa[]) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
getDeltaTheta(real_type deltaTheta[]) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
getSK(real_type s[], real_type kappa[]) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
getSK(std::vector< real_type > &s, std::vector< real_type > &kappa) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
getSTK(real_type s[], real_type theta[], real_type kappa[]) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
getSTK(std::vector< real_type > &s, std::vector< real_type > &theta, std::vector< real_type > &kappa) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
getXY(real_type x[], real_type y[]) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
info(ostream_type &stream) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
init() (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
intersect(ClothoidList const &CL, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
intersect(BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_ISO(real_type offs, ClothoidList const &CL, real_type offs_obj, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
intersect_ISO(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_SAE(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
is_closed() const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
kappa(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappaBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
kappaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
length() const UTILS_OVERRIDE | G2lib::ClothoidList | virtual |
length_ISO(real_type offs) const UTILS_OVERRIDE | G2lib::ClothoidList | virtual |
length_SAE(real_type offs) const | G2lib::BaseCurve | inline |
m_type (defined in G2lib::BaseCurve) | G2lib::BaseCurve | protected |
make_closed() (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
make_open() (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
nor_ISO(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
numSegment() const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
nx_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
nx_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_End_ISO() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
nx_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
ny_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_End_ISO() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
ny_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
operator<< (defined in G2lib::ClothoidList) | G2lib::ClothoidList | friend |
operator=(ClothoidList const &s) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
push_back(LineSegment const &c) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
push_back(CircleArc const &c) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
push_back(Biarc const &c) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
push_back(BiarcList const &c) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
push_back(ClothoidCurve const &c) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
push_back(PolyLine const &c) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
push_back(real_type kappa0, real_type dkappa, real_type L) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
push_back(real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type dkappa, real_type L) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
push_back_G1(real_type x1, real_type y1, real_type theta1) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
push_back_G1(real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
reserve(int_type n) (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
reverse() UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
rotate(real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
scale(real_type sc) UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
segment_length(int_type nseg) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
segment_length_ISO(int_type nseg, real_type offs) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
segment_length_SAE(int_type nseg, real_type offs) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inline |
tg(real_type s, real_type &tg_x, real_type &tg_y) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
tg_D(real_type s, real_type &tg_x_D, real_type &tg_y_D) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
tg_DD(real_type s, real_type &tg_x_DD, real_type &tg_y_DD) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
tg_DDD(real_type s, real_type &tg_x_DDD, real_type &tg_y_DDD) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
theta(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
theta_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
theta_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
theta_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
thetaBegin() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
thetaEnd() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
translate(real_type tx, real_type ty) UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
trim(real_type s_begin, real_type s_end) UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
trim(real_type s_begin, real_type s_end, ClothoidList &newCL) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
tx(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
tx_Begin() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
tx_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
tx_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
tx_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
tx_End() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
ty(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
ty_Begin() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
ty_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
ty_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
ty_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
ty_End() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
type() const | G2lib::BaseCurve | inline |
wrap_in_range(real_type &s) const (defined in G2lib::ClothoidList) | G2lib::ClothoidList | |
X(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
X_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
X_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
X_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
X_ISO(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
X_ISO_D(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
X_ISO_DD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
X_ISO_DDD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
X_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xBegin() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
xBegin_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
xBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xEnd() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
xEnd_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
xEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
Y_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
Y_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
Y_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
Y_ISO(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
Y_ISO_D(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
Y_ISO_DD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
Y_ISO_DDD(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | virtual |
Y_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yBegin() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
yBegin_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
yBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yEnd() const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
yEnd_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
yEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
~BaseCurve() (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
~ClothoidList() UTILS_OVERRIDE (defined in G2lib::ClothoidList) | G2lib::ClothoidList | inlinevirtual |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Quartic polynomial class. + More...
+ +#include <PolynomialRoots.hh>
+Public Member Functions | |
+ | Quartic (valueType _a, valueType _b, valueType _c, valueType _d, valueType _e) |
void | setup (valueType _a, valueType _b, valueType _c, valueType _d, valueType _e) |
compute the roots of quartic polynomial \( a x^4 + b x^3 + c x^2 + d x + e \) More... | |
+indexType | numRoots () const |
number of found roots | |
+indexType | numRealRoots () const |
number of real roots | |
+indexType | numComplexRoots () const |
number of complex roots | |
indexType | getRealRoots (valueType r[]) const |
get the real roots More... | |
indexType | getPositiveRoots (valueType r[]) const |
get positive real roots More... | |
indexType | getNegativeRoots (valueType r[]) const |
get negative real roots More... | |
+valueType | real_root0 () const |
first real real | |
+valueType | real_root1 () const |
second real real | |
+valueType | real_root2 () const |
third real real | |
+valueType | real_root3 () const |
fourth real real | |
+complexType | root0 () const |
+complexType | root1 () const |
+complexType | root2 () const |
+complexType | root3 () const |
+void | getRoot0 (valueType &re, valueType &im) const |
+void | getRoot0 (complexType &r) const |
+void | getRoot1 (valueType &re, valueType &im) const |
+void | getRoot1 (complexType &r) const |
+void | getRoot2 (valueType &re, valueType &im) const |
+void | getRoot2 (complexType &r) const |
+void | getRoot3 (valueType &re, valueType &im) const |
+void | getRoot3 (complexType &r) const |
valueType | eval (valueType x) const |
evalute the quartic polynomial More... | |
complexType | eval (complexType const &x) const |
evalute the quartic polynomial More... | |
+void | info (std::ostream &s) const |
print info of the roots of the polynomial | |
+bool | check (std::ostream &s) const |
check tolerenace and quality of the computed roots | |
Quartic polynomial class.
+
+
|
+ +inline | +
evalute the quartic polynomial
+x | value where compute \( p(x) \), x complex |
+
|
+ +inline | +
evalute the quartic polynomial
+x | value where compute \( p(x) \), x complex |
indexType PolynomialRoots::Quartic::getNegativeRoots | +( | +valueType | +r[] | ) | +const | +
get negative real roots
+[out] | r | vector that will be filled with the real roots |
indexType PolynomialRoots::Quartic::getPositiveRoots | +( | +valueType | +r[] | ) | +const | +
get positive real roots
+[out] | r | vector that will be filled with the real roots |
indexType PolynomialRoots::Quartic::getRealRoots | +( | +valueType | +r[] | ) | +const | +
get the real roots
+[out] | r | vector that will be filled with the real roots |
+
|
+ +inline | +
compute the roots of quartic polynomial \( a x^4 + b x^3 + c x^2 + d x + e \)
+[in] | _a | coefficient of \( x^4 \) |
[in] | _b | coefficient of \( x^3 \) |
[in] | _c | coefficient of \( x^2 \) |
[in] | _d | coefficient of \( x \) |
[in] | _e | coefficient of \( x^0 \) |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Class to manage a straight segment. + More...
+ +#include <Line.hxx>
+Public Member Functions | |
+ | LineSegment (LineSegment const &s) |
+ | LineSegment (BaseCurve const &C) |
+ | LineSegment (real_type _x0, real_type _y0, real_type _theta0, real_type _L) |
construct a circle curve with the standard parameters | |
+void | copy (LineSegment const &c) |
+LineSegment const & | operator= (LineSegment const &s) |
virtual real_type | length () const UTILS_OVERRIDE |
virtual real_type | length_ISO (real_type) const UTILS_OVERRIDE |
virtual void | bbox (real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
virtual void | bbox_ISO (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
+virtual real_type | tx_Begin () const UTILS_OVERRIDE |
+virtual real_type | ty_Begin () const UTILS_OVERRIDE |
+virtual real_type | tx_End () const UTILS_OVERRIDE |
+virtual real_type | ty_End () const UTILS_OVERRIDE |
+virtual real_type | nx_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | ny_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | nx_End_ISO () const UTILS_OVERRIDE |
+virtual real_type | ny_End_ISO () const UTILS_OVERRIDE |
+virtual real_type | xBegin () const UTILS_OVERRIDE |
+virtual real_type | yBegin () const UTILS_OVERRIDE |
+virtual real_type | xEnd () const UTILS_OVERRIDE |
+virtual real_type | yEnd () const UTILS_OVERRIDE |
+virtual real_type | xBegin_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | yBegin_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | xEnd_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | yEnd_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | theta (real_type) const UTILS_OVERRIDE |
+virtual real_type | theta_D (real_type) const UTILS_OVERRIDE |
+virtual real_type | theta_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | theta_DDD (real_type) const UTILS_OVERRIDE |
+virtual real_type | tx (real_type) const UTILS_OVERRIDE |
+virtual real_type | ty (real_type) const UTILS_OVERRIDE |
+virtual real_type | tx_D (real_type) const UTILS_OVERRIDE |
+virtual real_type | ty_D (real_type) const UTILS_OVERRIDE |
+virtual real_type | tx_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | ty_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | tx_DDD (real_type) const UTILS_OVERRIDE |
+virtual real_type | ty_DDD (real_type) const UTILS_OVERRIDE |
+virtual void | tg (real_type, real_type &tx, real_type &ty) const UTILS_OVERRIDE |
+virtual void | tg_D (real_type, real_type &tx_D, real_type &ty_D) const UTILS_OVERRIDE |
+virtual void | tg_DD (real_type, real_type &tx_DD, real_type &ty_DD) const UTILS_OVERRIDE |
+virtual void | tg_DDD (real_type, real_type &tx_DDD, real_type &ty_DDD) const UTILS_OVERRIDE |
+virtual real_type | X (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y (real_type s) const UTILS_OVERRIDE |
+virtual real_type | X_D (real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_D (real_type) const UTILS_OVERRIDE |
+virtual real_type | X_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | X_DDD (real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_DDD (real_type) const UTILS_OVERRIDE |
+virtual void | eval (real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual void | eval_D (real_type, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
+virtual void | eval_DD (real_type, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
+virtual void | eval_DDD (real_type, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
+virtual real_type | X_ISO (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_D (real_type, real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_D (real_type, real_type) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_DD (real_type, real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_DD (real_type, real_type) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_DDD (real_type, real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_DDD (real_type, real_type) const UTILS_OVERRIDE |
virtual void | eval_ISO (real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE |
virtual void | eval_ISO_D (real_type, real_type, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
virtual void | eval_ISO_DD (real_type, real_type, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
virtual void | eval_ISO_DDD (real_type, real_type, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
+virtual void | translate (real_type tx, real_type ty) UTILS_OVERRIDE |
+virtual void | rotate (real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE |
+virtual void | reverse () UTILS_OVERRIDE |
+virtual void | changeOrigin (real_type newx0, real_type newy0) UTILS_OVERRIDE |
+virtual void | scale (real_type sc) UTILS_OVERRIDE |
+virtual void | trim (real_type s_begin, real_type s_end) UTILS_OVERRIDE |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
compute the point at minimum distance from a point [x,y] and the line segment More... | |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
+virtual void | info (ostream_type &stream) const UTILS_OVERRIDE |
+void | build (real_type x0, real_type y0, real_type theta0, real_type L) |
+void | build_2P (real_type _x0, real_type _y0, real_type _x1, real_type _y1) |
construct a clothoid with the standard parameters | |
+void | build_2P (real_type const p0[2], real_type const p1[2]) |
construct a clothoid with the standard parameters | |
+void | p1p2 (real_type p1[2], real_type p2[2]) const |
+bool | intersect (LineSegment const &S, real_type &s1, real_type &s2) const |
+bool | intersect_ISO (real_type offs, LineSegment const &S, real_type S_offs, real_type &s1, real_type &s2) const |
+void | intersect (LineSegment const &LS, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, LineSegment const &LS, real_type offs_LS, IntersectList &ilist, bool swap_s_vals) const |
+bool | collision (LineSegment const &S) const |
+bool | collision_ISO (real_type offs, LineSegment const &S, real_type S_offs) const |
+void | paramNURBS (int_type &n_knots, int_type &n_pnts) const |
+void | toNURBS (real_type knots[], real_type Poly[][3]) const |
+virtual void | toBS (real_type knots[], real_type Poly[][2]) const |
CurveType | type () const |
real_type | length_SAE (real_type offs) const |
void | bbox_SAE (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const |
+virtual real_type | thetaBegin () const |
+virtual real_type | thetaEnd () const |
+virtual real_type | kappaBegin () const |
+virtual real_type | kappaEnd () const |
+real_type | xBegin_SAE (real_type offs) const |
+real_type | yBegin_SAE (real_type offs) const |
+real_type | xEnd_SAE (real_type offs) const |
+real_type | yEnd_SAE (real_type offs) const |
+real_type | nx_Begin_SAE () const |
+real_type | ny_Begin_SAE () const |
+real_type | nx_End_SAE () const |
+real_type | ny_End_SAE () const |
+real_type | kappa (real_type s) const |
+real_type | kappa_D (real_type s) const |
+real_type | kappa_DD (real_type s) const |
+real_type | nx_ISO (real_type s) const |
+real_type | nx_ISO_D (real_type s) const |
+real_type | nx_ISO_DD (real_type s) const |
+real_type | nx_ISO_DDD (real_type s) const |
+real_type | ny_ISO (real_type s) const |
+real_type | ny_ISO_D (real_type s) const |
+real_type | ny_ISO_DD (real_type s) const |
+real_type | ny_ISO_DDD (real_type s) const |
+real_type | nx_SAE (real_type s) const |
+real_type | nx_SAE_D (real_type s) const |
+real_type | nx_SAE_DD (real_type s) const |
+real_type | nx_SAE_DDD (real_type s) const |
+real_type | ny_SAE (real_type s) const |
+real_type | ny_SAE_D (real_type s) const |
+real_type | ny_SAE_DD (real_type s) const |
+real_type | ny_SAE_DDD (real_type s) const |
+void | nor_ISO (real_type s, real_type &nx, real_type &ny) const |
+void | nor_ISO_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_ISO_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_ISO_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+void | nor_SAE (real_type s, real_type &nx, real_type &ny) const |
+void | nor_SAE_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_SAE_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_SAE_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+virtual void | evaluate (real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual void | evaluate_ISO (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual void | evaluate_SAE (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+real_type | X_SAE (real_type s, real_type offs) const |
+real_type | Y_SAE (real_type s, real_type offs) const |
+real_type | X_SAE_D (real_type s, real_type offs) const |
+real_type | Y_SAE_D (real_type s, real_type offs) const |
+real_type | X_SAE_DD (real_type s, real_type offs) const |
+real_type | Y_SAE_DD (real_type s, real_type offs) const |
+real_type | X_SAE_DDD (real_type s, real_type offs) const |
+real_type | Y_SAE_DDD (real_type s, real_type offs) const |
void | eval_SAE (real_type s, real_type offs, real_type &x, real_type &y) const |
void | eval_SAE_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
void | eval_SAE_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
void | eval_SAE_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
+bool | collision (BaseCurve const &C) const |
+bool | collision_ISO (real_type offs, BaseCurve const &C, real_type offs_C) const |
+bool | collision_SAE (real_type offs, BaseCurve const &C, real_type offs_C) const |
+void | intersect (BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_SAE (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
+virtual real_type | distance (real_type qx, real_type qy) const |
+real_type | distance_ISO (real_type qx, real_type qy, real_type offs) const |
+real_type | distance_SAE (real_type qx, real_type qy, real_type offs) const |
+bool | findST_ISO (real_type x, real_type y, real_type &s, real_type &t) const |
+bool | findST_SAE (real_type x, real_type y, real_type &s, real_type &t) const |
+Protected Attributes | |
+CurveType | m_type |
+Friends | |
+class | CircleArc |
+class | PolyLine |
+class | ClothoidCurve |
+ostream_type & | operator<< (ostream_type &stream, LineSegment const &c) |
Class to manage a straight segment.
+
+
|
+ +virtual | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute the bounding box of the curve with offset
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
+
|
+ +virtual | +
compute the point at minimum distance from a point [x,y]
and the line segment
qx | x-coordinate |
qy | y-coordinate |
x | x-coordinate of the closest point |
y | y-coordinate of the closest point |
s | param of the closest point |
t | signed distance if projection is orthogonal to segment |
dst | signed distance from the segment |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +inlinevirtual | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
+
|
+ +inlineinherited | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
+
|
+ +inlineinherited | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
+
|
+ +inlineinherited | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
+
|
+ +inlinevirtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
+
|
+ +inlineinherited | +
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::Triangle2D, including all inherited members.
+baricenterX() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
baricenterY() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
bbox(real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
build(real_type const p1[2], real_type const p2[2], real_type const p3[2], real_type s0, real_type s1, int_type icurve) (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
build(real_type x1, real_type y1, real_type x2, real_type y2, real_type x3, real_type y3, real_type s0, real_type s1, int_type icurve) (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
distMax(real_type x, real_type y) const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | |
distMin(real_type x, real_type y) const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | |
Icurve() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
info(ostream_type &stream) const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
isCounterClockwise() const | G2lib::Triangle2D | inline |
isInside(real_type x, real_type y) const | G2lib::Triangle2D | inline |
isInside(real_type const pt[2]) const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
operator<< (defined in G2lib::Triangle2D) | G2lib::Triangle2D | friend |
operator=(Triangle2D const &t) (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
overlap(Triangle2D const &) const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | |
P1() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
P2() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
P3() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
rotate(real_type angle, real_type cx, real_type cy) (defined in G2lib::Triangle2D) | G2lib::Triangle2D | |
S0() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
S1() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
scale(real_type sc) (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
translate(real_type tx, real_type ty) (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
Triangle2D(Triangle2D const &t) (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
Triangle2D() (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
Triangle2D(real_type x1, real_type y1, real_type x2, real_type y2, real_type x3, real_type y3, real_type s0, real_type s1, int_type icurve) (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
Triangle2D(real_type const p1[2], real_type const p2[2], real_type const p3[2], real_type s0, real_type s1, int_type icurve) (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
x1() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
x2() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
x3() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
y1() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
y2() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
y3() const (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
~Triangle2D() (defined in G2lib::Triangle2D) | G2lib::Triangle2D | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Member Functions | |
+void | clear () |
+DATA * | search (std::thread::id const &id, bool &ok) const |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Cubic polynomial class. + More...
+ +#include <PolynomialRoots.hh>
+Public Member Functions | |
+ | Cubic (valueType _a, valueType _b, valueType _c, valueType _d) |
void | setup (valueType _a, valueType _b, valueType _c, valueType _d) |
compute the roots of cubic polynomial \( a x^3 + b x^2 + c x + d \) More... | |
+indexType | numRoots () const |
number of found roots | |
+bool | complexRoots () const |
has complex roots? | |
+bool | doubleRoot () const |
has a double root? | |
+bool | tripleRoot () const |
has a triple root? | |
indexType | getRealRoots (valueType r[]) const |
get the real roots More... | |
indexType | getPositiveRoots (valueType r[]) const |
get positive real roots More... | |
indexType | getNegativeRoots (valueType r[]) const |
get negative real roots More... | |
+valueType | real_root0 () const |
first real real | |
+valueType | real_root1 () const |
second real real | |
+valueType | real_root2 () const |
third real real | |
+complexType | root0 () const |
+complexType | root1 () const |
+complexType | root2 () const |
+void | getRoot0 (valueType &re, valueType &im) const |
+void | getRoot0 (complexType &r) const |
+void | getRoot1 (valueType &re, valueType &im) const |
+void | getRoot1 (complexType &r) const |
+void | getRoot2 (valueType &re, valueType &im) const |
+void | getRoot2 (complexType &r) const |
valueType | eval (valueType x) const |
evalute the cubic polynomial More... | |
complexType | eval (complexType const &x) const |
evalute the cubic polynomial More... | |
void | eval (valueType x, valueType &p, valueType &dp) const |
evalute the polynomial with its derivative More... | |
+void | info (std::ostream &s) const |
print info of the roots of the polynomial | |
+bool | check (std::ostream &s) const |
check tolerenace and quality of the computed roots | |
Cubic polynomial class.
+
+
|
+ +inline | +
evalute the cubic polynomial
+x | value where compute \( p(x) \), x complex |
+
|
+ +inline | +
evalute the cubic polynomial
+x | value where compute \( p(x) \) |
void PolynomialRoots::Cubic::eval | +( | +valueType | +x, | +
+ | + | valueType & | +p, | +
+ | + | valueType & | +dp | +
+ | ) | +const | +
evalute the polynomial with its derivative
+x | value where compute \( p(x) \) |
p | value \( p(x) \) |
dp | value \( p'(x) \) |
indexType PolynomialRoots::Cubic::getNegativeRoots | +( | +valueType | +r[] | ) | +const | +
get negative real roots
+[out] | r | vector that will be filled with the real roots |
indexType PolynomialRoots::Cubic::getPositiveRoots | +( | +valueType | +r[] | ) | +const | +
get positive real roots
+[out] | r | vector that will be filled with the real roots |
indexType PolynomialRoots::Cubic::getRealRoots | +( | +valueType | +r[] | ) | +const | +
get the real roots
+[out] | r | vector that will be filled with the real roots |
+
|
+ +inline | +
compute the roots of cubic polynomial \( a x^3 + b x^2 + c x + d \)
+[in] | _a | coefficient of \( x^3 \) |
[in] | _b | coefficient of \( x^2 \) |
[in] | _c | coefficient of \( x \) |
[in] | _d | coefficient of \( x^0 \) |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::G2solve2arc, including all inherited members.
+build(real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type x1, real_type y1, real_type theta1, real_type kappa1) (defined in G2lib::G2solve2arc) | G2lib::G2solve2arc | |
G2solve2arc() (defined in G2lib::G2solve2arc) | G2lib::G2solve2arc | inline |
getS0() const (defined in G2lib::G2solve2arc) | G2lib::G2solve2arc | inline |
getS1() const (defined in G2lib::G2solve2arc) | G2lib::G2solve2arc | inline |
setMaxIter(int tol) (defined in G2lib::G2solve2arc) | G2lib::G2solve2arc | |
setTolerance(real_type tol) (defined in G2lib::G2solve2arc) | G2lib::G2solve2arc | |
solve() (defined in G2lib::G2solve2arc) | G2lib::G2solve2arc | |
~G2solve2arc() (defined in G2lib::G2solve2arc) | G2lib::G2solve2arc | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::Runtime_TraceError, including all inherited members.
+Runtime_TraceError(std::string const &reason, char const file[], int line) (defined in Utils::Runtime_TraceError) | Utils::Runtime_TraceError | inlineexplicit |
what() const noexcept override (defined in Utils::Runtime_TraceError) | Utils::Runtime_TraceError | virtual |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for PolynomialRoots::Quartic, including all inherited members.
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
computation of the G2 fitting with 2 clothoid arc + More...
+ +#include <ClothoidList.hxx>
+Public Member Functions | |
+int | build (real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type x1, real_type y1, real_type theta1, real_type kappa1) |
+void | setTolerance (real_type tol) |
+void | setMaxIter (int tol) |
+int | solve () |
+ClothoidCurve const & | getS0 () const |
+ClothoidCurve const & | getS1 () const |
computation of the G2 fitting with 2 clothoid arc
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
computation of the G2 fitting with 2 clothoid and one line segment + More...
+ +#include <ClothoidList.hxx>
+Public Member Functions | |
+int | build (real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type x1, real_type y1, real_type theta1, real_type kappa1) |
+void | setTolerance (real_type tol) |
+void | setMaxIter (int tol) |
+int | solve () |
+ClothoidCurve const & | getS0 () const |
+ClothoidCurve const & | getSM () const |
+ClothoidCurve const & | getS1 () const |
computation of the G2 fitting with 2 clothoid and one line segment
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::BinarySearch< DATA >, including all inherited members.
+BinarySearch() (defined in Utils::BinarySearch< DATA >) | Utils::BinarySearch< DATA > | inline |
clear() (defined in Utils::BinarySearch< DATA >) | Utils::BinarySearch< DATA > | inline |
search(std::thread::id const &id, bool &ok) const (defined in Utils::BinarySearch< DATA >) | Utils::BinarySearch< DATA > | inline |
~BinarySearch() (defined in Utils::BinarySearch< DATA >) | Utils::BinarySearch< DATA > | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::WaitWorker, including all inherited members.
+enter() (defined in Utils::WaitWorker) | Utils::WaitWorker | inline |
leave() (defined in Utils::WaitWorker) | Utils::WaitWorker | inline |
wait() (defined in Utils::WaitWorker) | Utils::WaitWorker | inline |
WaitWorker() (defined in Utils::WaitWorker) | Utils::WaitWorker | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Class to manage Clothoid Curve. + More...
+ +#include <Clothoid.hxx>
+Public Member Functions | |
+ | ClothoidCurve (ClothoidCurve const &s) |
+ | ClothoidCurve (real_type _x0, real_type _y0, real_type _theta0, real_type _k, real_type _dk, real_type _L) |
construct a clothoid with the standard parameters | |
+ | ClothoidCurve (real_type const P0[], real_type theta0, real_type const P1[], real_type theta1) |
construct a clothoid by solving the hermite G1 problem | |
+void | copy (ClothoidCurve const &c) |
+ | ClothoidCurve (LineSegment const &LS) |
+ | ClothoidCurve (CircleArc const &C) |
+ | ClothoidCurve (BaseCurve const &C) |
+ClothoidCurve const & | operator= (ClothoidCurve const &s) |
+void | build (real_type _x0, real_type _y0, real_type _theta0, real_type _k, real_type _dk, real_type _L) |
construct a clothoid with the standard parameters | |
int | build_G1 (real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1, real_type tol=1e-12) |
build a clothoid by solving the hermite G1 problem More... | |
int | build_G1_D (real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1, real_type L_D[2], real_type k_D[2], real_type dk_D[2], real_type tol=1e-12) |
build a clothoid by solving the hermite G1 problem More... | |
bool | build_forward (real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type x1, real_type y1, real_type tol=1e-12) |
build a clothoid by solving the forward problem More... | |
void | build (LineSegment const &LS) |
build a clothoid from a line segment More... | |
void | build (CircleArc const &C) |
build a clothoid from a line segment More... | |
+void | Pinfinity (real_type &x, real_type &y, bool plus=true) const |
+real_type | dkappa () const |
real_type | thetaTotalVariation () const |
+real_type | thetaMinMax (real_type &thMin, real_type &thMax) const |
real_type | deltaTheta () const |
+real_type | curvatureMinMax (real_type &kMin, real_type &kMax) const |
real_type | curvatureTotalVariation () const |
+real_type | integralCurvature2 () const |
+real_type | integralJerk2 () const |
+real_type | integralSnap2 () const |
void | optimized_sample_ISO (real_type offs, int_type npts, real_type max_angle, std::vector< real_type > &s) const |
+void | optimized_sample_SAE (real_type offs, int_type npts, real_type max_angle, std::vector< real_type > &s) const |
real_type | closestPointBySample (real_type ds, real_type qx, real_type qy, real_type &X, real_type &Y, real_type &S) const |
Compute the point on clothoid at minimal distance from a given point. More... | |
+real_type | distanceBySample (real_type ds, real_type qx, real_type qy, real_type &S) const |
+real_type | distanceBySample (real_type ds, real_type qx, real_type qy) const |
+bool | bbTriangle (real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const |
get the triangle bounding box (if angle variation less that pi/2) | |
+bool | bbTriangle_ISO (real_type offs, real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const |
get the triangle bounding box (if angle variation less that pi/2) | |
+bool | bbTriangle_SAE (real_type offs, real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const |
get the triangle bounding box (if angle variation less that pi/2) | |
+bool | bbTriangle (Triangle2D &t, int_type icurve=0) const |
+bool | bbTriangle_ISO (real_type offs, Triangle2D &t, int_type icurve=0) const |
+bool | bbTriangle_SAE (real_type offs, Triangle2D &t, int_type icurve=0) const |
+void | bbTriangles_ISO (real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100, int_type icurve=0) const |
+void | bbTriangles_SAE (real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100, int_type icurve=0) const |
+void | bbTriangles (std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100, int_type icurve=0) const |
virtual void | bbox (real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
virtual void | bbox_ISO (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
virtual real_type | length () const UTILS_OVERRIDE |
virtual real_type | length_ISO (real_type) const UTILS_OVERRIDE |
+virtual real_type | thetaBegin () const UTILS_OVERRIDE |
+virtual real_type | thetaEnd () const UTILS_OVERRIDE |
+virtual real_type | xBegin () const UTILS_OVERRIDE |
+virtual real_type | xEnd () const UTILS_OVERRIDE |
+virtual real_type | yBegin () const UTILS_OVERRIDE |
+virtual real_type | yEnd () const UTILS_OVERRIDE |
+virtual real_type | tx_Begin () const UTILS_OVERRIDE |
+virtual real_type | ty_Begin () const UTILS_OVERRIDE |
+virtual real_type | nx_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | ny_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | tx (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_DDD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_DDD (real_type s) const UTILS_OVERRIDE |
+virtual void | tg (real_type s, real_type &tx, real_type &ty) const UTILS_OVERRIDE |
+virtual void | tg_D (real_type s, real_type &tx_D, real_type &ty_D) const UTILS_OVERRIDE |
+virtual void | tg_DD (real_type s, real_type &tx_DD, real_type &ty_DD) const UTILS_OVERRIDE |
+virtual void | tg_DDD (real_type s, real_type &tx_DDD, real_type &ty_DDD) const UTILS_OVERRIDE |
real_type | theta (real_type s) const UTILS_OVERRIDE |
get clothoid angle at curvilinear cooordinate s More... | |
real_type | theta_D (real_type s) const UTILS_OVERRIDE |
get clothoid angle derivative (=curvature) at curvilinear cooordinate s More... | |
real_type | theta_DD (real_type) const UTILS_OVERRIDE |
get clothoid angle second derivative at curvilinear cooordinate s More... | |
real_type | theta_DDD (real_type) const UTILS_OVERRIDE |
get clothoid angle third derivative at curvilinear cooordinate s More... | |
real_type | X (real_type s) const UTILS_OVERRIDE |
clothoid X coordinate at curvilinear coordinate s More... | |
+real_type | X_D (real_type s) const UTILS_OVERRIDE |
+real_type | X_DD (real_type s) const UTILS_OVERRIDE |
+real_type | X_DDD (real_type s) const UTILS_OVERRIDE |
real_type | Y (real_type s) const UTILS_OVERRIDE |
clothoid Y coordinate at curvilinear coordinate s More... | |
+real_type | Y_D (real_type s) const UTILS_OVERRIDE |
+real_type | Y_DD (real_type s) const UTILS_OVERRIDE |
+real_type | Y_DDD (real_type s) const UTILS_OVERRIDE |
real_type | X_ISO (real_type s, real_type offs) const UTILS_OVERRIDE |
clothoid X coordinate at curvilinear coordinate s More... | |
+real_type | X_ISO_D (real_type s, real_type offs) const UTILS_OVERRIDE |
+real_type | X_ISO_DD (real_type s, real_type offs) const UTILS_OVERRIDE |
+real_type | X_ISO_DDD (real_type s, real_type offs) const UTILS_OVERRIDE |
real_type | Y_ISO (real_type s, real_type offs) const UTILS_OVERRIDE |
clothoid Y coordinate at curvilinear coordinate s More... | |
+real_type | Y_ISO_D (real_type s, real_type offs) const UTILS_OVERRIDE |
+real_type | Y_ISO_DD (real_type s, real_type offs) const UTILS_OVERRIDE |
+real_type | Y_ISO_DDD (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual void | eval (real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual void | eval_D (real_type s, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
+virtual void | eval_DD (real_type s, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
+virtual void | eval_DDD (real_type s, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
virtual void | eval_ISO (real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE |
virtual void | eval_ISO_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
virtual void | eval_ISO_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
virtual void | eval_ISO_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
+virtual void | translate (real_type tx, real_type ty) UTILS_OVERRIDE |
+virtual void | rotate (real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE |
+virtual void | scale (real_type s) UTILS_OVERRIDE |
+virtual void | reverse () UTILS_OVERRIDE |
+virtual void | changeOrigin (real_type newx0, real_type newy0) UTILS_OVERRIDE |
+virtual void | trim (real_type s_begin, real_type s_end) UTILS_OVERRIDE |
+void | changeCurvilinearOrigin (real_type s0, real_type newL) |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
+void | build_AABBtree_ISO (real_type offs, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100) const |
bool | approximate_collision_ISO (real_type offs, ClothoidCurve const &c, real_type c_offs, real_type max_angle, real_type max_size) const |
+bool | collision (ClothoidCurve const &C) const |
+bool | collision_ISO (real_type offs, ClothoidCurve const &C, real_type offs_C) const |
+void | intersect (ClothoidCurve const &C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, ClothoidCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
+void | info (ostream_type &stream) const UTILS_OVERRIDE |
CurveType | type () const |
real_type | length_SAE (real_type offs) const |
void | bbox_SAE (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const |
+virtual real_type | kappaBegin () const |
+virtual real_type | kappaEnd () const |
+virtual real_type | xBegin_ISO (real_type offs) const |
+virtual real_type | yBegin_ISO (real_type offs) const |
+virtual real_type | xEnd_ISO (real_type offs) const |
+virtual real_type | yEnd_ISO (real_type offs) const |
+real_type | xBegin_SAE (real_type offs) const |
+real_type | yBegin_SAE (real_type offs) const |
+real_type | xEnd_SAE (real_type offs) const |
+real_type | yEnd_SAE (real_type offs) const |
+virtual real_type | tx_End () const |
+virtual real_type | ty_End () const |
+virtual real_type | nx_End_ISO () const |
+virtual real_type | ny_End_ISO () const |
+real_type | nx_Begin_SAE () const |
+real_type | ny_Begin_SAE () const |
+real_type | nx_End_SAE () const |
+real_type | ny_End_SAE () const |
+real_type | kappa (real_type s) const |
+real_type | kappa_D (real_type s) const |
+real_type | kappa_DD (real_type s) const |
+real_type | nx_ISO (real_type s) const |
+real_type | nx_ISO_D (real_type s) const |
+real_type | nx_ISO_DD (real_type s) const |
+real_type | nx_ISO_DDD (real_type s) const |
+real_type | ny_ISO (real_type s) const |
+real_type | ny_ISO_D (real_type s) const |
+real_type | ny_ISO_DD (real_type s) const |
+real_type | ny_ISO_DDD (real_type s) const |
+real_type | nx_SAE (real_type s) const |
+real_type | nx_SAE_D (real_type s) const |
+real_type | nx_SAE_DD (real_type s) const |
+real_type | nx_SAE_DDD (real_type s) const |
+real_type | ny_SAE (real_type s) const |
+real_type | ny_SAE_D (real_type s) const |
+real_type | ny_SAE_DD (real_type s) const |
+real_type | ny_SAE_DDD (real_type s) const |
+void | nor_ISO (real_type s, real_type &nx, real_type &ny) const |
+void | nor_ISO_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_ISO_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_ISO_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+void | nor_SAE (real_type s, real_type &nx, real_type &ny) const |
+void | nor_SAE_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_SAE_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_SAE_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+virtual void | evaluate (real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual void | evaluate_ISO (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual void | evaluate_SAE (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+real_type | X_SAE (real_type s, real_type offs) const |
+real_type | Y_SAE (real_type s, real_type offs) const |
+real_type | X_SAE_D (real_type s, real_type offs) const |
+real_type | Y_SAE_D (real_type s, real_type offs) const |
+real_type | X_SAE_DD (real_type s, real_type offs) const |
+real_type | Y_SAE_DD (real_type s, real_type offs) const |
+real_type | X_SAE_DDD (real_type s, real_type offs) const |
+real_type | Y_SAE_DDD (real_type s, real_type offs) const |
void | eval_SAE (real_type s, real_type offs, real_type &x, real_type &y) const |
void | eval_SAE_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
void | eval_SAE_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
void | eval_SAE_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
+bool | collision (BaseCurve const &C) const |
+bool | collision_ISO (real_type offs, BaseCurve const &C, real_type offs_C) const |
+bool | collision_SAE (real_type offs, BaseCurve const &C, real_type offs_C) const |
+void | intersect (BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_SAE (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
+virtual real_type | distance (real_type qx, real_type qy) const |
+real_type | distance_ISO (real_type qx, real_type qy, real_type offs) const |
+real_type | distance_SAE (real_type qx, real_type qy, real_type offs) const |
+bool | findST_ISO (real_type x, real_type y, real_type &s, real_type &t) const |
+bool | findST_SAE (real_type x, real_type y, real_type &s, real_type &t) const |
+Protected Attributes | |
+CurveType | m_type |
+Friends | |
+class | ClothoidList |
+ostream_type & | operator<< (ostream_type &stream, ClothoidCurve const &c) |
Class to manage Clothoid Curve.
+bool G2lib::ClothoidCurve::approximate_collision_ISO | +( | +real_type | +offs, | +
+ | + | ClothoidCurve const & | +c, | +
+ | + | real_type | +c_offs, | +
+ | + | real_type | +max_angle, | +
+ | + | real_type | +max_size | +
+ | ) | +const | +
max_angle | maximum angle variation |
max_size | curve offset |
+
|
+ +inlinevirtual | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute the bounding box of the curve with offset
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
+
|
+ +inline | +
build a clothoid from a line segment
+C | line segment object |
+
|
+ +inline | +
build a clothoid from a line segment
+LS | line segment object |
+
|
+ +inline | +
build a clothoid by solving the forward problem
+x0 | initial x position \( x_0 \) |
y0 | initial y position \( y_0 \) |
theta0 | initial angle \( \theta_0 \) |
kappa0 | initial curvature \( \kappa_0 \) |
x1 | final x position \( x_1 \) |
y1 | final y position \( y_1 \) |
+
|
+ +inline | +
build a clothoid by solving the hermite G1 problem
+x0 | initial x position \( x_0 \) |
y0 | initial y position \( y_0 \) |
theta0 | initial angle \( \theta_0 \) |
x1 | final x position \( x_1 \) |
y1 | final y position \( y_1 \) |
theta1 | final angle \( \theta_1 \) |
+
|
+ +inline | +
build a clothoid by solving the hermite G1 problem
+x0 | initial x position \( x_0 \) |
y0 | initial y position \( y_0 \) |
theta0 | initial angle \( \theta_0 \) |
x1 | final x position \( x_1 \) |
y1 | final y position \( y_1 \) |
theta1 | final angle \( \theta_1 \) |
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
real_type G2lib::ClothoidCurve::closestPointBySample | +( | +real_type | +ds, | +
+ | + | real_type | +qx, | +
+ | + | real_type | +qy, | +
+ | + | real_type & | +X, | +
+ | + | real_type & | +Y, | +
+ | + | real_type & | +S | +
+ | ) | +const | +
Compute the point on clothoid at minimal distance from a given point.
+qx | x-coordinate of the given point |
qy | y-coordinate of the given point |
X | x-coordinate of the point on clothoid at minimal distance |
Y | y-coordinate of the point on clothoid at minimal distance |
S | curvilinear coordinate of the point (X,Y) on the clothoid |
real_type G2lib::ClothoidCurve::curvatureTotalVariation | +( | +) | +const | +
+
|
+ +inline | +
+
|
+ +inlinevirtual | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
+
|
+ +inlineinherited | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
+
|
+ +inlineinherited | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
+
|
+ +inlineinherited | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
+
|
+ +inlinevirtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
void G2lib::ClothoidCurve::optimized_sample_ISO | +( | +real_type | +offs, | +
+ | + | int_type | +npts, | +
+ | + | real_type | +max_angle, | +
+ | + | std::vector< real_type > & | +s | +
+ | ) | +const | +
Return a vector of optimized sample parameters
offs | offset of the sampled curve |
npts | suggested minimum number of sampled points |
max_angle | maximum angle variation between two sampled points |
s | vector of computed parameters |
+
|
+ +inlinevirtual | +
get clothoid angle at curvilinear cooordinate s
s | curvilinear cooordinate |
s
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
get clothoid angle derivative (=curvature) at curvilinear cooordinate s
s | curvilinear cooordinate |
s
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
get clothoid angle second derivative at curvilinear cooordinate s
s
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
get clothoid angle third derivative at curvilinear cooordinate s
s
Reimplemented from G2lib::BaseCurve.
+ +real_type G2lib::ClothoidCurve::thetaTotalVariation | +( | +) | +const | +
+
|
+ +inlineinherited | +
+
|
+ +inlinevirtual | +
clothoid X coordinate at curvilinear coordinate s
s | curvilinear coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
clothoid X coordinate at curvilinear coordinate s
s | curvilinear coordinate |
offs | lateral offset |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
clothoid Y coordinate at curvilinear coordinate s
s | curvilinear coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
clothoid Y coordinate at curvilinear coordinate s
s | curvilinear coordinate |
offs | lateral offset |
Reimplemented from G2lib::BaseCurve.
+ ++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::Barrier, including all inherited members.
+Barrier() (defined in Utils::Barrier) | Utils::Barrier | inline |
count_down() (defined in Utils::Barrier) | Utils::Barrier | inline |
count_down_and_wait() (defined in Utils::Barrier) | Utils::Barrier | inline |
setup(int nthreads) (defined in Utils::Barrier) | Utils::Barrier | inline |
wait() (defined in Utils::Barrier) | Utils::Barrier | inline |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
data storage for clothoid type curve + More...
+ +#include <Fresnel.hxx>
+Public Member Functions | |
+real_type | deltaTheta (real_type s) const |
+real_type | theta (real_type s) const |
return angle at curvilinear coordinate s | |
+real_type | theta_D (real_type s) const |
+real_type | theta_DD (real_type) const |
+real_type | theta_DDD (real_type) const |
+real_type | kappa (real_type s) const |
return curvature at curvilinear coordinate s | |
+real_type | kappa_D (real_type) const |
+real_type | kappa_DD (real_type) const |
+real_type | kappa_DDD (real_type) const |
+real_type | X (real_type s) const |
+real_type | Y (real_type s) const |
+real_type | X_D (real_type s) const |
+real_type | Y_D (real_type s) const |
+real_type | X_DD (real_type s) const |
+real_type | Y_DD (real_type s) const |
+real_type | X_DDD (real_type s) const |
+real_type | Y_DDD (real_type s) const |
+real_type | X_ISO (real_type s, real_type offs) const |
+real_type | Y_ISO (real_type s, real_type offs) const |
+real_type | X_ISO_D (real_type s, real_type offs) const |
+real_type | Y_ISO_D (real_type s, real_type offs) const |
+real_type | X_ISO_DD (real_type s, real_type offs) const |
+real_type | Y_ISO_DD (real_type s, real_type offs) const |
+real_type | X_ISO_DDD (real_type s, real_type offs) const |
+real_type | Y_ISO_DDD (real_type s, real_type offs) const |
+real_type | X_SAE (real_type s, real_type offs) const |
+real_type | Y_SAE (real_type s, real_type offs) const |
+real_type | X_SAE_D (real_type s, real_type offs) const |
+real_type | Y_SAE_D (real_type s, real_type offs) const |
+real_type | X_SAE_DD (real_type s, real_type offs) const |
+real_type | Y_SAE_DD (real_type s, real_type offs) const |
+real_type | X_SAE_DDD (real_type s, real_type offs) const |
+real_type | Y_SAE_DDD (real_type s, real_type offs) const |
+real_type | tg0_x () const |
+real_type | tg0_y () const |
+real_type | tg_x (real_type s) const |
+real_type | tg_y (real_type s) const |
+real_type | tg_x_D (real_type s) const |
+real_type | tg_y_D (real_type s) const |
+real_type | tg_x_DD (real_type s) const |
+real_type | tg_y_DD (real_type s) const |
+real_type | tg_x_DDD (real_type s) const |
+real_type | tg_y_DDD (real_type s) const |
+real_type | nor0_x_ISO () const |
+real_type | nor0_y_ISO () const |
+real_type | nor_x_ISO (real_type s) const |
+real_type | nor_y_ISO (real_type s) const |
+real_type | nor_x_ISO_D (real_type s) const |
+real_type | nor_y_ISO_D (real_type s) const |
+real_type | nor_x_ISO_DD (real_type s) const |
+real_type | nor_y_ISO_DD (real_type s) const |
+real_type | nor_x_ISO_DDD (real_type s) const |
+real_type | nor_y_ISO_DDD (real_type s) const |
+real_type | nor0_x_SAE () const |
+real_type | nor0_y_SAE () const |
+real_type | nor_x_SAE (real_type s) const |
+real_type | nor_y_SAE (real_type s) const |
+real_type | nor_x_SAE_D (real_type s) const |
+real_type | nor_y_SAE_D (real_type s) const |
+real_type | nor_x_SAE_DD (real_type s) const |
+real_type | nor_y_SAE_DD (real_type s) const |
+real_type | nor_x_SAE_DDD (real_type s) const |
+real_type | nor_y_SAE_DDD (real_type s) const |
+void | tg (real_type s, real_type &tx, real_type &ty) const |
+void | tg_D (real_type s, real_type &tx, real_type &ty) const |
+void | tg_DD (real_type s, real_type &tx, real_type &ty) const |
+void | tg_DDD (real_type s, real_type &tx, real_type &ty) const |
+void | nor_ISO (real_type s, real_type &nx, real_type &ny) const |
+void | nor_ISO_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_ISO_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_ISO_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+void | nor_SAE (real_type s, real_type &nx, real_type &ny) const |
+void | nor_SAE_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_SAE_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_SAE_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+void | evaluate (real_type s, real_type &theta, real_type &kappa, real_type &x, real_type &y) const |
+void | eval (real_type s, real_type &x, real_type &y) const |
+void | eval_D (real_type s, real_type &x_D, real_type &y_D) const |
+void | eval_DD (real_type s, real_type &x_DD, real_type &y_DD) const |
+void | eval_DDD (real_type s, real_type &x_DDD, real_type &y_DDD) const |
+void | eval_ISO (real_type s, real_type offs, real_type &x, real_type &y) const |
+void | eval_ISO_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
+void | eval_ISO_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
+void | eval_ISO_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
+void | eval_SAE (real_type s, real_type offs, real_type &x, real_type &y) const |
+void | eval_SAE_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
+void | eval_DAE_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
+void | eval_SAE_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
+void | eval (real_type s, ClothoidData &C) const |
+real_type | c0x () const |
+real_type | c0y () const |
+void | Pinfinity (real_type &x, real_type &y, bool plus) const |
+void | reverse (real_type L) |
+void | reverse (real_type L, ClothoidData &out) const |
+void | rotate (real_type angle, real_type cx, real_type cy) |
+void | origin_at (real_type s_origin) |
+real_type | split_at_flex (ClothoidData &C0, ClothoidData &C1) const |
+real_type | aplus (real_type dtheta) const |
+bool | bbTriangle (real_type L, real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const |
+bool | bbTriangle_ISO (real_type L, real_type offs, real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const |
+bool | bbTriangle_SAE (real_type L, real_type offs, real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const |
+int | build_G1 (real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1, real_type tol, real_type &L, bool compute_deriv=false, real_type L_D[2]=nullptr, real_type k_D[2]=nullptr, real_type dk_D[2]=nullptr) |
+bool | build_forward (real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type x1, real_type y1, real_type tol, real_type &L) |
+void | info (ostream_type &s) const |
+Public Attributes | |
+real_type | x0 |
initial x coordinate of the clothoid | |
+real_type | y0 |
initial y coordinate of the clothoid | |
+real_type | theta0 |
initial angle of the clothoid | |
+real_type | kappa0 |
initial curvature | |
+real_type | dk |
curvature derivative | |
data storage for clothoid type curve
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Allocate memory. + More...
+ +#include <Malloc.hxx>
+Public Types | |
+typedef T | valueType |
+Public Member Functions | |
+ | Malloc (std::string const &name) |
malloc object constructor | |
+ | ~Malloc () |
malloc object destructor | |
+void | allocate (size_t n) |
allocate memory for n objects | |
+void | free (void) |
free memory | |
+size_t | size (void) const |
number of objects allocated | |
+T * | operator() (size_t sz) |
get pointer of allocated memory for sz objets | |
+T * | malloc (size_t n) |
+bool | is_empty () const |
true if you cannot get more memory pointers | |
+void | must_be_empty (char const where[]) const |
return an error if memory is not complately used | |
Allocate memory.
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for GenericContainerNamespace::mat_type< TYPE >, including all inherited members.
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::LineSegment, including all inherited members.
+BaseCurve(CurveType const &type) (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
bbox(real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::LineSegment | virtual |
bbox_ISO(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::LineSegment | virtual |
bbox_SAE(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const | G2lib::BaseCurve | inline |
build(real_type x0, real_type y0, real_type theta0, real_type L) (defined in G2lib::LineSegment) | G2lib::LineSegment | inline |
build_2P(real_type _x0, real_type _y0, real_type _x1, real_type _y1) | G2lib::LineSegment | |
build_2P(real_type const p0[2], real_type const p1[2]) | G2lib::LineSegment | inline |
changeOrigin(real_type newx0, real_type newy0) UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
CircleArc (defined in G2lib::LineSegment) | G2lib::LineSegment | friend |
closestPoint_ISO(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::LineSegment | virtual |
closestPoint_ISO(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::LineSegment | virtual |
closestPoint_SAE(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
closestPoint_SAE(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
ClothoidCurve (defined in G2lib::LineSegment) | G2lib::LineSegment | friend |
collision(LineSegment const &S) const (defined in G2lib::LineSegment) | G2lib::LineSegment | |
collision(BaseCurve const &C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_ISO(real_type offs, LineSegment const &S, real_type S_offs) const (defined in G2lib::LineSegment) | G2lib::LineSegment | |
collision_ISO(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_SAE(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
copy(LineSegment const &c) (defined in G2lib::LineSegment) | G2lib::LineSegment | inline |
distance(real_type qx, real_type qy) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
distance_ISO(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
distance_SAE(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
eval(real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
eval_D(real_type, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
eval_DD(real_type, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
eval_DDD(real_type, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE | G2lib::LineSegment | inlinevirtual |
eval_ISO_D(real_type, real_type, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE | G2lib::LineSegment | inlinevirtual |
eval_ISO_DD(real_type, real_type, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE | G2lib::LineSegment | inlinevirtual |
eval_ISO_DDD(real_type, real_type, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE | G2lib::LineSegment | inlinevirtual |
eval_SAE(real_type s, real_type offs, real_type &x, real_type &y) const | G2lib::BaseCurve | inline |
eval_SAE_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const | G2lib::BaseCurve | inline |
eval_SAE_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const | G2lib::BaseCurve | inline |
eval_SAE_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const | G2lib::BaseCurve | inline |
evaluate(real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
evaluate_ISO(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
evaluate_SAE(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
findST_ISO(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
findST_SAE(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
info(ostream_type &stream) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
intersect(LineSegment const &S, real_type &s1, real_type &s2) const (defined in G2lib::LineSegment) | G2lib::LineSegment | |
intersect(LineSegment const &LS, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::LineSegment) | G2lib::LineSegment | inline |
intersect(BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_ISO(real_type offs, LineSegment const &S, real_type S_offs, real_type &s1, real_type &s2) const (defined in G2lib::LineSegment) | G2lib::LineSegment | |
intersect_ISO(real_type offs, LineSegment const &LS, real_type offs_LS, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::LineSegment) | G2lib::LineSegment | inline |
intersect_ISO(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_SAE(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappaBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
kappaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
length() const UTILS_OVERRIDE | G2lib::LineSegment | inlinevirtual |
length_ISO(real_type) const UTILS_OVERRIDE | G2lib::LineSegment | inlinevirtual |
length_SAE(real_type offs) const | G2lib::BaseCurve | inline |
LineSegment() (defined in G2lib::LineSegment) | G2lib::LineSegment | inline |
LineSegment(LineSegment const &s) (defined in G2lib::LineSegment) | G2lib::LineSegment | inline |
LineSegment(BaseCurve const &C) (defined in G2lib::LineSegment) | G2lib::LineSegment | explicit |
LineSegment(real_type _x0, real_type _y0, real_type _theta0, real_type _L) | G2lib::LineSegment | inlineexplicit |
m_type (defined in G2lib::BaseCurve) | G2lib::BaseCurve | protected |
nor_ISO(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
nx_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_End_ISO() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
nx_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
ny_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_End_ISO() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
ny_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
operator<< (defined in G2lib::LineSegment) | G2lib::LineSegment | friend |
operator=(LineSegment const &s) (defined in G2lib::LineSegment) | G2lib::LineSegment | inline |
p1p2(real_type p1[2], real_type p2[2]) const (defined in G2lib::LineSegment) | G2lib::LineSegment | inline |
paramNURBS(int_type &n_knots, int_type &n_pnts) const (defined in G2lib::LineSegment) | G2lib::LineSegment | |
PolyLine (defined in G2lib::LineSegment) | G2lib::LineSegment | friend |
reverse() UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | virtual |
rotate(real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | virtual |
scale(real_type sc) UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
tg(real_type, real_type &tx, real_type &ty) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
tg_D(real_type, real_type &tx_D, real_type &ty_D) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
tg_DD(real_type, real_type &tx_DD, real_type &ty_DD) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
tg_DDD(real_type, real_type &tx_DDD, real_type &ty_DDD) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
theta(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
theta_D(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
theta_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
theta_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
thetaBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
thetaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
toBS(real_type knots[], real_type Poly[][2]) const (defined in G2lib::LineSegment) | G2lib::LineSegment | virtual |
toNURBS(real_type knots[], real_type Poly[][3]) const (defined in G2lib::LineSegment) | G2lib::LineSegment | |
translate(real_type tx, real_type ty) UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
trim(real_type s_begin, real_type s_end) UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
tx(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
tx_Begin() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
tx_D(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
tx_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
tx_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
tx_End() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
ty(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
ty_Begin() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
ty_D(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
ty_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
ty_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
ty_End() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
type() const | G2lib::BaseCurve | inline |
X(real_type s) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
X_D(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
X_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
X_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
X_ISO(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
X_ISO_D(real_type, real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
X_ISO_DD(real_type, real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
X_ISO_DDD(real_type, real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
X_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xBegin() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
xBegin_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
xBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xEnd() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
xEnd_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
xEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y(real_type s) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
Y_D(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
Y_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
Y_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
Y_ISO(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
Y_ISO_D(real_type, real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
Y_ISO_DD(real_type, real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
Y_ISO_DDD(real_type, real_type) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
Y_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yBegin() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
yBegin_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
yBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yEnd() const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
yEnd_ISO(real_type offs) const UTILS_OVERRIDE (defined in G2lib::LineSegment) | G2lib::LineSegment | inlinevirtual |
yEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
~BaseCurve() (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for Utils::Runtime_Error, including all inherited members.
+Runtime_Error(std::string const &reason, char const file[], int line) (defined in Utils::Runtime_Error) | Utils::Runtime_Error | inlineexplicit |
Runtime_Error(char const reason[], char const file[], int line) (defined in Utils::Runtime_Error) | Utils::Runtime_Error | inlineexplicit |
what() const noexcept override (defined in Utils::Runtime_Error) | Utils::Runtime_Error | virtual |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+Public Attributes | |
+rang::style | s |
+rang::fg | f |
+rang::bg | b |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::AABBtree, including all inherited members.
+AABBtree() (defined in G2lib::AABBtree) | G2lib::AABBtree | |
bbox(real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const (defined in G2lib::AABBtree) | G2lib::AABBtree | inline |
build(vector< PtrBBox > const &bboxes) | G2lib::AABBtree | |
clear() | G2lib::AABBtree | |
collision(AABBtree const &tree, COLLISION_fun ifun, bool swap_tree=false) const | G2lib::AABBtree | inline |
empty() const | G2lib::AABBtree | |
intersect(AABBtree const &tree, VecPairPtrBBox &intersectionList, bool swap_tree=false) const | G2lib::AABBtree | |
min_distance(real_type x, real_type y, VecPtrBBox &candidateList) const (defined in G2lib::AABBtree) | G2lib::AABBtree | |
PairPtrBBox typedef (defined in G2lib::AABBtree) | G2lib::AABBtree | |
print(ostream_type &stream, int level=0) const (defined in G2lib::AABBtree) | G2lib::AABBtree | |
PtrAABB typedef (defined in G2lib::AABBtree) | G2lib::AABBtree | |
PtrBBox typedef (defined in G2lib::AABBtree) | G2lib::AABBtree | |
VecPairPtrBBox typedef (defined in G2lib::AABBtree) | G2lib::AABBtree | |
VecPtrBBox typedef (defined in G2lib::AABBtree) | G2lib::AABBtree | |
~AABBtree() (defined in G2lib::AABBtree) | G2lib::AABBtree |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::ClothoidSplineG2, including all inherited members.
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Compute biarc fitting by Hemite data. + More...
+ +#include <Biarc.hxx>
+Public Member Functions | |
+ | Biarc (Biarc const &ba) |
+ | Biarc (real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1) |
construct a clothoid with the standard parameters | |
+ | Biarc (BaseCurve const &C) |
+void | copy (Biarc const &c) |
+Biarc const & | operator= (Biarc const &ba) |
+CircleArc const & | C0 () const |
+CircleArc const & | C1 () const |
+bool | build (real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1) |
construct a biarc with the standard parameters | |
bool | build_3P (real_type x0, real_type y0, real_type x1, real_type y1, real_type x2, real_type y2) |
construct a biarc by 3 point at "minimum energy" More... | |
virtual void | bbox (real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
virtual void | bbox_ISO (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
virtual real_type | length () const UTILS_OVERRIDE |
virtual real_type | length_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | thetaBegin () const UTILS_OVERRIDE |
+virtual real_type | thetaEnd () const UTILS_OVERRIDE |
+virtual real_type | xBegin () const UTILS_OVERRIDE |
+virtual real_type | xEnd () const UTILS_OVERRIDE |
+virtual real_type | yBegin () const UTILS_OVERRIDE |
+virtual real_type | yEnd () const UTILS_OVERRIDE |
+virtual real_type | tx_Begin () const UTILS_OVERRIDE |
+virtual real_type | tx_End () const UTILS_OVERRIDE |
+virtual real_type | ty_Begin () const UTILS_OVERRIDE |
+virtual real_type | ty_End () const UTILS_OVERRIDE |
+virtual real_type | nx_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | nx_End_ISO () const UTILS_OVERRIDE |
+virtual real_type | ny_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | ny_End_ISO () const UTILS_OVERRIDE |
+virtual real_type | theta (real_type s) const UTILS_OVERRIDE |
+virtual real_type | theta_D (real_type) const UTILS_OVERRIDE |
+virtual real_type | theta_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | theta_DDD (real_type) const UTILS_OVERRIDE |
+virtual void | evaluate (real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual real_type | X (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y (real_type s) const UTILS_OVERRIDE |
+virtual real_type | X_D (real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_D (real_type) const UTILS_OVERRIDE |
+virtual real_type | X_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_DD (real_type) const UTILS_OVERRIDE |
+virtual real_type | X_DDD (real_type) const UTILS_OVERRIDE |
+virtual real_type | Y_DDD (real_type) const UTILS_OVERRIDE |
+virtual real_type | X_ISO (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_D (real_type, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_D (real_type, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_DD (real_type, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_DD (real_type, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_DDD (real_type, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_DDD (real_type, real_type offs) const UTILS_OVERRIDE |
+virtual void | eval (real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual void | eval_D (real_type s, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
+virtual void | eval_DD (real_type s, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
+virtual void | eval_DDD (real_type s, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
virtual void | eval_ISO (real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE |
virtual void | eval_ISO_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
virtual void | eval_ISO_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
virtual void | eval_ISO_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
+virtual real_type | tx (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_DDD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_DDD (real_type s) const UTILS_OVERRIDE |
+virtual void | tg (real_type s, real_type &tx, real_type &ty) const UTILS_OVERRIDE |
+virtual void | tg_D (real_type s, real_type &tx_D, real_type &ty_D) const UTILS_OVERRIDE |
+virtual void | tg_DD (real_type s, real_type &tx_DD, real_type &ty_DD) const UTILS_OVERRIDE |
+virtual void | tg_DDD (real_type s, real_type &tx_DDD, real_type &ty_DDD) const UTILS_OVERRIDE |
+virtual void | translate (real_type tx, real_type ty) UTILS_OVERRIDE |
+virtual void | rotate (real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE |
+virtual void | reverse () UTILS_OVERRIDE |
+virtual void | changeOrigin (real_type newx0, real_type newy0) UTILS_OVERRIDE |
+virtual void | trim (real_type s_begin, real_type s_end) UTILS_OVERRIDE |
+virtual void | scale (real_type s) UTILS_OVERRIDE |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
+real_type | xMiddle () const |
+real_type | yMiddle () const |
+real_type | thetaMiddle () const |
+real_type | kappa0 () const |
+real_type | length0 () const |
+real_type | kappa1 () const |
+real_type | length1 () const |
+real_type | delta_theta () const |
+void | bbTriangles (std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const |
+void | bbTriangles_ISO (real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const |
+void | bbTriangles_SAE (real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const |
+bool | collision (Biarc const &B) const |
+bool | collision_ISO (real_type offs, Biarc const &B, real_type offs_B) const |
+void | intersect (Biarc const &B, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, Biarc const &B, real_type offs_B, IntersectList &ilist, bool swap_s_vals) const |
+void | info (ostream_type &stream) const UTILS_OVERRIDE |
CurveType | type () const |
real_type | length_SAE (real_type offs) const |
void | bbox_SAE (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const |
+virtual real_type | kappaBegin () const |
+virtual real_type | kappaEnd () const |
+virtual real_type | xBegin_ISO (real_type offs) const |
+virtual real_type | yBegin_ISO (real_type offs) const |
+virtual real_type | xEnd_ISO (real_type offs) const |
+virtual real_type | yEnd_ISO (real_type offs) const |
+real_type | xBegin_SAE (real_type offs) const |
+real_type | yBegin_SAE (real_type offs) const |
+real_type | xEnd_SAE (real_type offs) const |
+real_type | yEnd_SAE (real_type offs) const |
+real_type | nx_Begin_SAE () const |
+real_type | ny_Begin_SAE () const |
+real_type | nx_End_SAE () const |
+real_type | ny_End_SAE () const |
+real_type | kappa (real_type s) const |
+real_type | kappa_D (real_type s) const |
+real_type | kappa_DD (real_type s) const |
+real_type | nx_ISO (real_type s) const |
+real_type | nx_ISO_D (real_type s) const |
+real_type | nx_ISO_DD (real_type s) const |
+real_type | nx_ISO_DDD (real_type s) const |
+real_type | ny_ISO (real_type s) const |
+real_type | ny_ISO_D (real_type s) const |
+real_type | ny_ISO_DD (real_type s) const |
+real_type | ny_ISO_DDD (real_type s) const |
+real_type | nx_SAE (real_type s) const |
+real_type | nx_SAE_D (real_type s) const |
+real_type | nx_SAE_DD (real_type s) const |
+real_type | nx_SAE_DDD (real_type s) const |
+real_type | ny_SAE (real_type s) const |
+real_type | ny_SAE_D (real_type s) const |
+real_type | ny_SAE_DD (real_type s) const |
+real_type | ny_SAE_DDD (real_type s) const |
+void | nor_ISO (real_type s, real_type &nx, real_type &ny) const |
+void | nor_ISO_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_ISO_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_ISO_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+void | nor_SAE (real_type s, real_type &nx, real_type &ny) const |
+void | nor_SAE_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_SAE_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_SAE_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+virtual void | evaluate_ISO (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+virtual void | evaluate_SAE (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+real_type | X_SAE (real_type s, real_type offs) const |
+real_type | Y_SAE (real_type s, real_type offs) const |
+real_type | X_SAE_D (real_type s, real_type offs) const |
+real_type | Y_SAE_D (real_type s, real_type offs) const |
+real_type | X_SAE_DD (real_type s, real_type offs) const |
+real_type | Y_SAE_DD (real_type s, real_type offs) const |
+real_type | X_SAE_DDD (real_type s, real_type offs) const |
+real_type | Y_SAE_DDD (real_type s, real_type offs) const |
void | eval_SAE (real_type s, real_type offs, real_type &x, real_type &y) const |
void | eval_SAE_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
void | eval_SAE_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
void | eval_SAE_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
+bool | collision (BaseCurve const &C) const |
+bool | collision_ISO (real_type offs, BaseCurve const &C, real_type offs_C) const |
+bool | collision_SAE (real_type offs, BaseCurve const &C, real_type offs_C) const |
+void | intersect (BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_SAE (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
+virtual real_type | distance (real_type qx, real_type qy) const |
+real_type | distance_ISO (real_type qx, real_type qy, real_type offs) const |
+real_type | distance_SAE (real_type qx, real_type qy, real_type offs) const |
+bool | findST_ISO (real_type x, real_type y, real_type &s, real_type &t) const |
+bool | findST_SAE (real_type x, real_type y, real_type &s, real_type &t) const |
+Protected Attributes | |
+CurveType | m_type |
+Friends | |
+ostream_type & | operator<< (ostream_type &stream, Biarc const &bi) |
Compute biarc fitting by Hemite data.
+
+
|
+ +virtual | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute the bounding box of the curve with offset
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
bool G2lib::Biarc::build_3P | +( | +real_type | +x0, | +
+ | + | real_type | +y0, | +
+ | + | real_type | +x1, | +
+ | + | real_type | +y1, | +
+ | + | real_type | +x2, | +
+ | + | real_type | +y2 | +
+ | ) | ++ |
construct a biarc by 3 point at "minimum energy"
+
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +virtual | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
+
|
+ +inlineinherited | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
+
|
+ +inlineinherited | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
+
|
+ +inlineinherited | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
+
|
+ +inlinevirtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlinevirtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
+
|
+ +inlineinherited | +
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Class to manipulate bounding box. + More...
+ +#include <AABBtree.hxx>
+Public Types | |
+typedef BBox const * | PtrBBox |
+Public Member Functions | |
+ | BBox (real_type xmin, real_type ymin, real_type xmax, real_type ymax, int_type id, int_type ipos) |
+ | BBox (vector< PtrBBox > const &bboxes, int_type id, int_type ipos) |
+real_type | Xmin () const |
+real_type | Ymin () const |
+real_type | Xmax () const |
+real_type | Ymax () const |
+int_type const & | Id () const |
return BBOX id | |
+int_type const & | Ipos () const |
return BBOX position | |
+BBox const & | operator= (BBox const &rhs) |
+bool | collision (BBox const &box) const |
detect if two bbox collide | |
+void | join (vector< PtrBBox > const &bboxes) |
Build bbox for a list of bbox. | |
+real_type | distance (real_type x, real_type y) const |
distance of the point (x,y) to the bbox | |
+real_type | maxDistance (real_type x, real_type y) const |
maximum distance of the point (x,y) to the point of bbox | |
+void | print (ostream_type &stream) const |
+Friends | |
+class | AABBtree |
Class to manipulate bounding box.
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::BaseCurve, including all inherited members.
+BaseCurve(CurveType const &type) (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
bbox(real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_PURE_VIRTUAL | G2lib::BaseCurve | virtual |
bbox_ISO(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_PURE_VIRTUAL | G2lib::BaseCurve | virtual |
bbox_SAE(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const | G2lib::BaseCurve | inline |
changeOrigin(real_type newx0, real_type newy0) UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
closestPoint_ISO(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_PURE_VIRTUAL | G2lib::BaseCurve | virtual |
closestPoint_ISO(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_PURE_VIRTUAL | G2lib::BaseCurve | virtual |
closestPoint_SAE(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
closestPoint_SAE(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
collision(BaseCurve const &C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_ISO(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_SAE(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
distance(real_type qx, real_type qy) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
distance_ISO(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
distance_SAE(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
eval(real_type s, real_type &x, real_type &y) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
eval_D(real_type s, real_type &x_D, real_type &y_D) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
eval_DD(real_type s, real_type &x_DD, real_type &y_DD) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
eval_DDD(real_type s, real_type &x_DDD, real_type &y_DDD) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const | G2lib::BaseCurve | virtual |
eval_ISO_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const | G2lib::BaseCurve | virtual |
eval_ISO_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const | G2lib::BaseCurve | virtual |
eval_ISO_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const | G2lib::BaseCurve | virtual |
eval_SAE(real_type s, real_type offs, real_type &x, real_type &y) const | G2lib::BaseCurve | inline |
eval_SAE_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const | G2lib::BaseCurve | inline |
eval_SAE_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const | G2lib::BaseCurve | inline |
eval_SAE_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const | G2lib::BaseCurve | inline |
evaluate(real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
evaluate_ISO(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
evaluate_SAE(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
findST_ISO(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
findST_SAE(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
info(ostream_type &stream) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
intersect(BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_ISO(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_SAE(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappaBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
kappaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
length() const UTILS_PURE_VIRTUAL | G2lib::BaseCurve | virtual |
length_ISO(real_type offs) const UTILS_PURE_VIRTUAL | G2lib::BaseCurve | virtual |
length_SAE(real_type offs) const | G2lib::BaseCurve | inline |
m_type (defined in G2lib::BaseCurve) | G2lib::BaseCurve | protected |
nor_ISO(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_Begin_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
nx_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_End_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
nx_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_Begin_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ny_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_End_ISO() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ny_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
reverse() UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
rotate(real_type angle, real_type cx, real_type cy) UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
scale(real_type sc) UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
tg(real_type s, real_type &tg_x, real_type &tg_y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
tg_D(real_type s, real_type &tg_x_D, real_type &tg_y_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
tg_DD(real_type s, real_type &tg_x_DD, real_type &tg_y_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
tg_DDD(real_type s, real_type &tg_x_DDD, real_type &tg_y_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
theta(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
theta_D(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
theta_DD(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
theta_DDD(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
thetaBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
thetaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
translate(real_type tx, real_type ty) UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
trim(real_type s_begin, real_type s_end) UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
tx(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
tx_Begin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
tx_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
tx_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
tx_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
tx_End() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ty(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
ty_Begin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
ty_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
ty_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
ty_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
ty_End() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
type() const | G2lib::BaseCurve | inline |
X(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_D(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_DD(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_DDD(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_ISO(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_ISO_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_ISO_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_ISO_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
X_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xBegin_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xEnd_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_D(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_DD(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_DDD(real_type s) const UTILS_PURE_VIRTUAL (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_ISO(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_ISO_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_ISO_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_ISO_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | virtual |
Y_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yBegin_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yEnd_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
~BaseCurve() (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::Biarc, including all inherited members.
+BaseCurve(CurveType const &type) (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
bbox(real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::Biarc | virtual |
bbox_ISO(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE | G2lib::Biarc | virtual |
bbox_SAE(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const | G2lib::BaseCurve | inline |
bbTriangles(std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
bbTriangles_ISO(real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
bbTriangles_SAE(real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, int_type icurve=0) const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
Biarc() (defined in G2lib::Biarc) | G2lib::Biarc | inline |
Biarc(Biarc const &ba) (defined in G2lib::Biarc) | G2lib::Biarc | inline |
Biarc(real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1) | G2lib::Biarc | inlineexplicit |
Biarc(BaseCurve const &C) (defined in G2lib::Biarc) | G2lib::Biarc | explicit |
build(real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1) | G2lib::Biarc | |
build_3P(real_type x0, real_type y0, real_type x1, real_type y1, real_type x2, real_type y2) | G2lib::Biarc | |
C0() const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
C1() const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
changeOrigin(real_type newx0, real_type newy0) UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
closestPoint_ISO(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::Biarc | virtual |
closestPoint_ISO(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE | G2lib::Biarc | virtual |
closestPoint_SAE(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
closestPoint_SAE(real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const | G2lib::BaseCurve | inline |
collision(Biarc const &B) const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
collision(BaseCurve const &C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_ISO(real_type offs, Biarc const &B, real_type offs_B) const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
collision_ISO(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
collision_SAE(real_type offs, BaseCurve const &C, real_type offs_C) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
copy(Biarc const &c) (defined in G2lib::Biarc) | G2lib::Biarc | inline |
delta_theta() const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
distance(real_type qx, real_type qy) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
distance_ISO(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
distance_SAE(real_type qx, real_type qy, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
eval(real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
eval_D(real_type s, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
eval_DD(real_type s, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
eval_DDD(real_type s, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE | G2lib::Biarc | virtual |
eval_ISO_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE | G2lib::Biarc | virtual |
eval_ISO_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE | G2lib::Biarc | virtual |
eval_ISO_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE | G2lib::Biarc | virtual |
eval_SAE(real_type s, real_type offs, real_type &x, real_type &y) const | G2lib::BaseCurve | inline |
eval_SAE_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const | G2lib::BaseCurve | inline |
eval_SAE_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const | G2lib::BaseCurve | inline |
eval_SAE_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const | G2lib::BaseCurve | inline |
evaluate(real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
evaluate_ISO(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
evaluate_SAE(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
findST_ISO(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
findST_SAE(real_type x, real_type y, real_type &s, real_type &t) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
info(ostream_type &stream) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
intersect(Biarc const &B, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::Biarc) | G2lib::Biarc | |
intersect(BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_ISO(real_type offs, Biarc const &B, real_type offs_B, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::Biarc) | G2lib::Biarc | |
intersect_ISO(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
intersect_SAE(real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa0() const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
kappa1() const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
kappa_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappa_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
kappaBegin() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
kappaEnd() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
length() const UTILS_OVERRIDE | G2lib::Biarc | inlinevirtual |
length0() const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
length1() const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
length_ISO(real_type offs) const UTILS_OVERRIDE | G2lib::Biarc | inlinevirtual |
length_SAE(real_type offs) const | G2lib::BaseCurve | inline |
m_type (defined in G2lib::BaseCurve) | G2lib::BaseCurve | protected |
nor_ISO(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_ISO_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nor_SAE_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
nx_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_End_ISO() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
nx_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
nx_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_Begin_ISO() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
ny_Begin_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_End_ISO() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
ny_End_SAE() const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_ISO_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_D(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
ny_SAE_DDD(real_type s) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
operator<< (defined in G2lib::Biarc) | G2lib::Biarc | friend |
operator=(Biarc const &ba) (defined in G2lib::Biarc) | G2lib::Biarc | inline |
reverse() UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
rotate(real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
scale(real_type s) UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
tg(real_type s, real_type &tx, real_type &ty) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
tg_D(real_type s, real_type &tx_D, real_type &ty_D) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
tg_DD(real_type s, real_type &tx_DD, real_type &ty_DD) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
tg_DDD(real_type s, real_type &tx_DDD, real_type &ty_DDD) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
theta(real_type s) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
theta_D(real_type) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
theta_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
theta_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
thetaBegin() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
thetaEnd() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
thetaMiddle() const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
translate(real_type tx, real_type ty) UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
trim(real_type s_begin, real_type s_end) UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
tx(real_type s) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
tx_Begin() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
tx_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
tx_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
tx_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
tx_End() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
ty(real_type s) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
ty_Begin() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
ty_D(real_type s) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
ty_DD(real_type s) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
ty_DDD(real_type s) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
ty_End() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
type() const | G2lib::BaseCurve | inline |
X(real_type s) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
X_D(real_type) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
X_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
X_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
X_ISO(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
X_ISO_D(real_type, real_type offs) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
X_ISO_DD(real_type, real_type offs) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
X_ISO_DDD(real_type, real_type offs) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
X_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
X_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xBegin() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
xBegin_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xEnd() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
xEnd_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
xEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
xMiddle() const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
Y(real_type s) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
Y_D(real_type) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
Y_DD(real_type) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
Y_DDD(real_type) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
Y_ISO(real_type s, real_type offs) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
Y_ISO_D(real_type, real_type offs) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
Y_ISO_DD(real_type, real_type offs) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
Y_ISO_DDD(real_type, real_type offs) const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | virtual |
Y_SAE(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_D(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
Y_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yBegin() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
yBegin_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yBegin_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yEnd() const UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
yEnd_ISO(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
yEnd_SAE(real_type offs) const (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inline |
yMiddle() const (defined in G2lib::Biarc) | G2lib::Biarc | inline |
~BaseCurve() (defined in G2lib::BaseCurve) | G2lib::BaseCurve | inlinevirtual |
~Biarc() UTILS_OVERRIDE (defined in G2lib::Biarc) | G2lib::Biarc | inlinevirtual |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
GenericContainer
is a class which permit to store eterogeneous data:
+ More...
#include <GenericContainer.hh>
+Public Types | |
+typedef GenericContainerNamespace::pointer_type | pointer_type |
+typedef GenericContainerNamespace::bool_type | bool_type |
+typedef GenericContainerNamespace::int_type | int_type |
+typedef GenericContainerNamespace::uint_type | uint_type |
+typedef GenericContainerNamespace::long_type | long_type |
+typedef GenericContainerNamespace::ulong_type | ulong_type |
+typedef GenericContainerNamespace::real_type | real_type |
+typedef GenericContainerNamespace::complex_type | complex_type |
+typedef GenericContainerNamespace::string_type | string_type |
+typedef GenericContainerNamespace::vec_pointer_type | vec_pointer_type |
+typedef GenericContainerNamespace::vec_bool_type | vec_bool_type |
+typedef GenericContainerNamespace::vec_int_type | vec_int_type |
+typedef GenericContainerNamespace::vec_uint_type | vec_uint_type |
+typedef GenericContainerNamespace::vec_long_type | vec_long_type |
+typedef GenericContainerNamespace::vec_ulong_type | vec_ulong_type |
+typedef GenericContainerNamespace::vec_real_type | vec_real_type |
+typedef GenericContainerNamespace::vec_complex_type | vec_complex_type |
+typedef GenericContainerNamespace::vec_string_type | vec_string_type |
+typedef GenericContainerNamespace::vector_type | vector_type |
+typedef GenericContainerNamespace::map_type | map_type |
+typedef GenericContainerNamespace::mat_int_type | mat_int_type |
+typedef GenericContainerNamespace::mat_long_type | mat_long_type |
+typedef GenericContainerNamespace::mat_real_type | mat_real_type |
+typedef GenericContainerNamespace::mat_complex_type | mat_complex_type |
+Public Member Functions | |
+GENERIC_CONTAINER_API_DLL | GenericContainer () |
build an instance of GenericContainer with empty data | |
+GENERIC_CONTAINER_API_DLL | ~GenericContainer () |
destroy the instance of GenericContainer | |
+GENERIC_CONTAINER_API_DLL void | clear () |
free memory of the data stored in GenericContainer , data type become NOTYPE | |
+template<> | |
void | get_value (unsigned &v, char const msg[]) const |
+template<> | |
void | get_value (int &v, char const msg[]) const |
+template<> | |
void | get_value (unsigned long &v, char const msg[]) const |
+template<> | |
void | get_value (long &v, char const msg[]) const |
+template<> | |
void | get_value (float &v, char const msg[]) const |
+template<> | |
void | get_value (double &v, char const msg[]) const |
Initialize simple data | |
+GENERIC_CONTAINER_API_DLL pointer_type & | set_pointer (pointer_type value) |
Set data to pointer_type initialize and return a reference to the data. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | free_pointer () |
Free pointer to memory pointed, set data to NO TYPE initialize and return a reference to the data. | |
+GENERIC_CONTAINER_API_DLL bool_type & | set_bool (bool_type value) |
Set data to bool_type initialize and return a reference to the data. | |
+GENERIC_CONTAINER_API_DLL int_type & | set_int (int_type value) |
Set data to int_type initialize and return a reference to the data. | |
+GENERIC_CONTAINER_API_DLL long_type & | set_long (long_type value) |
Set data to int_type initialize and return a reference to the data. | |
+GENERIC_CONTAINER_API_DLL real_type & | set_real (real_type value) |
Set data to real_type initialize and return a reference to the data. | |
+GENERIC_CONTAINER_API_DLL complex_type & | set_complex (complex_type &value) |
Set data to complex_type initialize and return a reference to the data. | |
+GENERIC_CONTAINER_API_DLL complex_type & | set_complex (real_type r, real_type i) |
Set data to complex_type initialize and return a reference to the data. | |
+GENERIC_CONTAINER_API_DLL string_type & | set_string (string_type const &value) |
Set data to string_type , allocate and initialize. Return a reference to the data. | |
Initialize vector data | |
+GENERIC_CONTAINER_API_DLL vec_pointer_type & | set_vec_pointer (unsigned sz=0) |
:|: Set data to vec_pointer_type , allocate and initialize. :|: Return a reference to vector of pointer. :|: If sz > 0 then the vector is allocated to size sz . \ | |
+GENERIC_CONTAINER_API_DLL vec_pointer_type & | set_vec_pointer (vec_pointer_type const &v) |
:|: Set data to vec_pointer_type , allocate and initialize. :|: Return a reference to vector of pointer. :|: Copy the data from vector v . \ | |
+GENERIC_CONTAINER_API_DLL vec_bool_type & | set_vec_bool (unsigned sz=0) |
:|: Set data to vec_bool_type , allocate and initialize. :|: Return a reference to vector of booleans. :|: If sz > 0 then the vector is allocated to size sz . \ | |
+GENERIC_CONTAINER_API_DLL vec_bool_type & | set_vec_bool (vec_bool_type const &v) |
:|: Set data to vec_bool_type , allocate and initialize. :|: Return a reference to vector of bool . :|: Copy the data from vector v . \ | |
+GENERIC_CONTAINER_API_DLL vec_int_type & | set_vec_int (unsigned sz=0) |
:|: Set data to vec_int_type , allocate and initialize. :|: Return a reference to vector of integers. :|: If sz > 0 then the vector is allocated to size sz . \ | |
+GENERIC_CONTAINER_API_DLL vec_int_type & | set_vec_int (vec_int_type const &v) |
:|: Set data to vec_int_type , allocate and initialize. :|: Return a reference to vector of integer. :|: Copy the data from vector v . \ | |
+GENERIC_CONTAINER_API_DLL vec_long_type & | set_vec_long (unsigned sz=0) |
:|: Set data to vec_int_type , allocate and initialize. :|: Return a reference to vector of integers. :|: If sz > 0 then the vector is allocated to size sz . \ | |
+GENERIC_CONTAINER_API_DLL vec_long_type & | set_vec_long (vec_long_type const &v) |
:|: Set data to vec_int_type , allocate and initialize. :|: Return a reference to vector of integer. :|: Copy the data from vector v . \ | |
+GENERIC_CONTAINER_API_DLL vec_real_type & | set_vec_real (unsigned sz=0) |
:|: Set data to vec_real_type , allocate and initialize. :|: Return a reference to vector of floating point numbers. :|: If sz > 0 then the vector is allocated to size sz . \ | |
+GENERIC_CONTAINER_API_DLL vec_real_type & | set_vec_real (vec_real_type const &v) |
:|: Set data to vec_real_type , allocate and initialize. :|: Return a reference to vector of floating point number. :|: Copy the data from vector v . \ | |
+GENERIC_CONTAINER_API_DLL vec_complex_type & | set_vec_complex (unsigned sz=0) |
:|: Set data to vec_complex_type , allocate and initialize. :|: Return a reference to vector of complex floating point numbers. :|: If sz > 0 then the vector is allocated to size sz . \ | |
+GENERIC_CONTAINER_API_DLL vec_complex_type & | set_vec_complex (vec_complex_type const &v) |
:|: Set data to vec_complex_type , allocate and initialize. :|: Return a reference to vector of complex floating point number. :|: Copy the data from vector v . \ | |
+GENERIC_CONTAINER_API_DLL vec_string_type & | set_vec_string (unsigned sz=0) |
:|: Set data to vec_string_type , allocate and initialize. :|: Return a reference to vector of strings. :|: If sz > 0 then the vector is allocated to size sz . \ | |
+GENERIC_CONTAINER_API_DLL vec_string_type & | set_vec_string (vec_string_type const &v) |
:|: Set data to vec_string_type , allocate and initialize. :|: Return a reference to vector of strings. :|: Copy the data from vector v . \ | |
+GENERIC_CONTAINER_API_DLL mat_int_type & | set_mat_int (unsigned nr=0, unsigned nc=0) |
:|: Set data to mat_int_type , allocate and initialize. :|: Return a reference to a matrix of floating point numbers. :|: If nr > 0 and nc > 0 then the matrix is allocated to size nr x nc . \ | |
+GENERIC_CONTAINER_API_DLL mat_int_type & | set_mat_int (mat_int_type const &m) |
:|: Set data to mat_int_type , allocate and initialize. :|: Return a reference to a matrix of floating point number. :|: Copy the data from matrix m . \ | |
+GENERIC_CONTAINER_API_DLL mat_long_type & | set_mat_long (unsigned nr=0, unsigned nc=0) |
:|: Set data to mat_long_type , allocate and initialize. :|: Return a reference to a matrix of floating point numbers. :|: If nr > 0 and nc > 0 then the matrix is allocated to size nr x nc . \ | |
+GENERIC_CONTAINER_API_DLL mat_long_type & | set_mat_long (mat_long_type const &m) |
:|: Set data to mat_long_type , allocate and initialize. :|: Return a reference to a matrix of floating point number. :|: Copy the data from matrix m . \ | |
+GENERIC_CONTAINER_API_DLL mat_real_type & | set_mat_real (unsigned nr=0, unsigned nc=0) |
:|: Set data to mat_real_type , allocate and initialize. :|: Return a reference to a matrix of floating point numbers. :|: If nr > 0 and nc > 0 then the matrix is allocated to size nr x nc . \ | |
+GENERIC_CONTAINER_API_DLL mat_real_type & | set_mat_real (mat_real_type const &m) |
:|: Set data to mat_real_type , allocate and initialize. :|: Return a reference to a matrix of floating point number. :|: Copy the data from matrix m . \ | |
+GENERIC_CONTAINER_API_DLL mat_complex_type & | set_mat_complex (unsigned nr=0, unsigned nc=0) |
:|: Set data to mat_complex_type , allocate and initialize. :|: Return a reference to a matrix of complex floating point numbers. :|: If nr > 0 and nc > 0 then the matrix is allocated to size nr x nc . \ | |
+GENERIC_CONTAINER_API_DLL mat_complex_type & | set_mat_complex (mat_complex_type const &m) |
:|: Set data to mat_complex_type , allocate and initialize. :|: Return a reference to a matrix of floating point number. :|: Copy the data from matrix m . \ | |
+GENERIC_CONTAINER_API_DLL void | push_bool (bool) |
push boolean if data is vec_bool_type or ‘vector_type’ | |
+GENERIC_CONTAINER_API_DLL void | push_int (int_type) |
push integer if data is vec_int_type or ‘vector_type’ | |
+GENERIC_CONTAINER_API_DLL void | push_long (long_type) |
push integer if data is vec_int_type or ‘vector_type’ | |
+GENERIC_CONTAINER_API_DLL void | push_real (real_type) |
push real if data is vec_real_type or ‘vector_type’ | |
+GENERIC_CONTAINER_API_DLL void | push_complex (complex_type &) |
push complex if data is vec_complex_type or ‘vector_type’ | |
+GENERIC_CONTAINER_API_DLL void | push_complex (real_type re, real_type im) |
push complex if data is vec_complex_type or ‘vector_type’ | |
+GENERIC_CONTAINER_API_DLL void | push_string (string_type const &) |
push complex if data is vec_string_type or ‘vector_type’ | |
Initialize generic data | |
+GENERIC_CONTAINER_API_DLL vector_type & | set_vector (unsigned sz=0) |
:|: Set data to vector_type , allocate an empty generic vector and return a reference to it. :|: If sz > 0 then the vector is allocated to size sz . \ | |
+GENERIC_CONTAINER_API_DLL map_type & | set_map () |
Set data to map_type , allocate an empty generic map and return a reference to it. | |
Access to a single element | |
GENERIC_CONTAINER_API_DLL TypeAllowed | get_type () const |
Return an integer representing the type of data stored. More... | |
GENERIC_CONTAINER_API_DLL char const * | get_type_name () const |
Return a string pointer representing the type of data stored. More... | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | info (ostream_type &stream) const |
Print to stream the kind of data stored. | |
GENERIC_CONTAINER_API_DLL unsigned | get_num_elements () const |
+GENERIC_CONTAINER_API_DLL unsigned | get_numRows () const |
+GENERIC_CONTAINER_API_DLL unsigned | get_numCols () const |
+GENERIC_CONTAINER_API_DLL real_type | get_number () const |
If data is boolean, integer or floating point return number, otherwise return 0 . | |
+GENERIC_CONTAINER_API_DLL complex_type | get_complex_number () const |
If data is boolean, integer or floating point return number, otherwise return 0 . | |
+GENERIC_CONTAINER_API_DLL void | get_complex_number (real_type &re, real_type &im) const |
+GENERIC_CONTAINER_API_DLL void * | get_pvoid (char const msg[]=nullptr) const |
+GENERIC_CONTAINER_API_DLL void ** | get_ppvoid (char const msg[]=nullptr) const |
+GENERIC_CONTAINER_API_DLL int_type const * | get_int_pointer () const |
+GENERIC_CONTAINER_API_DLL int_type * | get_int_pointer () |
+GENERIC_CONTAINER_API_DLL long_type const * | get_long_pointer () const |
+GENERIC_CONTAINER_API_DLL long_type * | get_long_pointer () |
+GENERIC_CONTAINER_API_DLL real_type const * | get_real_pointer () const |
+GENERIC_CONTAINER_API_DLL real_type * | get_real_pointer () |
+GENERIC_CONTAINER_API_DLL complex_type const * | get_complex_pointer () const |
+GENERIC_CONTAINER_API_DLL complex_type * | get_complex_pointer () |
+template<typename T > | |
GENERIC_CONTAINER_API_DLL void | get_value (T &v, char const msg[]="") const |
+template<typename T > | |
T & | get_pointer () |
+template<typename T > | |
T | get_pointer () const |
+GENERIC_CONTAINER_API_DLL bool_type | get_map_bool (char const msg[]) const |
+GENERIC_CONTAINER_API_DLL bool_type & | get_bool (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL bool_type const & | get_bool (char const msg[]=nullptr) const |
Return the stored boolean (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL int_type & | get_int (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL int_type const & | get_int (char const msg[]=nullptr) const |
Return the stored integer (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL long_type & | get_long (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL long_type const & | get_long (char const msg[]=nullptr) const |
Return the stored long integer (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL int_type | get_as_int (char const msg[]=nullptr) const |
+GENERIC_CONTAINER_API_DLL uint_type | get_as_uint (char const msg[]=nullptr) const |
+GENERIC_CONTAINER_API_DLL long_type | get_as_long (char const msg[]=nullptr) const |
+GENERIC_CONTAINER_API_DLL ulong_type | get_as_ulong (char const msg[]=nullptr) const |
+GENERIC_CONTAINER_API_DLL real_type & | get_real (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL real_type const & | get_real (char const msg[]=nullptr) const |
Return the stored floating point (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL complex_type & | get_complex (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL complex_type const & | get_complex (char const msg[]=nullptr) const |
Return the stored complex floating point (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL string_type & | get_string (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL string_type const & | get_string (char const msg[]=nullptr) const |
Return the stored string (if fails issue an error). | |
Access to vector type data | |
+GENERIC_CONTAINER_API_DLL vector_type & | get_vector (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL vector_type const & | get_vector (char const msg[]=nullptr) const |
Return reference to a generic vector (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL vec_pointer_type & | get_vec_pointer (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL vec_pointer_type const & | get_vec_pointer (char const msg[]=nullptr) const |
Return reference to a vector of pointer (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL vec_bool_type & | get_vec_bool (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL vec_bool_type const & | get_vec_bool (char const msg[]=nullptr) const |
Return reference to a vector of booleans (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL vec_int_type & | get_vec_int (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL vec_int_type const & | get_vec_int (char const msg[]=nullptr) const |
Return reference to a vector of integers (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL vec_long_type & | get_vec_long (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL vec_long_type const & | get_vec_long (char const msg[]=nullptr) const |
Return reference to a vector of integers (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL vec_real_type & | get_vec_real (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL vec_real_type const & | get_vec_real (char const msg[]=nullptr) const |
Return reference to a vector of floating point number (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL vec_complex_type & | get_vec_complex (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL vec_complex_type const & | get_vec_complex (char const msg[]=nullptr) const |
Return reference to a vector of complex floating point number (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL mat_int_type & | get_mat_int (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL mat_int_type const & | get_mat_int (char const msg[]=nullptr) const |
Return reference to a matrix of integers (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL mat_long_type & | get_mat_long (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL mat_long_type const & | get_mat_long (char const msg[]=nullptr) const |
Return reference to a matrix of long intgers (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL mat_real_type & | get_mat_real (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL mat_real_type const & | get_mat_real (char const msg[]=nullptr) const |
Return reference to a matrix of floating point number (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL mat_complex_type & | get_mat_complex (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL mat_complex_type const & | get_mat_complex (char const msg[]=nullptr) const |
Return reference to a matrix of complex floating point number (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL vec_string_type & | get_vec_string (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL vec_string_type const & | get_vec_string (char const msg[]=nullptr) const |
Return reference to a vector of strings (if fails issue an error). | |
Access to vector type data and convert | |
+GENERIC_CONTAINER_API_DLL void | copyto_vec_int (vec_int_type &v, char const msg[]="") const |
+GENERIC_CONTAINER_API_DLL void | copyto_vec_uint (vec_uint_type &v, char const msg[]="") const |
+GENERIC_CONTAINER_API_DLL void | copyto_vec_long (vec_long_type &v, char const msg[]="") const |
+GENERIC_CONTAINER_API_DLL void | copyto_vec_ulong (vec_ulong_type &v, char const msg[]="") const |
+GENERIC_CONTAINER_API_DLL void | copyto_vec_real (vec_real_type &v, char const msg[]="") const |
+GENERIC_CONTAINER_API_DLL void | copyto_vec_complex (vec_complex_type &v, char const msg[]="") const |
+GENERIC_CONTAINER_API_DLL void | copyto_vec_string (vec_string_type &v, char const msg[]="") const |
Access to element of vector type data | |
+GENERIC_CONTAINER_API_DLL real_type | get_number_at (unsigned i) const |
If i -th element of the vector is boolean, integer or floating point then return number, otherwise return 0 . | |
+GENERIC_CONTAINER_API_DLL complex_type | get_complex_number_at (unsigned i) const |
+GENERIC_CONTAINER_API_DLL void | get_complex_number_at (unsigned i, real_type &re, real_type &im) const |
+template<typename T > | |
T & | get_pointer_at (unsigned i) |
+template<typename T > | |
T | get_pointer_at (unsigned i) const |
Return i -th generic pointer (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL bool_type | get_bool_at (unsigned i) |
+GENERIC_CONTAINER_API_DLL bool_type | get_bool_at (unsigned i, char const msg[]) const |
Return i -th boolean (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL int_type & | get_int_at (unsigned i) |
+GENERIC_CONTAINER_API_DLL int_type const & | get_int_at (unsigned i, char const msg[]) const |
Return i -th integer (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL long_type & | get_long_at (unsigned i) |
+GENERIC_CONTAINER_API_DLL long_type const & | get_long_at (unsigned i, char const msg[]) const |
Return i -th integer (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL real_type & | get_real_at (unsigned i) |
+GENERIC_CONTAINER_API_DLL real_type const & | get_real_at (unsigned i, char const msg[]) const |
Return i -th floating point number (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL complex_type & | get_complex_at (unsigned i) |
+GENERIC_CONTAINER_API_DLL complex_type const & | get_complex_at (unsigned i, char const msg[]) const |
Return i -th complex floating point number (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL int_type & | get_int_at (unsigned i, unsigned j) |
+GENERIC_CONTAINER_API_DLL int_type const & | get_int_at (unsigned i, unsigned j, char const msg[]) const |
Return i -th integer number (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL long_type & | get_long_at (unsigned i, unsigned j) |
+GENERIC_CONTAINER_API_DLL long_type const & | get_long_at (unsigned i, unsigned j, char const msg[]) const |
Return i -th long integer number (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL real_type & | get_real_at (unsigned i, unsigned j) |
+GENERIC_CONTAINER_API_DLL real_type const & | get_real_at (unsigned i, unsigned j, char const msg[]) const |
Return i -th floating point number (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL complex_type & | get_complex_at (unsigned i, unsigned j) |
+GENERIC_CONTAINER_API_DLL complex_type const & | get_complex_at (unsigned i, unsigned j, char const msg[]) const |
Return i -th complex floating point number (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL string_type & | get_string_at (unsigned i) |
+GENERIC_CONTAINER_API_DLL string_type const & | get_string_at (unsigned i, char const msg[]) const |
Return i -th string (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | get_gc_at (unsigned i) |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | get_gc_at (unsigned i, char const msg[]) const |
Return i -th GenericContainer of a generic vector (if fails issue an error). | |
Access to map type element | |
+GENERIC_CONTAINER_API_DLL map_type & | get_map (char const msg[]=nullptr) |
+GENERIC_CONTAINER_API_DLL map_type const & | get_map (char const msg[]=nullptr) const |
Return the reference of the stored map or issue an error. | |
Access using operators | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator[] (unsigned i) |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | operator[] (unsigned i) const |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator[] (std::string const &s) |
:|: Overload of the [] operator to access the i -th element of a stored generic vector. :|: Run time bound check. \ | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | operator[] (std::string const &s) const |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator() (unsigned i, char const msg[]=nullptr) |
:|: Overload of the [] operator to access the s -th element of a stored generic map. :|: If the element do not exists it is created. \ | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | operator() (unsigned i, char const msg[]=nullptr) const |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator() (std::string const &s, char const msg[]=nullptr) |
:|: Overload of the () operator to access the i -th element of a stored generic vector. :|: NO run time bound check. \ | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | operator() (std::string const &s, char const msg[]=nullptr) const |
Initialize data using set command | |
:|: Overload of the | |
+GENERIC_CONTAINER_API_DLL void | set (bool const &a) |
Assign a boolean to the generic container. | |
+GENERIC_CONTAINER_API_DLL void | set (uint_type const &a) |
Assign an integer to the generic container. | |
+GENERIC_CONTAINER_API_DLL void | set (int_type const &a) |
Assign an integer to the generic container. | |
+GENERIC_CONTAINER_API_DLL void | set (ulong_type const &a) |
Assign an integer to the generic container. | |
+GENERIC_CONTAINER_API_DLL void | set (long_type const &a) |
Assign an integer to the generic container. | |
+GENERIC_CONTAINER_API_DLL void | set (float const &a) |
Assign a floating point number to the generic container. | |
+GENERIC_CONTAINER_API_DLL void | set (double const &a) |
Assign a floating point number to the generic container. | |
+GENERIC_CONTAINER_API_DLL void | set (std::complex< float > const &a) |
Assign a floating point number to the generic container. | |
+GENERIC_CONTAINER_API_DLL void | set (std::complex< double > const &a) |
Assign a floating point number to the generic container. | |
+GENERIC_CONTAINER_API_DLL void | set (char const a[]) |
Assign a string to the generic container. | |
+GENERIC_CONTAINER_API_DLL void | set (std::string const &a) |
Assign a string to the generic container. | |
+GENERIC_CONTAINER_API_DLL void | set (pointer_type a) |
Assign a pointer to the generic container. | |
Initialize data using operators | |
The | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (bool const &a) |
Assign a boolean to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (uint_type const &a) |
Assign an integer to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (int_type const &a) |
Assign an integer to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (ulong_type const &a) |
Assign an integer to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (long_type const &a) |
Assign an integer to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (float const &a) |
Assign a floating point number to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (double const &a) |
Assign a floating point number to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (std::complex< float > const &a) |
Assign a floating point number to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (std::complex< double > const &a) |
Assign a floating point number to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (vec_bool_type const &a) |
Assign a vec_bool_type to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (vec_int_type const &a) |
Assign a vec_int_type to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (vec_long_type const &a) |
Assign a vec_long_type to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (vec_real_type const &a) |
Assign a vec_real_type to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (vec_complex_type const &a) |
Assign a vec_complex_type to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (vec_string_type const &a) |
Assign a vec_string_type to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (mat_int_type const &a) |
Assign a vec_int_type to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (mat_long_type const &a) |
Assign a vec_long_type to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (mat_real_type const &a) |
Assign a vec_real_type to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (mat_complex_type const &a) |
Assign a vec_complex_type to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (char const a[]) |
Assign a string to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (std::string const &a) |
Assign a string to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | operator= (pointer_type a) |
Assign a pointer to the generic container. | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | operator= (GenericContainer const &a) |
Assign a generic container a to the generic container. | |
GENERIC_CONTAINER_API_DLL void | load (GenericContainer const &a) |
Copy a generic container a to the generic container. More... | |
Promotion to a `‘bigger’' data | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_int () |
If data contains a boolean it is promoted to an integer. | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_long () |
If data contains a boolean it is promoted to an integer. | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_real () |
If data contains a boolean or an integer it is promoted to a real. | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_complex () |
If data contains a boolean or an integer or floating point it is promoted to a complex floating point. | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_vec_int () |
If data contains vector of booleans it is promoted to a vector of integer. | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_vec_long () |
If data contains vector of booleans it is promoted to a vector of integer. | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_vec_real () |
If data contains vector of booleans or integer it is promoted to a vector of real. | |
GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_vec_complex () |
If data contains vector of booleans or integer or real it is promoted to a vector of complex. More... | |
GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_mat_int () |
If data contains vector of booleans, integer or real it is promoted to a matrix of integer. More... | |
GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_mat_long () |
If data contains vector of booleans, integer or real it is promoted to a matrix of long integer. More... | |
GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_mat_real () |
If data contains vector of booleans, integer or real it is promoted to a matrix of real. More... | |
GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_mat_complex () |
If data contains vector of booleans, integer or real or complex or matrix of real it is promoted to a matrix of complex. More... | |
+GENERIC_CONTAINER_API_DLL GenericContainer const & | promote_to_vector () |
If data contains vector of someting it is promoted to a vector of GenericContainer . | |
Initialize data by overloading constructor | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (bool const &a) |
Construct a generic container storing a boolean. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (uint_type const &a) |
Construct a generic container storing an integer. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (int_type const &a) |
Construct a generic container storing an integer. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (ulong_type const &a) |
Construct a generic container storing an integer. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (long_type const &a) |
Construct a generic container storing an integer. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (float const &a) |
Construct a generic container storing a floating point number. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (double const &a) |
Construct a generic container storing a floating point number. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (std::complex< float > const &a) |
Construct a generic container storing a complex floating point number. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (std::complex< double > const &a) |
Construct a generic container storing a complex floating point number. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (char const a[]) |
Construct a generic container storing a string. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (std::string const &a) |
Construct a generic container storing a string. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (pointer_type a) |
Construct a generic container storing a pointer. | |
+GENERIC_CONTAINER_API_DLL | GenericContainer (GenericContainer const &gc) |
Construct a generic container copying container gc | |
Utilities methods | |
+GENERIC_CONTAINER_API_DLL bool | exists (std::string const &s) const |
Check if string s is a key of the stored map (if fails issue an error). | |
+GENERIC_CONTAINER_API_DLL bool | get_if_exists (char const field[], bool &value) const |
+GENERIC_CONTAINER_API_DLL bool | get_if_exists (char const field[], int_type &value) const |
+GENERIC_CONTAINER_API_DLL bool | get_if_exists (char const field[], uint_type &value) const |
+GENERIC_CONTAINER_API_DLL bool | get_if_exists (char const field[], long_type &value) const |
+GENERIC_CONTAINER_API_DLL bool | get_if_exists (char const field[], ulong_type &value) const |
+GENERIC_CONTAINER_API_DLL bool | get_if_exists (char const field[], real_type &value) const |
+GENERIC_CONTAINER_API_DLL bool | get_if_exists (char const field[], complex_type &value) const |
+GENERIC_CONTAINER_API_DLL bool | get_if_exists (char const field[], string_type &value) const |
I/O for <tt>GenericContainer</tt> objects | |
+GENERIC_CONTAINER_API_DLL void | print_content_types (ostream_type &stream, std::string const &prefix="", std::string const &indent=" ") const |
print the contents of the object in a human readable way (without data) | |
+GENERIC_CONTAINER_API_DLL void | dump (ostream_type &stream, std::string const &prefix="", std::string const &indent=" ") const |
dump the contents of the object in a human readable way | |
+GENERIC_CONTAINER_API_DLL void | print (ostream_type &stream, std::string const &prefix="", std::string const &indent=" ") const |
+GENERIC_CONTAINER_API_DLL void | to_yaml (ostream_type &, std::string const &prefix="") const |
print the contents of the object in yaml syntax | |
GENERIC_CONTAINER_API_DLL GenericContainer const & | writeFormattedData (ostream_type &stream, char const delimiter='\t') const |
write GenericContainer as regular formatted data : : Write the contents of the GenericContainer object to stream. : : : : GenericContainer must be a map which contains the fields: : : : : - "headers" this element must be a vec_string_type which contains : : the strings of the headers of the columns of the data : : : : - "data" this element must be a vector_type which contais the : : vectors which are the columns of the data to be saved. : : Each column can be of type : : : : 1. vec_bool_type : : 2. vec_int_type : : 3. vec_real_type : : : : all the vector must have the same size. : : : : More... | |
GENERIC_CONTAINER_API_DLL GenericContainer & | readFormattedData (std::istream &stream, char const commentChars[]="#%", char const delimiters[]=" \t") |
read regular formatted data from stream to GenericContainer . : : After successful read GenericContainer will be a map which contains the fields: : : : : - "headers" a vec_string_type which contains : : the strings of the headers of the columns of the data : : : : - "data" a vector_type which contais the vectors which are the : : columns of the data readed of type vec_real_type . : : : : More... | |
+GENERIC_CONTAINER_API_DLL GenericContainer & | readFormattedData (char const fname[], char const commentChars[]="#%", char const delimiters[]=" \t") |
+static GENERIC_CONTAINER_API_DLL void | exception (char const msg[]) GC_NO_RETURN |
GenericContainer
is a class which permit to store eterogeneous data:
in addition to this data type the following two container are added
+GenericContainer
GenericContainer
unsigned GenericContainerNamespace::GenericContainer::get_num_elements | +( | +) | +const | +
Return the number of the elements of the first level of the generic container 1 for single element, the size of vector or map, or 0
+ +
+
|
+ +inline | +
Return an integer representing the type of data stored.
+: | : Integer to data type map |
---|---|
: | : |
: | : - No data stored (return 0) |
: | : 1. pointer_type |
: | : 2. bool_type |
: | : 3. int_type |
: | : 4. long_type |
: | : 5. real_type |
: | : 6. complex_type |
: | : 7. string_data |
: | : 8. vec_pointer_type |
: | : 9. vec_bool_type |
: | : 10. vec_int_type |
: | : 11. vec_long_type |
: | : 12. vec_real_type |
: | : 13. vec_complex_type |
: | : 14. vec_string_type |
: | : 15. mat_int_type |
: | : 16. mat_long_type |
: | : 17. mat_real_type |
: | : 18. mat_complex_type |
: | : 19. vector_type |
: | : 20. map_type |
\
+ +char const * GenericContainerNamespace::GenericContainer::get_type_name | +( | +) | +const | +
Return a string pointer representing the type of data stored.
+Return a string representing the type of data stored.
+ +void GenericContainerNamespace::GenericContainer::load | +( | +GenericContainer const & | +a | ) | ++ |
Copy a generic container a
to the generic container.
Assign a generic container a
to the generic container.
GenericContainer const & GenericContainerNamespace::GenericContainer::promote_to_mat_complex | +( | +) | ++ |
If data contains vector of booleans, integer or real or complex or matrix of real it is promoted to a matrix of complex.
+If data contains vector of booleans, integer or real it is promoted to a vector of real.
+ +GenericContainer const & GenericContainerNamespace::GenericContainer::promote_to_mat_int | +( | +) | ++ |
If data contains vector of booleans, integer or real it is promoted to a matrix of integer.
+If data contains vector of booleans, integer or real it is promoted to a vector of integers.
+ +GenericContainer const & GenericContainerNamespace::GenericContainer::promote_to_mat_long | +( | +) | ++ |
If data contains vector of booleans, integer or real it is promoted to a matrix of long integer.
+If data contains vector of booleans, integer or real it is promoted to a vector of long.
+ +GenericContainer const & GenericContainerNamespace::GenericContainer::promote_to_mat_real | +( | +) | ++ |
If data contains vector of booleans, integer or real it is promoted to a matrix of real.
+If data contains vector of booleans, integer or real it is promoted to a vector of real.
+ +GenericContainer const & GenericContainerNamespace::GenericContainer::promote_to_vec_complex | +( | +) | ++ |
If data contains vector of booleans or integer or real it is promoted to a vector of complex.
+If data contains vector of booleans or integer it is promoted to a vector of real.
+ +GenericContainer & GenericContainerNamespace::GenericContainer::readFormattedData | +( | +std::istream & | +stream, | +
+ | + | char const | +commentChars[] = "#%" , |
+
+ | + | char const | +delimiters[] = " \t" |
+
+ | ) | ++ |
read regular formatted data from stream
to GenericContainer
. : : After successful read GenericContainer
will be a map which contains the fields: : : : : - "headers" a vec_string_type
which contains : : the strings of the headers of the columns of the data : : : : - "data" a vector_type
which contais the vectors which are the : : columns of the data readed of type vec_real_type
. : : : :
: | :
| ||
---|---|---|---|
: | :
| ||
: | : Default are # and % | ||
: | :
|
\
+ +GenericContainer const & GenericContainerNamespace::GenericContainer::writeFormattedData | +( | +ostream_type & | +stream, | +
+ | + | char const | +delimiter = '\t' |
+
+ | ) | +const | +
write GenericContainer
as regular formatted data : : Write the contents of the GenericContainer
object to stream. : : : : GenericContainer
must be a map which contains the fields: : : : : - "headers" this element must be a vec_string_type
which contains : : the strings of the headers of the columns of the data : : : : - "data" this element must be a vector_type
which contais the : : vectors which are the columns of the data to be saved. : : Each column can be of type : : : : 1. vec_bool_type
: : 2. vec_int_type
: : 3. vec_real_type
: : : : all the vector must have the same size. : : : :
: | :
| ||
---|---|---|---|
: | :
|
\
+ ++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This is the complete list of members for G2lib::ClothoidData, including all inherited members.
+aplus(real_type dtheta) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
bbTriangle(real_type L, real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
bbTriangle_ISO(real_type L, real_type offs, real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
bbTriangle_SAE(real_type L, real_type offs, real_type &xx0, real_type &yy0, real_type &xx1, real_type &yy1, real_type &xx2, real_type &yy2) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
build_forward(real_type x0, real_type y0, real_type theta0, real_type kappa0, real_type x1, real_type y1, real_type tol, real_type &L) (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
build_G1(real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1, real_type tol, real_type &L, bool compute_deriv=false, real_type L_D[2]=nullptr, real_type k_D[2]=nullptr, real_type dk_D[2]=nullptr) (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
c0x() const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
c0y() const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
ClothoidData() (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
deltaTheta(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
dk | G2lib::ClothoidData | |
eval(real_type s, real_type &x, real_type &y) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
eval(real_type s, ClothoidData &C) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
eval_D(real_type s, real_type &x_D, real_type &y_D) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
eval_DAE_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
eval_DD(real_type s, real_type &x_DD, real_type &y_DD) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
eval_DDD(real_type s, real_type &x_DDD, real_type &y_DDD) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
eval_ISO_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
eval_ISO_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
eval_ISO_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
eval_SAE(real_type s, real_type offs, real_type &x, real_type &y) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
eval_SAE_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
eval_SAE_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
evaluate(real_type s, real_type &theta, real_type &kappa, real_type &x, real_type &y) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
info(ostream_type &s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
kappa(real_type s) const | G2lib::ClothoidData | inline |
kappa0 | G2lib::ClothoidData | |
kappa_D(real_type) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
kappa_DD(real_type) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
kappa_DDD(real_type) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor0_x_ISO() const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor0_x_SAE() const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor0_y_ISO() const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor0_y_SAE() const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_ISO(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
nor_ISO_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
nor_ISO_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
nor_ISO_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
nor_SAE(real_type s, real_type &nx, real_type &ny) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
nor_SAE_D(real_type s, real_type &nx_D, real_type &ny_D) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
nor_SAE_DD(real_type s, real_type &nx_DD, real_type &ny_DD) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
nor_SAE_DDD(real_type s, real_type &nx_DDD, real_type &ny_DDD) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
nor_x_ISO(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_x_ISO_D(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_x_ISO_DD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_x_ISO_DDD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_x_SAE(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_x_SAE_D(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_x_SAE_DD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_x_SAE_DDD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_y_ISO(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_y_ISO_D(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_y_ISO_DD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_y_ISO_DDD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_y_SAE(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_y_SAE_D(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_y_SAE_DD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
nor_y_SAE_DDD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
origin_at(real_type s_origin) (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Pinfinity(real_type &x, real_type &y, bool plus) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
reverse(real_type L) (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
reverse(real_type L, ClothoidData &out) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
rotate(real_type angle, real_type cx, real_type cy) (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
split_at_flex(ClothoidData &C0, ClothoidData &C1) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
tg(real_type s, real_type &tx, real_type &ty) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
tg0_x() const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
tg0_y() const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
tg_D(real_type s, real_type &tx, real_type &ty) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
tg_DD(real_type s, real_type &tx, real_type &ty) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
tg_DDD(real_type s, real_type &tx, real_type &ty) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
tg_x(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
tg_x_D(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
tg_x_DD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
tg_x_DDD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
tg_y(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
tg_y_D(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
tg_y_DD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
tg_y_DDD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
theta(real_type s) const | G2lib::ClothoidData | inline |
theta0 | G2lib::ClothoidData | |
theta_D(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
theta_DD(real_type) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
theta_DDD(real_type) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | inline |
X(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
x0 | G2lib::ClothoidData | |
X_D(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
X_DD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
X_DDD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
X_ISO(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
X_ISO_D(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
X_ISO_DD(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
X_ISO_DDD(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
X_SAE(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
X_SAE_D(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
X_SAE_DD(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
X_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Y(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
y0 | G2lib::ClothoidData | |
Y_D(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Y_DD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Y_DDD(real_type s) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Y_ISO(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Y_ISO_D(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Y_ISO_DD(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Y_ISO_DDD(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Y_SAE(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Y_SAE_D(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Y_SAE_DD(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData | |
Y_SAE_DDD(real_type s, real_type offs) const (defined in G2lib::ClothoidData) | G2lib::ClothoidData |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Class to manage a list of biarc Curve (not necessarily G2 or G1 connected) + More...
+ +#include <BiarcList.hxx>
+Public Member Functions | |
+ | BiarcList (BiarcList const &s) |
+void | init () |
+void | reserve (int_type n) |
+void | copy (BiarcList const &L) |
+BiarcList const & | operator= (BiarcList const &s) |
+ | BiarcList (LineSegment const &LS) |
+ | BiarcList (CircleArc const &C) |
+ | BiarcList (Biarc const &C) |
+ | BiarcList (PolyLine const &pl) |
+ | BiarcList (BaseCurve const &C) |
+void | push_back (LineSegment const &c) |
+void | push_back (CircleArc const &c) |
+void | push_back (Biarc const &c) |
+void | push_back (PolyLine const &c) |
+void | push_back_G1 (real_type x1, real_type y1, real_type theta1) |
+void | push_back_G1 (real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1, real_type theta1) |
+bool | build_G1 (int_type n, real_type const x[], real_type const y[]) |
+bool | build_G1 (int_type n, real_type const x[], real_type const y[], real_type const theta[]) |
+Biarc const & | get (int_type idx) const |
+Biarc const & | getAtS (real_type s) const |
+int_type | numSegment () const |
+int_type | findAtS (real_type &s) const |
virtual real_type | length () const UTILS_OVERRIDE |
virtual real_type | length_ISO (real_type offs) const UTILS_OVERRIDE |
+real_type | segment_length (int_type nseg) const |
+real_type | segment_length_ISO (int_type nseg, real_type offs) const |
+void | bbTriangles_ISO (real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const |
+void | bbTriangles_SAE (real_type offs, std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const |
+void | bbTriangles (std::vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const |
+void | build_AABBtree_ISO (real_type offs, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const |
+void | build_AABBtree_SAE (real_type offs, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100) const |
virtual void | bbox (real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
virtual void | bbox_ISO (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const UTILS_OVERRIDE |
+virtual real_type | thetaBegin () const UTILS_OVERRIDE |
+virtual real_type | thetaEnd () const UTILS_OVERRIDE |
+virtual real_type | xBegin () const UTILS_OVERRIDE |
+virtual real_type | yBegin () const UTILS_OVERRIDE |
+virtual real_type | xEnd () const UTILS_OVERRIDE |
+virtual real_type | yEnd () const UTILS_OVERRIDE |
+virtual real_type | xBegin_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | yBegin_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | xEnd_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | yEnd_ISO (real_type offs) const UTILS_OVERRIDE |
+virtual real_type | tx_Begin () const UTILS_OVERRIDE |
+virtual real_type | ty_Begin () const UTILS_OVERRIDE |
+virtual real_type | tx_End () const UTILS_OVERRIDE |
+virtual real_type | ty_End () const UTILS_OVERRIDE |
+virtual real_type | nx_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | ny_Begin_ISO () const UTILS_OVERRIDE |
+virtual real_type | nx_End_ISO () const UTILS_OVERRIDE |
+virtual real_type | ny_End_ISO () const UTILS_OVERRIDE |
+virtual real_type | theta (real_type s) const UTILS_OVERRIDE |
+virtual real_type | theta_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | theta_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | theta_DDD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | tx_DDD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | ty_DDD (real_type s) const UTILS_OVERRIDE |
+virtual void | tg (real_type s, real_type &tg_x, real_type &tg_y) const UTILS_OVERRIDE |
+virtual void | tg_D (real_type s, real_type &tg_x_D, real_type &tg_y_D) const UTILS_OVERRIDE |
+virtual void | tg_DD (real_type s, real_type &tg_x_DD, real_type &tg_y_DD) const UTILS_OVERRIDE |
+virtual void | tg_DDD (real_type s, real_type &tg_x_DDD, real_type &tg_y_DDD) const UTILS_OVERRIDE |
+virtual void | evaluate (real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual void | evaluate_ISO (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual real_type | X (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y (real_type s) const UTILS_OVERRIDE |
+virtual real_type | X_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y_D (real_type s) const UTILS_OVERRIDE |
+virtual real_type | X_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y_DD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | X_DDD (real_type s) const UTILS_OVERRIDE |
+virtual real_type | Y_DDD (real_type s) const UTILS_OVERRIDE |
+virtual void | eval (real_type s, real_type &x, real_type &y) const UTILS_OVERRIDE |
+virtual void | eval_D (real_type s, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
+virtual void | eval_DD (real_type s, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
+virtual void | eval_DDD (real_type s, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
+virtual real_type | X_ISO (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_D (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_D (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_DD (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_DD (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | X_ISO_DDD (real_type s, real_type offs) const UTILS_OVERRIDE |
+virtual real_type | Y_ISO_DDD (real_type s, real_type offs) const UTILS_OVERRIDE |
virtual void | eval_ISO (real_type s, real_type offs, real_type &x, real_type &y) const UTILS_OVERRIDE |
virtual void | eval_ISO_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const UTILS_OVERRIDE |
virtual void | eval_ISO_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const UTILS_OVERRIDE |
virtual void | eval_ISO_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const UTILS_OVERRIDE |
+virtual void | translate (real_type tx, real_type ty) UTILS_OVERRIDE |
+virtual void | rotate (real_type angle, real_type cx, real_type cy) UTILS_OVERRIDE |
+virtual void | scale (real_type sc) UTILS_OVERRIDE |
+virtual void | reverse () UTILS_OVERRIDE |
+virtual void | changeOrigin (real_type newx0, real_type newy0) UTILS_OVERRIDE |
+virtual void | trim (real_type s_begin, real_type s_end) UTILS_OVERRIDE |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
virtual int_type | closestPoint_ISO (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const UTILS_OVERRIDE |
+virtual void | info (ostream_type &stream) const UTILS_OVERRIDE |
+void | getSTK (real_type s[], real_type theta[], real_type kappa[]) const |
+void | getXY (real_type x[], real_type y[]) const |
int_type | findST1 (real_type x, real_type y, real_type &s, real_type &t) const |
Find parametric coordinate. More... | |
int_type | findST1 (int_type ibegin, int_type iend, real_type x, real_type y, real_type &s, real_type &t) const |
Find parametric coordinate. More... | |
+bool | collision (BiarcList const &C) const |
+bool | collision_ISO (real_type offs, BiarcList const &CL, real_type offs_C) const |
+void | intersect (BiarcList const &CL, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, BiarcList const &CL, real_type offs_obj, IntersectList &ilist, bool swap_s_vals) const |
CurveType | type () const |
real_type | length_SAE (real_type offs) const |
void | bbox_SAE (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const |
+virtual real_type | kappaBegin () const |
+virtual real_type | kappaEnd () const |
+real_type | xBegin_SAE (real_type offs) const |
+real_type | yBegin_SAE (real_type offs) const |
+real_type | xEnd_SAE (real_type offs) const |
+real_type | yEnd_SAE (real_type offs) const |
+real_type | nx_Begin_SAE () const |
+real_type | ny_Begin_SAE () const |
+real_type | nx_End_SAE () const |
+real_type | ny_End_SAE () const |
+real_type | kappa (real_type s) const |
+real_type | kappa_D (real_type s) const |
+real_type | kappa_DD (real_type s) const |
+real_type | nx_ISO (real_type s) const |
+real_type | nx_ISO_D (real_type s) const |
+real_type | nx_ISO_DD (real_type s) const |
+real_type | nx_ISO_DDD (real_type s) const |
+real_type | ny_ISO (real_type s) const |
+real_type | ny_ISO_D (real_type s) const |
+real_type | ny_ISO_DD (real_type s) const |
+real_type | ny_ISO_DDD (real_type s) const |
+real_type | nx_SAE (real_type s) const |
+real_type | nx_SAE_D (real_type s) const |
+real_type | nx_SAE_DD (real_type s) const |
+real_type | nx_SAE_DDD (real_type s) const |
+real_type | ny_SAE (real_type s) const |
+real_type | ny_SAE_D (real_type s) const |
+real_type | ny_SAE_DD (real_type s) const |
+real_type | ny_SAE_DDD (real_type s) const |
+void | nor_ISO (real_type s, real_type &nx, real_type &ny) const |
+void | nor_ISO_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_ISO_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_ISO_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+void | nor_SAE (real_type s, real_type &nx, real_type &ny) const |
+void | nor_SAE_D (real_type s, real_type &nx_D, real_type &ny_D) const |
+void | nor_SAE_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const |
+void | nor_SAE_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const |
+virtual void | evaluate_SAE (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const |
+real_type | X_SAE (real_type s, real_type offs) const |
+real_type | Y_SAE (real_type s, real_type offs) const |
+real_type | X_SAE_D (real_type s, real_type offs) const |
+real_type | Y_SAE_D (real_type s, real_type offs) const |
+real_type | X_SAE_DD (real_type s, real_type offs) const |
+real_type | Y_SAE_DD (real_type s, real_type offs) const |
+real_type | X_SAE_DDD (real_type s, real_type offs) const |
+real_type | Y_SAE_DDD (real_type s, real_type offs) const |
void | eval_SAE (real_type s, real_type offs, real_type &x, real_type &y) const |
void | eval_SAE_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const |
void | eval_SAE_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const |
void | eval_SAE_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const |
+bool | collision (BaseCurve const &C) const |
+bool | collision_ISO (real_type offs, BaseCurve const &C, real_type offs_C) const |
+bool | collision_SAE (real_type offs, BaseCurve const &C, real_type offs_C) const |
+void | intersect (BaseCurve const &C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_ISO (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
+void | intersect_SAE (real_type offs, BaseCurve const &C, real_type offs_C, IntersectList &ilist, bool swap_s_vals) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
int_type | closestPoint_SAE (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const |
+virtual real_type | distance (real_type qx, real_type qy) const |
+real_type | distance_ISO (real_type qx, real_type qy, real_type offs) const |
+real_type | distance_SAE (real_type qx, real_type qy, real_type offs) const |
+bool | findST_ISO (real_type x, real_type y, real_type &s, real_type &t) const |
+bool | findST_SAE (real_type x, real_type y, real_type &s, real_type &t) const |
+Protected Attributes | |
+CurveType | m_type |
+Friends | |
+class | ClothoidList |
+ostream_type & | operator<< (ostream_type &stream, BiarcList const &CL) |
Class to manage a list of biarc Curve (not necessarily G2 or G1 connected)
+
+
|
+ +inlinevirtual | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute the bounding box of the curve with offset
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute the bounding box of the curve
[out] | xmin | left bottom |
[out] | ymin | left bottom |
[out] | xmax | right top |
[out] | ymax | right top |
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +inlineinherited | +
qx | x-coordinate of the point |
qy | y-coordinate of the point |
offs | offset of the curve |
x | x-coordinate of the projected point on the curve |
y | y-coordinate of the projected point on the curve |
s | parameter on the curve of the projection |
t | curvilinear coordinate of the point x,y (if orthogonal projection) |
dst | distance point projected point |
+
|
+ +virtual | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
Compute curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x | coordinate |
[out] | y | coordinate |
+
|
+ +inlineinherited | +
Compute derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_D | coordinate |
[out] | y_D | coordinate |
+
|
+ +inlineinherited | +
Compute second derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DD | coordinate |
[out] | y_DD | coordinate |
+
|
+ +inlineinherited | +
Compute third derivative curve at position s
with offset offs
[in] | s | parameter on the curve |
[in] | offs | offset of the curve |
[out] | x_DDD | coordinate |
[out] | y_DDD | coordinate |
int_type G2lib::BiarcList::findST1 | +( | +int_type | +ibegin, | +
+ | + | int_type | +iend, | +
+ | + | real_type | +x, | +
+ | + | real_type | +y, | +
+ | + | real_type & | +s, | +
+ | + | real_type & | +t | +
+ | ) | +const | +
Find parametric coordinate.
+ibegin | initial segment to compute the distance |
iend | final segment to compute the distance |
x | x-coordinate point |
y | y-coordinate point |
s | value \( s \) |
t | value \( t \) |
int_type G2lib::BiarcList::findST1 | +( | +real_type | +x, | +
+ | + | real_type | +y, | +
+ | + | real_type & | +s, | +
+ | + | real_type & | +t | +
+ | ) | +const | +
Find parametric coordinate.
+x | x-coordinate point |
y | y-coordinate point |
s | value \( s \) |
t | value \( t \) |
+
|
+ +virtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +virtual | +
Reimplemented from G2lib::BaseCurve.
+ +
+
|
+ +inlineinherited | +
+
|
+ +inlineinherited | +
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Class for the computation of G2 spljne of clothoids. + More...
+ +#include <ClothoidList.hxx>
+Public Types | |
enum | TargetType { + P1 = 1 +, P2 +, P3 +, P4 +, + P5 +, P6 +, P7 +, P8 +, + P9 + + } |
+Friends | |
+ostream_type & | operator<< (ostream_type &stream, ClothoidSplineG2 const &c) |
Class for the computation of G2 spljne of clothoids.
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Class that solve a 2x2 linear system. + More...
+ +#include <G2lib.hxx>
+Public Member Functions | |
+bool | factorize (real_type A[2][2]) |
+bool | solve (real_type const b[2], real_type x[2]) const |
Class that solve a 2x2 linear system.
+Class that solve a 2x2 linear system using Pseudo inverse to manage singular and near singular cases
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
▼ src | |
▼ Clothoids | |
AABBtree.hxx | |
BaseCurve_using.hxx | |
Biarc.hxx | |
BiarcList.hxx | |
Circle.hxx | |
Clothoid.hxx | |
ClothoidAsyPlot.hxx | |
ClothoidList.hxx | |
Fresnel.hxx | |
G2lib.hxx | |
Line.hxx | |
PolyLine.hxx | |
Triangle2D.hxx | |
Clothoids.hh | |
▼ submodules | |
▼ GenericContainer | |
▼ src | |
GenericContainer.hh | |
GenericContainer_doc.hh | |
GenericContainerCinterface.h | |
GenericContainerConfig.hh | |
GenericContainerLibs.hh | |
▼ quarticRootsFlocke | |
▼ src | |
PolynomialRoots-Utils.hh | |
PolynomialRoots.hh | |
▼ Utils | |
▼ src | |
▼ Utils | |
Console.hxx | |
Malloc.hxx | |
Numbers.hxx | |
rang.hpp | |
ThreadPool.hxx | |
TicToc.hxx | |
Trace.hxx | |
Utils.hxx | |
Utils.hh |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
This page explains how to interpret the graphs that are generated by doxygen.
+Consider the following example:
This will result in the following graph:
+The boxes in the above graph have the following meaning:
+The arrows have the following meaning:
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
CG2lib::AABBtree | Class to manage AABB tree |
CG2lib::AsyPlot | |
CUtils::Barrier | |
▼CG2lib::BaseCurve | Base classe for all the curve ìs in the library |
CG2lib::Biarc | Compute biarc fitting by Hemite data |
CG2lib::BiarcList | Class to manage a list of biarc Curve (not necessarily G2 or G1 connected) |
CG2lib::CircleArc | Class to manage Clothoid Curve |
CG2lib::ClothoidCurve | Class to manage Clothoid Curve |
CG2lib::ClothoidList | Class to manage a list of clothoid curves (not necessarily G2 or G1 connected) |
CG2lib::LineSegment | Class to manage a straight segment |
CG2lib::PolyLine | Class to manage a collection of straight segment |
CG2lib::BBox | Class to manipulate bounding box |
CUtils::BinarySearch< DATA > | |
CUtils::BinarySearch< int_type > | |
Cc_complex_type | |
CG2lib::ClothoidData | Data storage for clothoid type curve |
CG2lib::ClothoidSplineG2 | Class for the computation of G2 spljne of clothoids |
CUtils::Console | |
CUtils::Console::Console_style | |
CPolynomialRoots::Cubic | Cubic polynomial class |
CG2lib::G2solve2arc | Computation of the G2 fitting with 2 clothoid arc |
CG2lib::G2solve3arc | Computation of the G2 fitting with 3 clothoid arcs |
CG2lib::G2solveCLC | Computation of the G2 fitting with 2 clothoid and one line segment |
CGenericContainerNamespace::GenericContainer | GenericContainer is a class which permit to store eterogeneous data: |
CGenericContainerNamespace::GenericContainerExplorer | |
CUtils::Malloc< T > | Allocate memory |
CUtils::Malloc< real_type > | |
CPolynomialRoots::Quadratic | Quadratic polynomial class |
CPolynomialRoots::Quartic | Quartic polynomial class |
▼Cstd::runtime_error | |
CUtils::Runtime_Error | |
CUtils::Runtime_TraceError | |
CUtils::SimpleSemaphore | |
CG2lib::Solve2x2 | Class that solve a 2x2 linear system |
CUtils::SpinLock | |
CUtils::SpinLock_barrier | |
CUtils::ThreadPool | |
CUtils::TicToc | |
CG2lib::Triangle2D | Class to manage Triangle for BB of clothoid curve |
▼Cstd::vector | |
CGenericContainerNamespace::mat_type< TYPE > | |
CUtils::WaitWorker | |
CUtils::Worker |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
file: G2lib.hh
+G1 and G2 fitting with clothoids, spline of clothods, circle arc and biarc
+by Enrico Bertolazzi and Marco Frego
+for the documentation see manual.md
or Doxygen documentation: http://ebertolazzi.github.io/Clothoids/
Enrico Bertolazzi and Marco Frego Department of Industrial Engineering University of Trento enric o.be rtola zzi@ unitn .itm.fre gox@ gmail .com
++ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ + |
+ |
+ Clothoids
+
+ Clothoids: a library for line, circle, clothoids and more
+ |
+
Container C interface |