Class: GPS_PVT::Coordinate::ENU
- Inherits:
-
((swig_class *) SWIGTYPE_p_System_3DT_double_t->clientdata)->klass
- Object
- ((swig_class *) SWIGTYPE_p_System_3DT_double_t->clientdata)->klass
- GPS_PVT::Coordinate::ENU
- Defined in:
- ext/gps_pvt/Coordinate/Coordinate_wrap.cxx,
ext/gps_pvt/Coordinate/Coordinate_wrap.cxx
Overview
Proxy of C++ GPS_PVT::Coordinate::ENU class
Class Method Summary collapse
-
.relative(*args) ⇒ Object
call-seq: relative(XYZ pos, XYZ base) -> ENU.
-
.relative_rel(*args, self) ⇒ Object
call-seq: relative_rel(XYZ rel_pos, LLH base_llh) -> ENU relative_rel(XYZ rel_pos, XYZ base) -> ENU.
Instance Method Summary collapse
-
#absolute(*args) ⇒ Object
call-seq: absolute(XYZ base) -> XYZ.
-
#azimuth(*args) ⇒ Object
call-seq: azimuth -> double.
-
#distance(*args) ⇒ Object
call-seq: distance -> double.
-
#down(*args) ⇒ Object
(also: #d)
call-seq: down -> double.
-
#east(*args, self) ⇒ Object
(also: #e)
call-seq: east -> double const & east -> double.
-
#east=(*args) ⇒ Object
(also: #e=)
call-seq: east=(double const & v) -> double.
-
#elevation(*args) ⇒ Object
call-seq: elevation -> double.
-
#horizontal(*args) ⇒ Object
call-seq: horizontal -> double.
- #initialize(*args, self) ⇒ Object constructor
-
#north(*args, self) ⇒ Object
(also: #n)
call-seq: north -> double const & north -> double.
-
#north=(*args) ⇒ Object
(also: #n=)
call-seq: north=(double const & v) -> double.
-
#set_down(*args) ⇒ Object
(also: #d=)
call-seq: set_down(double const & v) -> double.
-
#up(*args, self) ⇒ Object
(also: #u)
call-seq: up -> double const & up -> double.
-
#up=(*args) ⇒ Object
(also: #u=)
call-seq: up=(double const & v) -> double.
-
#vertical(*args) ⇒ Object
call-seq: vertical -> double.
Constructor Details
#initialize(*args, self) ⇒ Object
5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5280 SWIGINTERN VALUE _wrap_new_ENU(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[3]; int ii; argc = nargs; if (argc > 3) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 0) { return _wrap_new_ENU__SWIG_0(nargs, args, self); } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_ENUT_double_WGS84_t, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_ENU__SWIG_2(nargs, args, self); } } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Vector3T_double_t, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_ENU__SWIG_3(nargs, args, self); } } if (argc == 3) { int _v; { int res = SWIG_AsVal_double(argv[0], NULL); _v = SWIG_CheckState(res); } if (_v) { { int res = SWIG_AsVal_double(argv[1], NULL); _v = SWIG_CheckState(res); } if (_v) { { int res = SWIG_AsVal_double(argv[2], NULL); _v = SWIG_CheckState(res); } if (_v) { return _wrap_new_ENU__SWIG_1(nargs, args, self); } } } } fail: Ruby_Format_OverloadedError( argc, 3, "ENU.new", " ENU.new()\n" " ENU.new(double const &east, double const &north, double const &up)\n" " ENU.new(System_ENU< double,WGS84 >::self_t const &enu)\n" " ENU.new(Vector3< double > const &vec)\n"); return Qnil; } |
Class Method Details
.relative(*args) ⇒ Object
call-seq:
relative(XYZ pos, XYZ base) -> ENU
A class method.
5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5887 SWIGINTERN VALUE _wrap_ENU_relative(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 >::xyz_t *arg1 = 0 ; System_ENU< double,WGS84 >::xyz_t *arg2 = 0 ; void *argp1 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; System_ENU< double,WGS84 >::self_t result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_System_XYZT_double_WGS84_t, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 >::xyz_t const &","System_ENU<(double,WGS84)>::relative", 1, argv[0] )); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "System_ENU< double,WGS84 >::xyz_t const &","System_ENU<(double,WGS84)>::relative", 1, argv[0])); } arg1 = reinterpret_cast< System_ENU< double,WGS84 >::xyz_t * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2, SWIGTYPE_p_System_XYZT_double_WGS84_t, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 >::xyz_t const &","System_ENU<(double,WGS84)>::relative", 2, argv[1] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "System_ENU< double,WGS84 >::xyz_t const &","System_ENU<(double,WGS84)>::relative", 2, argv[1])); } arg2 = reinterpret_cast< System_ENU< double,WGS84 >::xyz_t * >(argp2); result = System_ENU< double,WGS84 >::SWIGTEMPLATEDISAMBIGUATOR relative((System_XYZ< double,WGS84 > const &)*arg1,(System_XYZ< double,WGS84 > const &)*arg2); vresult = SWIG_NewPointerObj((new System_ENU< double,WGS84 >::self_t(static_cast< const System_ENU< double,WGS84 >::self_t& >(result))), SWIGTYPE_p_System_ENUT_double_WGS84_t, SWIG_POINTER_OWN | 0 ); return vresult; fail: return Qnil; } |
.relative_rel(*args, self) ⇒ Object
call-seq:
relative_rel(XYZ rel_pos, LLH base_llh) -> ENU
relative_rel(XYZ rel_pos, XYZ base) -> ENU
A class method.
5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5830 SWIGINTERN VALUE _wrap_ENU_relative_rel(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[2]; int ii; argc = nargs; if (argc > 2) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_XYZT_double_WGS84_t, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_System_LLHT_double_WGS84_t, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { return _wrap_ENU_relative_rel__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_XYZT_double_WGS84_t, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_System_XYZT_double_WGS84_t, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { return _wrap_ENU_relative_rel__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 2, "ENU.relative_rel", " System_ENU< double,WGS84 >::self_t ENU.relative_rel(System_ENU< double,WGS84 >::xyz_t const &rel_pos, System_ENU< double,WGS84 >::llh_t const &base_llh)\n" " System_ENU< double,WGS84 >::self_t ENU.relative_rel(System_ENU< double,WGS84 >::xyz_t const &rel_pos, System_ENU< double,WGS84 >::xyz_t const &base)\n"); return Qnil; } |
Instance Method Details
#absolute(*args) ⇒ Object
call-seq:
absolute(XYZ base) -> XYZ
An instance method.
5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5934 SWIGINTERN VALUE _wrap_ENU_absolute(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ; System_ENU< double,WGS84 >::xyz_t *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 ; int res2 = 0 ; System_ENU< double,WGS84 >::xyz_t result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > const *","absolute", 1, self )); } arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_System_XYZT_double_WGS84_t, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 >::xyz_t const &","absolute", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "System_ENU< double,WGS84 >::xyz_t const &","absolute", 2, argv[0])); } arg2 = reinterpret_cast< System_ENU< double,WGS84 >::xyz_t * >(argp2); result = ((System_ENU< double,WGS84 > const *)arg1)->absolute((System_ENU< double,WGS84 >::xyz_t const &)*arg2); vresult = SWIG_NewPointerObj((new System_ENU< double,WGS84 >::xyz_t(static_cast< const System_ENU< double,WGS84 >::xyz_t& >(result))), SWIGTYPE_p_System_XYZT_double_WGS84_t, SWIG_POINTER_OWN | 0 ); return vresult; fail: return Qnil; } |
#azimuth(*args) ⇒ Object
call-seq:
azimuth -> double
An instance method.
6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6044 SWIGINTERN VALUE _wrap_ENU_azimuth(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > const *","azimuth", 1, self )); } arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1); result = (double)((System_ENU< double,WGS84 > const *)arg1)->azimuth(); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } |
#distance(*args) ⇒ Object
call-seq:
distance -> double
An instance method.
5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5978 SWIGINTERN VALUE _wrap_ENU_distance(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > const *","distance", 1, self )); } arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1); result = (double)((System_ENU< double,WGS84 > const *)arg1)->distance(); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } |
#down(*args) ⇒ Object Also known as: d
call-seq:
down -> double
An instance method.
6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6077 SWIGINTERN VALUE _wrap_ENU_down(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > const *","down", 1, self )); } arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1); result = (double)System_ENU_Sl_double_Sc_WGS84_Sg__down((System_ENU< double,WGS84 > const *)arg1); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } |
#east(*args, self) ⇒ Object Also known as: e
call-seq:
east -> double const &
east -> double
An instance method.
5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5489 SWIGINTERN VALUE _wrap_ENU_east(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[2]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 2) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_ENUT_double_WGS84_t, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_ENU_east__SWIG_1(nargs, args, self); } } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_ENUT_double_WGS84_t, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_ENU_east__SWIG_0(nargs, args, self); } } fail: Ruby_Format_OverloadedError( argc, 2, "ENU.east", " double const ENU.east()\n" " double & ENU.east()\n"); return Qnil; } |
#east=(*args) ⇒ Object Also known as: e=
call-seq:
east=(double const & v) -> double
An instance method.
6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6153 SWIGINTERN VALUE _wrap_ENU_easte___(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ; double *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; double temp2 ; double val2 ; int ecode2 = 0 ; double result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > *","set_east", 1, self )); } arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","set_east", 2, argv[0] )); } temp2 = static_cast< double >(val2); arg2 = &temp2; result = (double)System_ENU_Sl_double_Sc_WGS84_Sg__set_east(arg1,(double const &)*arg2); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } |
#elevation(*args) ⇒ Object
call-seq:
elevation -> double
An instance method.
6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6011 SWIGINTERN VALUE _wrap_ENU_elevation(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > const *","elevation", 1, self )); } arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1); result = (double)((System_ENU< double,WGS84 > const *)arg1)->elevation(); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } |
#horizontal(*args) ⇒ Object
call-seq:
horizontal -> double
An instance method.
5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5687 SWIGINTERN VALUE _wrap_ENU_horizontal(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > const *","horizontal", 1, self )); } arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1); result = (double)((System_ENU< double,WGS84 > const *)arg1)->horizontal(); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } |
#north(*args, self) ⇒ Object Also known as: n
call-seq:
north -> double const &
north -> double
An instance method.
5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5564 SWIGINTERN VALUE _wrap_ENU_north(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[2]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 2) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_ENUT_double_WGS84_t, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_ENU_north__SWIG_1(nargs, args, self); } } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_ENUT_double_WGS84_t, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_ENU_north__SWIG_0(nargs, args, self); } } fail: Ruby_Format_OverloadedError( argc, 2, "ENU.north", " double const ENU.north()\n" " double & ENU.north()\n"); return Qnil; } |
#north=(*args) ⇒ Object Also known as: n=
call-seq:
north=(double const & v) -> double
An instance method.
6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6196 SWIGINTERN VALUE _wrap_ENU_northe___(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ; double *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; double temp2 ; double val2 ; int ecode2 = 0 ; double result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > *","set_north", 1, self )); } arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","set_north", 2, argv[0] )); } temp2 = static_cast< double >(val2); arg2 = &temp2; result = (double)System_ENU_Sl_double_Sc_WGS84_Sg__set_north(arg1,(double const &)*arg2); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } |
#set_down(*args) ⇒ Object Also known as: d=
call-seq:
set_down(double const & v) -> double
An instance method.
6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6110 SWIGINTERN VALUE _wrap_ENU_set_down(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ; double *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; double temp2 ; double val2 ; int ecode2 = 0 ; double result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > *","set_down", 1, self )); } arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","set_down", 2, argv[0] )); } temp2 = static_cast< double >(val2); arg2 = &temp2; result = (double)System_ENU_Sl_double_Sc_WGS84_Sg__set_down(arg1,(double const &)*arg2); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } |
#up(*args, self) ⇒ Object Also known as: u
call-seq:
up -> double const &
up -> double
An instance method.
5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5639 SWIGINTERN VALUE _wrap_ENU_up(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[2]; int ii; argc = nargs + 1; argv[0] = self; if (argc > 2) SWIG_fail; for (ii = 1; (ii < argc); ++ii) { argv[ii] = args[ii-1]; } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_ENUT_double_WGS84_t, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_ENU_up__SWIG_1(nargs, args, self); } } if (argc == 1) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_ENUT_double_WGS84_t, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_ENU_up__SWIG_0(nargs, args, self); } } fail: Ruby_Format_OverloadedError( argc, 2, "ENU.up", " double const ENU.up()\n" " double & ENU.up()\n"); return Qnil; } |
#up=(*args) ⇒ Object Also known as: u=
call-seq:
up=(double const & v) -> double
An instance method.
6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6239 SWIGINTERN VALUE _wrap_ENU_upe___(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ; double *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; double temp2 ; double val2 ; int ecode2 = 0 ; double result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > *","set_up", 1, self )); } arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","set_up", 2, argv[0] )); } temp2 = static_cast< double >(val2); arg2 = &temp2; result = (double)System_ENU_Sl_double_Sc_WGS84_Sg__set_up(arg1,(double const &)*arg2); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } |
#vertical(*args) ⇒ Object
call-seq:
vertical -> double
An instance method.
5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5720 SWIGINTERN VALUE _wrap_ENU_vertical(int argc, VALUE *argv, VALUE self) { System_ENU< double,WGS84 > *arg1 = (System_ENU< double,WGS84 > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_System_ENUT_double_WGS84_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_ENU< double,WGS84 > const *","vertical", 1, self )); } arg1 = reinterpret_cast< System_ENU< double,WGS84 > * >(argp1); result = (double)((System_ENU< double,WGS84 > const *)arg1)->vertical(); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } |