/Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Clothoids/src/Clothoids/ClothoidList.hxx Source File
Clothoids
|
ClothoidList.hxx
837 real_type thetaMinMax( real_type & thMin, real_type & thMax ) const { return theta_min_max(thMin,thMax); }
Definition BaseCurve.hxx:192
Definition Biarc.hxx:39
Definition BiarcList.hxx:42
Definition Circle.hxx:37
Definition Clothoid.hxx:48
void translate(real_type tx, real_type ty) override
translate curve by
Definition Clothoid.hxx:898
real_type integral_curvature2() const
Definition Clothoid.cc:1187
real_type curvature_total_variation() const
Definition Clothoid.cc:1176
void rotate(real_type angle, real_type cx, real_type cy) override
Definition Clothoid.hxx:902
real_type theta_total_variation() const
Definition Clothoid.cc:1121
Definition ClothoidList.hxx:861
void get_STK(vector< real_type > &s, vector< real_type > &theta, vector< real_type > &kappa) const
Definition ClothoidList.hxx:2013
void bbox_ISO(real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const override
Definition ClothoidList.cc:824
real_type ny_begin_ISO() const override
Definition ClothoidList.hxx:1536
friend ostream_type & operator<<(ostream_type &stream, ClothoidList const &CL)
Definition ClothoidList.cc:2428
real_type theta_DD(real_type s) const override
Definition ClothoidList.cc:880
integer findST1(real_type x, real_type y, real_type &s, real_type &t) const
Definition ClothoidList.cc:2307
real_type X_ISO(real_type s, real_type offs) const override
Definition ClothoidList.cc:1189
real_type Y_ISO_DDD(real_type s, real_type offs) const override
Definition ClothoidList.cc:1252
bool build_G1(integer n, real_type const x[], real_type const y[])
Definition ClothoidList.cc:578
bool build_raw(integer n, real_type const x[], real_type const y[], real_type const abscissa[], real_type const theta[], real_type const kappa[])
Definition ClothoidList.cc:698
bool collision(ClothoidList const &CL) const
Definition ClothoidList.hxx:2091
real_type Y_DDD(real_type s) const override
Definition ClothoidList.cc:1122
real_type X_ISO_DD(real_type s, real_type offs) const override
Definition ClothoidList.cc:1225
real_type theta_D(real_type s) const override
Definition ClothoidList.cc:871
integer closest_point_in_s_range_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, integer &icurve) const
Definition ClothoidList.cc:2087
real_type x_end_ISO(real_type offs) const override
Definition ClothoidList.hxx:1508
void evaluate(real_type s, real_type &th, real_type &k, real_type &x, real_type &y) const override
Definition ClothoidList.cc:1028
void export_table(ostream_type &stream) const
Definition ClothoidList.cc:2387
void tg_DD(real_type s, real_type &tg_x_DD, real_type &tg_y_DD) const override
Definition ClothoidList.cc:1002
integer closest_point_in_range_SAE(real_type qx, real_type qy, integer icurve_begin, integer icurve_end, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst, integer &icurve) const
Definition ClothoidList.hxx:1875
void eval_ISO_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const override
Definition ClothoidList.cc:1303
real_type X_ISO_DDD(real_type s, real_type offs) const override
Definition ClothoidList.cc:1243
real_type Y_ISO_D(real_type s, real_type offs) const override
Definition ClothoidList.cc:1216
real_type ty_DDD(real_type s) const override
Definition ClothoidList.cc:967
void export_ruby(ostream_type &stream) const
Definition ClothoidList.cc:2404
void intersect(ClothoidList const &CL, IntersectList &ilist) const
Definition ClothoidList.hxx:2134
void tg_D(real_type s, real_type &tg_x_D, real_type &tg_y_D) const override
Definition ClothoidList.cc:989
void evaluate_ISO(real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const override
Definition ClothoidList.cc:1043
real_type X_ISO_D(real_type s, real_type offs) const override
Definition ClothoidList.cc:1207
bool build(real_type x0, real_type y0, real_type theta0, vector< real_type > const &s, vector< real_type > const &kappa)
Definition ClothoidList.hxx:1276
void eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const override
Definition ClothoidList.cc:1261
real_type length_ISO(real_type offs) const override
Definition ClothoidList.cc:762
real_type segment_length_SAE(integer nseg, real_type offs) const
Definition ClothoidList.hxx:1391
void tg(real_type s, real_type &tg_x, real_type &tg_y) const override
Definition ClothoidList.cc:976
integer closest_point_in_range_ISO(real_type qx, real_type qy, integer icurve_begin, integer icurve_end, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst, integer &icurve) const
Definition ClothoidList.cc:2011
real_type y_end_ISO(real_type offs) const override
Definition ClothoidList.hxx:1512
real_type Y_ISO(real_type s, real_type offs) const override
Definition ClothoidList.cc:1198
ClothoidCurve const & get_at_s(real_type s) const
Definition ClothoidList.cc:741
real_type nx_begin_ISO() const override
Definition ClothoidList.hxx:1532
real_type nx_end_ISO() const override
Definition ClothoidList.hxx:1540
void push_back_G1(real_type x1, real_type y1, real_type theta1)
Definition ClothoidList.cc:545
ClothoidList()=delete
void bb_triangles(vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100, integer icurve=0) const override
Definition ClothoidList.cc:789
void tg_DDD(real_type s, real_type &tg_x_DDD, real_type &tg_y_DDD) const override
Definition ClothoidList.cc:1015
void eval_D(real_type s, real_type &x_D, real_type &y_D) const override
Definition ClothoidList.cc:1144
integer closest_point_ISO(real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const override
Definition ClothoidList.cc:1910
void rotate(real_type angle, real_type cx, real_type cy) override
Definition ClothoidList.cc:1330
void get_SK(vector< real_type > &s, vector< real_type > &kappa) const
Definition ClothoidList.hxx:1982
void bb_triangles_ISO(real_type offs, vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100, integer icurve=0) const override
Definition ClothoidList.cc:803
void eval(real_type s, real_type &x, real_type &y) const override
Definition ClothoidList.cc:1131
real_type ny_end_ISO() const override
Definition ClothoidList.hxx:1544
real_type closest_point_by_sample(real_type ds, real_type qx, real_type qy, real_type &X, real_type &Y, real_type &S) const
Definition ClothoidList.cc:2189
void translate(real_type tx, real_type ty) override
translate curve by
Definition ClothoidList.cc:1323
void get_SK(real_type s[], real_type kappa[]) const
Definition ClothoidList.cc:2219
void get_XY(real_type x[], real_type y[]) const
Definition ClothoidList.cc:2266
real_type segment_length(integer nseg) const
Definition ClothoidList.cc:769
void intersect_ISO(real_type offs, ClothoidList const &CL, real_type offs_obj, IntersectList &ilist) const
Definition ClothoidList.cc:1637
void wrap_in_range(real_type &s) const
Definition ClothoidList.cc:271
real_type Y_ISO_DD(real_type s, real_type offs) const override
Definition ClothoidList.cc:1234
void load(istream_type &stream, real_type epsi=1e-8)
Definition ClothoidList.cc:2513
real_type x_begin_ISO(real_type offs) const override
Definition ClothoidList.hxx:1500
bool closure_check(real_type tol_xy=1e-6, real_type tol_tg=1e-6) const
Definition ClothoidList.hxx:1194
void get_STK(real_type s[], real_type theta[], real_type kappa[]) const
Definition ClothoidList.cc:2241
real_type y_begin_ISO(real_type offs) const override
Definition ClothoidList.hxx:1504
integer closest_segment(real_type qx, real_type qy) const
Definition ClothoidList.cc:1931
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)
Definition ClothoidList.hxx:1325
void eval_ISO_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const override
Definition ClothoidList.cc:1289
void info(ostream_type &stream) const override
Definition ClothoidList.hxx:1959
real_type segment_length_ISO(integer nseg, real_type offs) const
Definition ClothoidList.cc:775
void eval_ISO_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const override
Definition ClothoidList.cc:1275
real_type theta_DDD(real_type s) const override
Definition ClothoidList.cc:889
void bb_triangles_SAE(real_type offs, vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/6, real_type max_size=1e100, integer icurve=0) const override
Definition ClothoidList.hxx:1420
real_type tx_DDD(real_type s) const override
Definition ClothoidList.cc:958
void trim(real_type s_begin, real_type s_end) override
Definition ClothoidList.cc:1386
real_type X_DDD(real_type s) const override
Definition ClothoidList.cc:1113
bool collision_ISO(real_type offs, ClothoidList const &CL, real_type offs_C) const
Definition ClothoidList.cc:1563
void change_origin(real_type newx0, real_type newy0) override
Definition ClothoidList.cc:1375
void bbox(real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const override
Definition ClothoidList.hxx:1448
void eval_DDD(real_type s, real_type &x_DDD, real_type &y_DDD) const override
Definition ClothoidList.cc:1170
ClothoidList const & operator=(ClothoidList const &s)
Definition ClothoidList.hxx:952
void eval_DD(real_type s, real_type &x_DD, real_type &y_DD) const override
Definition ClothoidList.cc:1157
integer closest_point_in_s_range_SAE(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, integer &icurve) const
Definition ClothoidList.hxx:1937
real_type theta_begin() const override
Definition ClothoidList.hxx:1476
Definition ClothoidList.hxx:2229
enum class TargetType :integer { P1, P2, P3, P4, P5, P6, P7, P8, P9 } TargetType
Definition ClothoidList.hxx:2234
static string to_string(TargetType n)
Definition ClothoidList.hxx:2246
friend ostream_type & operator<<(ostream_type &stream, ClothoidSplineG2 const &c)
Definition ClothoidG2.cc:1678
Definition Dubins3p.hxx:78
Definition Dubins.hxx:74
Definition ClothoidList.hxx:74
G2solve2arc()=default
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)
Definition ClothoidG2.cc:73
Definition ClothoidList.hxx:427
void translate(real_type tx, real_type ty)
Definition ClothoidList.hxx:808
void eval_ISO_DD(real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const
Definition ClothoidG2.cc:1163
void rotate(real_type angle, real_type cx, real_type cy)
Definition ClothoidList.hxx:798
real_type curvature_total_variation() const
Definition ClothoidList.hxx:604
void eval_ISO_D(real_type s, real_type offs, real_type &x_D, real_type &y_D) const
Definition ClothoidG2.cc:1141
void eval_DD(real_type s, real_type &x_DD, real_type &y_DD) const
Definition ClothoidG2.cc:1076
real_type theta_total_variation() const
Definition ClothoidList.hxx:594
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)
Definition ClothoidG2.cc:509
void eval_ISO_DDD(real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const
Definition ClothoidG2.cc:1185
friend ostream_type & operator<<(ostream_type &stream, ClothoidCurve const &c)
Definition Clothoid.cc:1251
real_type curvature_min_max(real_type &kMin, real_type &kMax) const
Definition ClothoidG2.cc:930
void eval_DDD(real_type s, real_type &x_DDD, real_type &y_DDD) const
Definition ClothoidG2.cc:1097
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)
Definition ClothoidG2.cc:618
real_type integral_curvature2() const
Definition ClothoidList.hxx:614
void eval(real_type s, real_type &theta, real_type &kappa, real_type &x, real_type &y) const
Definition ClothoidG2.cc:1011
real_type theta_min_max(real_type &thMin, real_type &thMax) const
Definition ClothoidG2.cc:915
void eval_ISO(real_type s, real_type offs, real_type &x, real_type &y) const
Definition ClothoidG2.cc:1119
void eval_D(real_type s, real_type &x_D, real_type &y_D) const
Definition ClothoidG2.cc:1055
void save(ostream_type &stream) const
save clothoid list of a file stream
Definition ClothoidList.cc:2543
Definition ClothoidList.hxx:267
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)
Definition ClothoidG2.cc:337
G2solveCLC()=default
Definition Line.hxx:37
Definition BBox.cc:42
GC_namespace::GenericContainer GenericContainer
Generic container object.
Definition Clothoids.hh:84
std::basic_ostream< char > ostream_type
output streaming
Definition Clothoids.hh:78
std::vector< Ipair > IntersectList
Vector of pair of two real number.
Definition BaseCurve.hxx:36
enum class CurveType :integer { LINE, POLYLINE, CIRCLE, BIARC, BIARC_LIST, CLOTHOID, CLOTHOID_LIST, DUBINS, DUBINS3P } CurveType
Definition Clothoids.hh:89
Generated by 1.12.0