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

Clothoids: /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Clothoids/src/Clothoids/Line_compatibility.hxx Source File
Clothoids
Line_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
24void
25changeOrigin( real_type newx0, real_type newy0 )
26{ change_origin( newx0, newy0 ); }
27
28real_type xBegin() const { return x_begin(); }
29real_type yBegin() const { return y_begin(); }
30real_type xEnd() const { return x_end(); }
31real_type yEnd() const { return y_end(); }
32real_type xBegin_ISO( real_type offs ) const { return x_begin_ISO( offs ); }
33real_type yBegin_ISO( real_type offs ) const { return y_begin_ISO( offs ); }
34real_type xEnd_ISO( real_type offs ) const { return x_end_ISO( offs ); }
35real_type yEnd_ISO( real_type offs ) const { return y_end_ISO( offs ); }
36
37real_type tx_Begin() const { return m_c0; }
38real_type ty_Begin() const { return m_s0; }
39real_type tx_End() const { return m_c0; }
40real_type ty_End() const { return m_s0; }
41real_type nx_Begin_ISO() const { return -m_s0; }
42real_type ny_Begin_ISO() const { return m_c0; }
43real_type nx_End_ISO() const { return -m_s0; }
44real_type ny_End_ISO() const { return m_c0; }
45
47closestPoint_ISO(
48 real_type qx,
49 real_type qy,
50 real_type & x,
51 real_type & y,
52 real_type & s,
53 real_type & t,
54 real_type & dst
55) const {
56 return closest_point_ISO( qx, qy, x, y, s, t, dst );
57}
58
60closestPoint_ISO(
61 real_type qx,
62 real_type qy,
63 real_type offs,
64 real_type & x,
65 real_type & y,
66 real_type & s,
67 real_type & t,
68 real_type & dst
69) const {
70 return closest_point_ISO( qx, qy, offs, x, y, s, t, dst );
71}
72
double real_type
real type number
Definition Clothoids.hh:79
int integer
integer type number
Definition Clothoids.hh:80