Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lucene / include / org / apache / lucene / geo / GeoUtils.h
Size: Mime:
#ifndef org_apache_lucene_geo_GeoUtils_H
#define org_apache_lucene_geo_GeoUtils_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class Class;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace index {
        class PointValues$Relation;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace geo {

        class GeoUtils : public ::java::lang::Object {
         public:
          enum {
            mid_checkLatitude_d9bf1edd64186607,
            mid_checkLongitude_d9bf1edd64186607,
            mid_distanceQuerySortKey_7972cdc924393e85,
            mid_lineRelateLine_66c4a23cb83c8ce8,
            mid_orient_abdce77e44e353c1,
            mid_relate_66c4a23cb83c8ce8,
            mid_sloppySin_7972cdc924393e85,
            max_mid
          };

          static ::java::lang::Class *class$;
          static jmethodID *mids$;
          static bool live$;
          static jclass initializeClass(bool);

          explicit GeoUtils(jobject obj) : ::java::lang::Object(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          GeoUtils(const GeoUtils& obj) : ::java::lang::Object(obj) {}

          static jdouble EARTH_MEAN_RADIUS_METERS;
          static jdouble MAX_LAT_INCL;
          static jdouble MAX_LAT_RADIANS;
          static jdouble MAX_LON_INCL;
          static jdouble MAX_LON_RADIANS;
          static jdouble MIN_LAT_INCL;
          static jdouble MIN_LAT_RADIANS;
          static jdouble MIN_LON_INCL;
          static jdouble MIN_LON_RADIANS;

          static void checkLatitude(jdouble);
          static void checkLongitude(jdouble);
          static jdouble distanceQuerySortKey(jdouble);
          static ::org::apache::lucene::index::PointValues$Relation lineRelateLine(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
          static jint orient(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
          static ::org::apache::lucene::index::PointValues$Relation relate(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
          static jdouble sloppySin(jdouble);
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace geo {
        extern PyType_Def PY_TYPE_DEF(GeoUtils);
        extern PyTypeObject *PY_TYPE(GeoUtils);

        class t_GeoUtils {
        public:
          PyObject_HEAD
          GeoUtils object;
          static PyObject *wrap_Object(const GeoUtils&);
          static PyObject *wrap_jobject(const jobject&);
          static void install(PyObject *module);
          static void initialize(PyObject *module);
        };
      }
    }
  }
}

#endif