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.
-
#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
5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5236 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.
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 5876 5877 5878 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5843 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.
5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5786 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.
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 5890 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.
5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5967 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; } |
#down(*args) ⇒ Object Also known as: d
call-seq:
down -> double
An instance method.
6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6000 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.
5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5445 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.
6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6076 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.
5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5934 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.
5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5643 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.
5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5520 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.
6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6119 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.
6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6033 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.
5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5595 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.
6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 6162 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.
5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5676 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; } |