Exemplo n.º 1
0
static VALUE method_proj4_is_geocentric(VALUE self)
{
  VALUE result = Qnil;
  projPJ pj = RGEO_PROJ4_DATA_PTR(self)->pj;
  if (pj) {
    result = pj_is_geocent(pj) ? Qtrue : Qfalse;
  }
  return result;
}
Exemplo n.º 2
0
 bool is_geocent() const {
     return pj_is_geocent(m_crs.get()) != 0;
 }
Exemplo n.º 3
0
 /** Returns TRUE if the coordinate system is geocentric (proj=geocent). */
 int is_geocent() const
     { return pj_is_geocent(pj); }
Exemplo n.º 4
0
/**Is this projection a geocentric projection?

   call-seq: isGeocentric? -> true or false

 */
static VALUE proj_is_geocent(VALUE self){
  _wrap_pj* wpj;
  Data_Get_Struct(self,_wrap_pj,wpj);
  return pj_is_geocent(wpj->pj) ? Qtrue : Qfalse;
}