Class: GPS_PVT::Coordinate::LLH
- 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::LLH
- Defined in:
- ext/gps_pvt/Coordinate/Coordinate_wrap.cxx,
ext/gps_pvt/Coordinate/Coordinate_wrap.cxx
Overview
Proxy of C++ GPS_PVT::Coordinate::LLH class
Instance Method Summary collapse
-
#height(*args, self) ⇒ Object
(also: #h, #alt)
call-seq: height -> double const & height -> double.
-
#height=(*args) ⇒ Object
(also: #h=, #alt=)
call-seq: height=(double const & v) -> double.
- #initialize(*args, self) ⇒ Object constructor
-
#latitude(*args, self) ⇒ Object
(also: #lat)
call-seq: latitude -> double const & latitude -> double.
-
#latitude=(*args) ⇒ Object
(also: #lat=)
call-seq: latitude=(double const & v) -> double.
-
#longitude(*args, self) ⇒ Object
(also: #lng)
call-seq: longitude -> double const & longitude -> double.
-
#longitude=(*args) ⇒ Object
(also: #lng=)
call-seq: longitude=(double const & v) -> double.
-
#rotation_ecef2enu(*args, self) ⇒ Object
call-seq: rotation_ecef2enu(double const & clat, double const & clng, double const & slat, double const & slng) rotation_ecef2enu.
-
#rotation_ecef2ned(*args, self) ⇒ Object
call-seq: rotation_ecef2ned(double const & clat, double const & clng, double const & slat, double const & slng) rotation_ecef2ned.
-
#xyz(*args) ⇒ Object
call-seq: xyz -> XYZ.
Constructor Details
#initialize(*args, self) ⇒ Object
4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 4214
SWIGINTERN VALUE _wrap_new_LLH(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_LLH__SWIG_0(nargs, args, self);
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_LLHT_double_WGS84_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_LLH__SWIG_2(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_LLH__SWIG_1(nargs, args, self);
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 3, "LLH.new",
" LLH.new()\n"
" LLH.new(double const &latitude, double const &longitude, double const &height)\n"
" LLH.new(System_LLH< double,WGS84 >::self_t const &llh)\n");
return Qnil;
}
|
Instance Method Details
#height(*args, self) ⇒ Object Also known as: h, alt
call-seq:
height -> double const &
height -> double
An instance method.
4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 4563
SWIGINTERN VALUE _wrap_LLH_height(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_LLHT_double_WGS84_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LLH_height__SWIG_1(nargs, args, self);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_LLHT_double_WGS84_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LLH_height__SWIG_0(nargs, args, self);
}
}
fail:
Ruby_Format_OverloadedError( argc, 2, "LLH.height",
" double const LLH.height()\n"
" double & LLH.height()\n");
return Qnil;
}
|
#height=(*args) ⇒ Object Also known as: h=, alt=
call-seq:
height=(double const & v) -> double
An instance method.
5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5098
SWIGINTERN VALUE
_wrap_LLH_heighte___(int argc, VALUE *argv, VALUE self) {
System_LLH< double,WGS84 > *arg1 = (System_LLH< 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_LLHT_double_WGS84_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_LLH< double,WGS84 > *","set_height", 1, self ));
}
arg1 = reinterpret_cast< System_LLH< 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_height", 2, argv[0] ));
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
result = (double)System_LLH_Sl_double_Sc_WGS84_Sg__set_height(arg1,(double const &)*arg2);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#latitude(*args, self) ⇒ Object Also known as: lat
call-seq:
latitude -> double const &
latitude -> double
An instance method.
4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 4413
SWIGINTERN VALUE _wrap_LLH_latitude(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_LLHT_double_WGS84_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LLH_latitude__SWIG_1(nargs, args, self);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_LLHT_double_WGS84_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LLH_latitude__SWIG_0(nargs, args, self);
}
}
fail:
Ruby_Format_OverloadedError( argc, 2, "LLH.latitude",
" double const LLH.latitude()\n"
" double & LLH.latitude()\n");
return Qnil;
}
|
#latitude=(*args) ⇒ Object Also known as: lat=
call-seq:
latitude=(double const & v) -> double
An instance method.
5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5012
SWIGINTERN VALUE
_wrap_LLH_latitudee___(int argc, VALUE *argv, VALUE self) {
System_LLH< double,WGS84 > *arg1 = (System_LLH< 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_LLHT_double_WGS84_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_LLH< double,WGS84 > *","set_latitude", 1, self ));
}
arg1 = reinterpret_cast< System_LLH< 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_latitude", 2, argv[0] ));
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
result = (double)System_LLH_Sl_double_Sc_WGS84_Sg__set_latitude(arg1,(double const &)*arg2);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#longitude(*args, self) ⇒ Object Also known as: lng
call-seq:
longitude -> double const &
longitude -> double
An instance method.
4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 4488
SWIGINTERN VALUE _wrap_LLH_longitude(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_LLHT_double_WGS84_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LLH_longitude__SWIG_1(nargs, args, self);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_System_LLHT_double_WGS84_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LLH_longitude__SWIG_0(nargs, args, self);
}
}
fail:
Ruby_Format_OverloadedError( argc, 2, "LLH.longitude",
" double const LLH.longitude()\n"
" double & LLH.longitude()\n");
return Qnil;
}
|
#longitude=(*args) ⇒ Object Also known as: lng=
call-seq:
longitude=(double const & v) -> double
An instance method.
5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 5055
SWIGINTERN VALUE
_wrap_LLH_longitudee___(int argc, VALUE *argv, VALUE self) {
System_LLH< double,WGS84 > *arg1 = (System_LLH< 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_LLHT_double_WGS84_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_LLH< double,WGS84 > *","set_longitude", 1, self ));
}
arg1 = reinterpret_cast< System_LLH< 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_longitude", 2, argv[0] ));
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
result = (double)System_LLH_Sl_double_Sc_WGS84_Sg__set_longitude(arg1,(double const &)*arg2);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#rotation_ecef2enu(*args, self) ⇒ Object
call-seq:
rotation_ecef2enu(double const & clat, double const & clng, double const & slat, double const & slng)
rotation_ecef2enu
A class method.
4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 4728
SWIGINTERN VALUE _wrap_LLH_rotation_ecef2enu(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[5];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 5) 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_LLHT_double_WGS84_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LLH_rotation_ecef2enu__SWIG_1(nargs, args, self);
}
}
if (argc == 4) {
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) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LLH_rotation_ecef2enu__SWIG_0(nargs, args, self);
}
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 5, "LLH.rotation_ecef2enu",
" void LLH.rotation_ecef2enu(double const &clng, double const &slat, double const &slng, double (&res)[3][3])\n"
" void LLH.rotation_ecef2enu(double (&res)[3][3])\n");
return Qnil;
}
|
#rotation_ecef2ned(*args, self) ⇒ Object
call-seq:
rotation_ecef2ned(double const & clat, double const & clng, double const & slat, double const & slng)
rotation_ecef2ned
A class method.
4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 4912
SWIGINTERN VALUE _wrap_LLH_rotation_ecef2ned(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[5];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 5) 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_LLHT_double_WGS84_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LLH_rotation_ecef2ned__SWIG_1(nargs, args, self);
}
}
if (argc == 4) {
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) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LLH_rotation_ecef2ned__SWIG_0(nargs, args, self);
}
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 5, "LLH.rotation_ecef2ned",
" void LLH.rotation_ecef2ned(double const &clng, double const &slat, double const &slng, double (&res)[3][3])\n"
" void LLH.rotation_ecef2ned(double (&res)[3][3])\n");
return Qnil;
}
|
#xyz(*args) ⇒ Object
call-seq:
xyz -> XYZ
An instance method.
4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 |
# File 'ext/gps_pvt/Coordinate/Coordinate_wrap.cxx', line 4979
SWIGINTERN VALUE
_wrap_LLH_xyz(int argc, VALUE *argv, VALUE self) {
System_LLH< double,WGS84 > *arg1 = (System_LLH< double,WGS84 > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
System_LLH< double,WGS84 >::xyz_t 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_LLHT_double_WGS84_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "System_LLH< double,WGS84 > const *","xyz", 1, self ));
}
arg1 = reinterpret_cast< System_LLH< double,WGS84 > * >(argp1);
result = ((System_LLH< double,WGS84 > const *)arg1)->xyz();
vresult = SWIG_NewPointerObj((new System_LLH< double,WGS84 >::xyz_t(static_cast< const System_LLH< double,WGS84 >::xyz_t& >(result))), SWIGTYPE_p_System_XYZT_double_WGS84_t, SWIG_POINTER_OWN | 0 );
return vresult;
fail:
return Qnil;
}
|