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; }
bool is_geocent() const { return pj_is_geocent(m_crs.get()) != 0; }
/** Returns TRUE if the coordinate system is geocentric (proj=geocent). */ int is_geocent() const { return pj_is_geocent(pj); }
/**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; }