/Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Clothoids/src/Clothoids/ClothoidList_compatibility.hxx Source File

Clothoids: /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Clothoids/src/Clothoids/ClothoidList_compatibility.hxx Source File
Clothoids
ClothoidList_compatibility.hxx
1/*--------------------------------------------------------------------------*\
2 | |
3 | Copyright (C) 2017 |
4 | |
5 | , __ , __ |
6 | /|/ \ /|/ \ |
7 | | __/ _ ,_ | __/ _ ,_ |
8 | | \|/ / | | | | \|/ / | | | |
9 | |(__/|__/ |_/ \_/|/|(__/|__/ |_/ \_/|/ |
10 | /| /| |
11 | \| \| |
12 | |
13 | Enrico Bertolazzi |
14 | Dipartimento di Ingegneria Industriale |
15 | Universita` degli Studi di Trento |
16 | email: enrico.bertolazzi@unitn.it |
17 | |
18\*--------------------------------------------------------------------------*/
19
23
24//real_type curvatureTotalVariation() const { return this->curvature_total_variation(); }
25//real_type integralCurvature2() const { return this->integral_curvature2(); }
26//real_type integralJerk2() const { return this->integral_jerk2(); }
27//real_type integralSnap2() const { return this->integral_snap2(); }
28
29real_type tx_Begin() const { return this->tx_begin(); }
30real_type ty_Begin() const { return this->ty_begin(); }
31real_type tx_End() const { return this->tx_end(); }
32real_type ty_End() const { return this->ty_end(); }
33
34real_type nx_Begin_ISO() const { return this->nx_begin_ISO(); }
35real_type ny_Begin_ISO() const { return this->ny_begin_ISO(); }
36real_type nx_End_ISO() const { return this->nx_end_ISO(); }
37real_type ny_End_ISO() const { return this->ny_end_ISO(); }
38
45void
46getSK( real_type s[], real_type kappa[] ) const
47{ this->get_SK( s, kappa ); }
48
55void
56getSK(
57 vector<real_type> & s,
58 vector<real_type> & kappa
59) const
60{ this->get_SK( s, kappa ); }
61
69void
70getSTK(
71 real_type s[],
72 real_type theta[],
73 real_type kappa[]
74) const
75{ this->get_STK( s, theta, kappa ); }
76
84void
85getSTK(
86 vector<real_type> & s,
87 vector<real_type> & theta,
88 vector<real_type> & kappa
89) const
90{ this->get_STK( s, theta, kappa ); }
91
98void
99getXY( real_type x[], real_type y[] ) const
100{ this->get_XY( x, y ); }
101
102void
103getDeltaTheta( real_type delta_theta[] ) const
104{ this->get_delta_theta( delta_theta ); }
105
106void
107getDeltaKappa( real_type deltaKappa[] ) const
108{ this->get_delta_kappa( deltaKappa ); }
109
110void
111changeOrigin( real_type newx0, real_type newy0 )
112{ this->change_origin( newx0, newy0 ); }
113
114real_type thetaBegin() const { return this->theta_begin(); }
115real_type thetaEnd() const { return this->theta_end(); }
116real_type xBegin() const { return this->x_begin(); }
117real_type yBegin() const { return this->y_begin(); }
118real_type xEnd() const { return this->x_end(); }
119real_type yEnd() const { return this->y_end(); }
120real_type xBegin_ISO( real_type offs ) const { return this->x_begin_ISO( offs ); }
121real_type yBegin_ISO( real_type offs ) const { return this->y_begin_ISO( offs ); }
122real_type xEnd_ISO( real_type offs ) const { return this->x_end_ISO( offs ); }
123real_type yEnd_ISO( real_type offs ) const { return this->y_end_ISO( offs ); }
124
125integer numSegments() const { return num_segments(); }
126
128closestSegment( real_type qx, real_type qy ) const {
129 return this->closest_segment( qx, qy );
130}
131
133closestPoint_ISO(
134 real_type qx,
135 real_type qy,
136 real_type & x,
137 real_type & y,
138 real_type & s,
139 real_type & t,
140 real_type & dst
141) const {
142 return this->closest_point_ISO( qx, qy, x, y, s, t, dst );
143}
144
146closestPoint_ISO(
147 real_type qx,
148 real_type qy,
149 real_type offs,
150 real_type & x,
151 real_type & y,
152 real_type & s,
153 real_type & t,
154 real_type & dst
155) const {
156 return this->closest_point_ISO( qx, qy, offs, x, y, s, t, dst );
157}
158
160closestPointInRange_ISO(
161 real_type qx,
162 real_type qy,
163 integer icurve_begin,
164 integer icurve_end,
165 real_type & x,
166 real_type & y,
167 real_type & s,
168 real_type & t,
169 real_type & dst,
170 integer & icurve
171) const {
172 return this->closest_point_in_range_ISO(
173 qx, qy, icurve_begin, icurve_end, x, y, s, t, dst, icurve
174 );
175}
177closestPointInRange_SAE(
178 real_type qx,
179 real_type qy,
180 integer icurve_begin,
181 integer icurve_end,
182 real_type & x,
183 real_type & y,
184 real_type & s,
185 real_type & t,
186 real_type & dst,
187 integer & icurve
188) const {
189 return this->closest_point_in_range_SAE(
190 qx, qy, icurve_begin, icurve_end, x, y, s, t, dst, icurve
191 );
192}
193
195closestPointInSRange_ISO(
196 real_type qx,
197 real_type qy,
198 real_type s_begin,
199 real_type s_end,
200 real_type & x,
201 real_type & y,
202 real_type & s,
203 real_type & t,
204 real_type & dst,
205 integer & icurve
206) const {
207 return this->closest_point_in_s_range_ISO(
208 qx, qy, s_begin, s_end, x, y, s, t, dst, icurve
209 );
210}
211
213closestPointInSRange_SAE(
214 real_type qx,
215 real_type qy,
216 real_type s_begin,
217 real_type s_end,
218 real_type & x,
219 real_type & y,
220 real_type & s,
221 real_type & t,
222 real_type & dst,
223 integer & icurve
224) const {
225 return this->closest_point_in_s_range_SAE(
226 qx, qy, s_begin, s_end, x, y, s, t, dst, icurve
227 );
228}
229
double real_type
real type number
Definition Clothoids.hh:79
int integer
integer type number
Definition Clothoids.hh:80