@@ -763,6 +763,106 @@ JNIEXPORT jint JNICALL Java_com_uber_h3core_NativeMethods_uncompact(
763763 return ret ;
764764}
765765
766+ /*
767+ * Class: com_uber_h3core_NativeMethods
768+ * Method: cellAreaRads2
769+ * Signature: (J)D
770+ */
771+ JNIEXPORT jdouble JNICALL Java_com_uber_h3core_NativeMethods_cellAreaRads2 (
772+ JNIEnv * env , jobject thiz , jlong h3 ) {
773+ return cellAreaRads2 (h3 );
774+ }
775+
776+ /*
777+ * Class: com_uber_h3core_NativeMethods
778+ * Method: cellAreaKm2
779+ * Signature: (J)D
780+ */
781+ JNIEXPORT jdouble JNICALL Java_com_uber_h3core_NativeMethods_cellAreaKm2 (
782+ JNIEnv * env , jobject thiz , jlong h3 ) {
783+ return cellAreaKm2 (h3 );
784+ }
785+
786+ /*
787+ * Class: com_uber_h3core_NativeMethods
788+ * Method: cellAreaM2
789+ * Signature: (J)D
790+ */
791+ JNIEXPORT jdouble JNICALL Java_com_uber_h3core_NativeMethods_cellAreaM2 (
792+ JNIEnv * env , jobject thiz , jlong h3 ) {
793+ return cellAreaM2 (h3 );
794+ }
795+
796+ /*
797+ * Class: com_uber_h3core_NativeMethods
798+ * Method: pointDistRads
799+ * Signature: (DDDD)D
800+ */
801+ JNIEXPORT jdouble JNICALL Java_com_uber_h3core_NativeMethods_pointDistRads (
802+ JNIEnv * env , jobject thiz , jdouble lat1 , jdouble lon1 , jdouble lat2 ,
803+ jdouble lon2 ) {
804+ GeoCoord c1 = {.lat = lat1 , .lon = lon1 };
805+ GeoCoord c2 = {.lat = lat2 , .lon = lon2 };
806+ return pointDistRads (& c1 , & c2 );
807+ }
808+
809+ /*
810+ * Class: com_uber_h3core_NativeMethods
811+ * Method: pointDistKm
812+ * Signature: (DDDD)D
813+ */
814+ JNIEXPORT jdouble JNICALL Java_com_uber_h3core_NativeMethods_pointDistKm (
815+ JNIEnv * env , jobject thiz , jdouble lat1 , jdouble lon1 , jdouble lat2 ,
816+ jdouble lon2 ) {
817+ GeoCoord c1 = {.lat = lat1 , .lon = lon1 };
818+ GeoCoord c2 = {.lat = lat2 , .lon = lon2 };
819+ return pointDistKm (& c1 , & c2 );
820+ }
821+
822+ /*
823+ * Class: com_uber_h3core_NativeMethods
824+ * Method: pointDistM
825+ * Signature: (DDDD)D
826+ */
827+ JNIEXPORT jdouble JNICALL Java_com_uber_h3core_NativeMethods_pointDistM (
828+ JNIEnv * env , jobject thiz , jdouble lat1 , jdouble lon1 , jdouble lat2 ,
829+ jdouble lon2 ) {
830+ GeoCoord c1 = {.lat = lat1 , .lon = lon1 };
831+ GeoCoord c2 = {.lat = lat2 , .lon = lon2 };
832+ return pointDistM (& c1 , & c2 );
833+ }
834+
835+ /*
836+ * Class: com_uber_h3core_NativeMethods
837+ * Method: exactEdgeLengthRads
838+ * Signature: (J)D
839+ */
840+ JNIEXPORT jdouble JNICALL
841+ Java_com_uber_h3core_NativeMethods_exactEdgeLengthRads (JNIEnv * env ,
842+ jobject thiz , jlong h3 ) {
843+ return exactEdgeLengthRads (h3 );
844+ }
845+
846+ /*
847+ * Class: com_uber_h3core_NativeMethods
848+ * Method: exactEdgeLengthKm
849+ * Signature: (J)D
850+ */
851+ JNIEXPORT jdouble JNICALL Java_com_uber_h3core_NativeMethods_exactEdgeLengthKm (
852+ JNIEnv * env , jobject thiz , jlong h3 ) {
853+ return exactEdgeLengthKm (h3 );
854+ }
855+
856+ /*
857+ * Class: com_uber_h3core_NativeMethods
858+ * Method: exactEdgeLengthM
859+ * Signature: (J)D
860+ */
861+ JNIEXPORT jdouble JNICALL Java_com_uber_h3core_NativeMethods_exactEdgeLengthM (
862+ JNIEnv * env , jobject thiz , jlong h3 ) {
863+ return exactEdgeLengthM (h3 );
864+ }
865+
766866/*
767867 * Class: com_uber_h3core_NativeMethods
768868 * Method: hexAreaKm2
0 commit comments