Functions
The following functions are available globally.
-
Undocumented
Declaration
Objective-C
projXY pj_fwd(projLP, projPJ)
-
Undocumented
Declaration
Objective-C
projLP pj_inv(projXY, projPJ)
-
Undocumented
Declaration
Objective-C
projXYZ pj_fwd3d(projLPZ, projPJ)
-
Undocumented
Declaration
Objective-C
projLPZ pj_inv3d(projXYZ, projPJ)
-
Undocumented
Declaration
Objective-C
int pj_geocentric_to_geodetic( double a, double es, long point_count, int point_offset, double *x, double *y, double *z )
Swift
func pj_geocentric_to_geodetic(_ a: Double, _ es: Double, _ point_count: Int, _ point_offset: Int32, _ x: UnsafeMutablePointer<Double>!, _ y: UnsafeMutablePointer<Double>!, _ z: UnsafeMutablePointer<Double>!) -> Int32
-
Undocumented
Declaration
Objective-C
int pj_geodetic_to_geocentric( double a, double es, long point_count, int point_offset, double *x, double *y, double *z )
Swift
func pj_geodetic_to_geocentric(_ a: Double, _ es: Double, _ point_count: Int, _ point_offset: Int32, _ x: UnsafeMutablePointer<Double>!, _ y: UnsafeMutablePointer<Double>!, _ z: UnsafeMutablePointer<Double>!) -> Int32
-
Undocumented
Declaration
-
Undocumented
Declaration
Objective-C
int pj_apply_gridshift( projCtx, const char *, int, long point_count, int point_offset, double *x, double *y, double *z )
Swift
func pj_apply_gridshift(_: projCtx!, _: UnsafePointer<CChar>!, _: Int32, _ point_count: Int, _ point_offset: Int32, _ x: UnsafeMutablePointer<Double>!, _ y: UnsafeMutablePointer<Double>!, _ z: UnsafeMutablePointer<Double>!) -> Int32
-
Undocumented
Declaration
Objective-C
void pj_deallocate_grids(void)
Swift
func pj_deallocate_grids()
-
Undocumented
Declaration
Objective-C
void pj_clear_initcache(void)
Swift
func pj_clear_initcache()
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
Declaration
Objective-C
void pj_set_finder( const char *(*)(const char *) )
Swift
func pj_set_finder(_: ((UnsafePointer<CChar>?) -> UnsafePointer<CChar>?)!)
-
Undocumented
Declaration
Objective-C
void pj_set_searchpath ( int count, const char **path )
Swift
func pj_set_searchpath(_ count: Int32, _ path: UnsafeMutablePointer<UnsafePointer<CChar>?>!)
-
Undocumented
Declaration
-
Undocumented
Declaration
-
Undocumented
Declaration
-
Undocumented
Declaration
Objective-C
void *pj_malloc(size_t)
Swift
func pj_malloc(_: Int) -> UnsafeMutableRawPointer!
-
Undocumented
Declaration
Objective-C
void pj_dalloc(void *)
Swift
func pj_dalloc(_: UnsafeMutableRawPointer!)
-
Undocumented
Declaration
Objective-C
void *pj_calloc (size_t n, size_t size)
Swift
func pj_calloc(_ n: Int, _ size: Int) -> UnsafeMutableRawPointer!
-
Undocumented
Declaration
Objective-C
void *pj_dealloc (void *ptr)
Swift
func pj_dealloc(_ ptr: UnsafeMutableRawPointer!) -> UnsafeMutableRawPointer!
-
Undocumented
Declaration
Objective-C
char *pj_strerrno(int)
Swift
func pj_strerrno(_: Int32) -> UnsafeMutablePointer<CChar>!
-
Undocumented
Declaration
Objective-C
int *pj_get_errno_ref(void)
Swift
func pj_get_errno_ref() -> UnsafeMutablePointer<Int32>!
-
Undocumented
Declaration
Objective-C
const char *pj_get_release(void)
Swift
func pj_get_release() -> UnsafePointer<CChar>!
-
Undocumented
Declaration
Objective-C
void pj_acquire_lock(void)
Swift
func pj_acquire_lock()
-
Undocumented
Declaration
Objective-C
void pj_release_lock(void)
Swift
func pj_release_lock()
-
Undocumented
Declaration
Objective-C
void pj_cleanup_lock(void)
Swift
func pj_cleanup_lock()
-
Undocumented
-
Undocumented
Declaration
-
Undocumented
-
Undocumented
-
Undocumented
Declaration
Objective-C
void pj_ctx_set_fileapi( projCtx, projFileAPI *)
Swift
func pj_ctx_set_fileapi(_: projCtx!, _: UnsafeMutablePointer<projFileAPI>!)
-
Undocumented
Declaration
Objective-C
projFileAPI *pj_ctx_get_fileapi( projCtx )
Swift
func pj_ctx_get_fileapi(_: projCtx!) -> UnsafeMutablePointer<projFileAPI>!
-
Undocumented
Declaration
Objective-C
void pj_log( projCtx ctx, int level, const char *fmt, ... )
-
Undocumented
Declaration
Objective-C
void pj_stderr_logger( void *, int, const char * )
Swift
func pj_stderr_logger(_: UnsafeMutableRawPointer!, _: Int32, _: UnsafePointer<CChar>!)
-
Undocumented
Declaration
Objective-C
projFileAPI *pj_get_default_fileapi()
Swift
func pj_get_default_fileapi() -> UnsafeMutablePointer<projFileAPI>!
-
Undocumented
Declaration
-
Undocumented
Declaration
-
Undocumented
Declaration
-
Undocumented
Declaration
-
Undocumented
Declaration
-
Undocumented
Declaration
-
Undocumented
Declaration
-
Undocumented
Declaration
Objective-C
int pj_run_selftests (int verbosity)
Swift
func pj_run_selftests(_ verbosity: Int32) -> Int32
-
Undocumented
Declaration
Objective-C
extern double hypot(double, double)
Swift
func hypot(_: Double, _: Double) -> Double
-
Undocumented
Declaration
Objective-C
int pj_generic_selftest ( char *e_args, char *s_args, double tolerance_xy, double tolerance_lp, int n_fwd, int n_inv, LP *fwd_in, XY *e_fwd_expect, XY *s_fwd_expect, XY *inv_in, LP *e_inv_expect, LP *s_inv_expect )
Swift
func pj_generic_selftest(_ e_args: UnsafeMutablePointer<CChar>!, _ s_args: UnsafeMutablePointer<CChar>!, _ tolerance_xy: Double, _ tolerance_lp: Double, _ n_fwd: Int32, _ n_inv: Int32, _ fwd_in: UnsafeMutablePointer<projUV>!, _ e_fwd_expect: UnsafeMutablePointer<projUV>!, _ s_fwd_expect: UnsafeMutablePointer<projUV>!, _ inv_in: UnsafeMutablePointer<projUV>!, _ e_inv_expect: UnsafeMutablePointer<projUV>!, _ s_inv_expect: UnsafeMutablePointer<projUV>!) -> Int32
-
Undocumented
Declaration
Objective-C
double dmstor(const char *, char **)
Swift
func dmstor(_: UnsafePointer<CChar>!, _: UnsafeMutablePointer<UnsafeMutablePointer<CChar>?>!) -> Double
-
Undocumented
Declaration
Objective-C
void set_rtodms(int, int)
Swift
func set_rtodms(_: Int32, _: Int32)
-
Undocumented
Declaration
Objective-C
char *rtodms(char *, double, int, int)
Swift
func rtodms(_: UnsafeMutablePointer<CChar>!, _: Double, _: Int32, _: Int32) -> UnsafeMutablePointer<CChar>!
-
Undocumented
Declaration
Objective-C
double adjlon(double)
Swift
func adjlon(_: Double) -> Double
-
Undocumented
Declaration
Swift
func aasin(_: projCtx!, _: Double) -> Double
-
Undocumented
Declaration
Swift
func asqrt(_: Double) -> Double
-
Undocumented
Declaration
-
Undocumented
Declaration
-
Undocumented
Declaration
-
Undocumented
Declaration
-
Undocumented
Declaration
Objective-C
double *pj_enfn(double)
Swift
func pj_enfn(_: Double) -> UnsafeMutablePointer<Double>!
-
Undocumented
Declaration
Objective-C
double pj_mlfn(double, double, double, double *)
Swift
func pj_mlfn(_: Double, _: Double, _: Double, _: UnsafeMutablePointer<Double>!) -> Double
-
Undocumented
Declaration
Objective-C
double pj_qsfn(double, double, double)
Swift
func pj_qsfn(_: Double, _: Double, _: Double) -> Double
-
Undocumented
Declaration
Objective-C
double pj_tsfn(double, double, double)
Swift
func pj_tsfn(_: Double, _: Double, _: Double) -> Double
-
Undocumented
Declaration
Objective-C
double pj_msfn(double, double, double)
Swift
func pj_msfn(_: Double, _: Double, _: Double) -> Double
-
Undocumented
Declaration
Objective-C
double *pj_authset(double)
Swift
func pj_authset(_: Double) -> UnsafeMutablePointer<Double>!
-
Undocumented
Declaration
Objective-C
double pj_authlat(double, double *)
Swift
func pj_authlat(_: Double, _: UnsafeMutablePointer<Double>!) -> Double
-
Undocumented
Declaration
-
Undocumented
Declaration
Objective-C
void *vector1(int, int)
Swift
func vector1(_: Int32, _: Int32) -> UnsafeMutableRawPointer!
-
Undocumented
Declaration
Objective-C
void **vector2(int, int, int)
Swift
func vector2(_: Int32, _: Int32, _: Int32) -> UnsafeMutablePointer<UnsafeMutableRawPointer?>!
-
Undocumented
Declaration
Objective-C
void freev2(void **v, int nrows)
Swift
func freev2(_ v: UnsafeMutablePointer<UnsafeMutableRawPointer?>!, _ nrows: Int32)
-
Undocumented
Declaration
Objective-C
LP nad_intr(LP, struct CTABLE *)
-
Undocumented
Declaration
Objective-C
LP nad_cvt(LP, int, struct CTABLE *)
-
Undocumented
Declaration
-
Undocumented
Declaration
Objective-C
int pj_apply_vgridshift( PJ *defn, const char *listname, PJ_GRIDINFO ***gridlist_p, int *gridlist_count_p, int inverse, long point_count, int point_offset, double *x, double *y, double *z )
Swift
func pj_apply_vgridshift(_ defn: UnsafeMutablePointer<PJ>!, _ listname: UnsafePointer<CChar>!, _ gridlist_p: UnsafeMutablePointer<UnsafeMutablePointer<UnsafeMutablePointer<PJ_GRIDINFO>?>?>!, _ gridlist_count_p: UnsafeMutablePointer<Int32>!, _ inverse: Int32, _ point_count: Int, _ point_offset: Int32, _ x: UnsafeMutablePointer<Double>!, _ y: UnsafeMutablePointer<Double>!, _ z: UnsafeMutablePointer<Double>!) -> Int32
-
Undocumented
Declaration
Objective-C
int pj_apply_gridshift_2( PJ *defn, int inverse, long point_count, int point_offset, double *x, double *y, double *z )
Swift
func pj_apply_gridshift_2(_ defn: UnsafeMutablePointer<PJ>!, _ inverse: Int32, _ point_count: Int, _ point_offset: Int32, _ x: UnsafeMutablePointer<Double>!, _ y: UnsafeMutablePointer<Double>!, _ z: UnsafeMutablePointer<Double>!) -> Int32
-
Undocumented
Declaration
Objective-C
int pj_apply_gridshift_3( projCtx ctx, PJ_GRIDINFO **gridlist, int gridlist_count, int inverse, long point_count, int point_offset, double *x, double *y, double *z )
Swift
func pj_apply_gridshift_3(_ ctx: projCtx!, _ gridlist: UnsafeMutablePointer<UnsafeMutablePointer<PJ_GRIDINFO>?>!, _ gridlist_count: Int32, _ inverse: Int32, _ point_count: Int, _ point_offset: Int32, _ x: UnsafeMutablePointer<Double>!, _ y: UnsafeMutablePointer<Double>!, _ z: UnsafeMutablePointer<Double>!) -> Int32
-
Undocumented
Declaration
Objective-C
PJ_GRIDINFO **pj_gridlist_from_nadgrids( projCtx, const char *, int * )
Swift
func pj_gridlist_from_nadgrids(_: projCtx!, _: UnsafePointer<CChar>!, _: UnsafeMutablePointer<Int32>!) -> UnsafeMutablePointer<UnsafeMutablePointer<PJ_GRIDINFO>?>!
-
Undocumented
Declaration
Objective-C
PJ_GRIDINFO *pj_gridinfo_init( projCtx, const char * )
Swift
func pj_gridinfo_init(_: projCtx!, _: UnsafePointer<CChar>!) -> UnsafeMutablePointer<PJ_GRIDINFO>!
-
Undocumented
Declaration
Objective-C
int pj_gridinfo_load( projCtx, PJ_GRIDINFO * )
Swift
func pj_gridinfo_load(_: projCtx!, _: UnsafeMutablePointer<PJ_GRIDINFO>!) -> Int32
-
Undocumented
Declaration
Objective-C
void pj_gridinfo_free( projCtx, PJ_GRIDINFO * )
Swift
func pj_gridinfo_free(_: projCtx!, _: UnsafeMutablePointer<PJ_GRIDINFO>!)
-
Undocumented
Declaration
Objective-C
PJ_GridCatalog *pj_gc_findcatalog( projCtx, const char * )
Swift
func pj_gc_findcatalog(_: projCtx!, _: UnsafePointer<CChar>!) -> UnsafeMutablePointer<PJ_GridCatalog>!
-
Undocumented
Declaration
Objective-C
PJ_GridCatalog *pj_gc_readcatalog( projCtx, const char * )
Swift
func pj_gc_readcatalog(_: projCtx!, _: UnsafePointer<CChar>!) -> UnsafeMutablePointer<PJ_GridCatalog>!
-
Undocumented
-
Undocumented
Declaration
Objective-C
int pj_gc_apply_gridshift( PJ *defn, int inverse, long point_count, int point_offset, double *x, double *y, double *z )
Swift
func pj_gc_apply_gridshift(_ defn: UnsafeMutablePointer<PJ>!, _ inverse: Int32, _ point_count: Int, _ point_offset: Int32, _ x: UnsafeMutablePointer<Double>!, _ y: UnsafeMutablePointer<Double>!, _ z: UnsafeMutablePointer<Double>!) -> Int32
-
Undocumented
Declaration
Objective-C
PJ_GRIDINFO *pj_gc_findgrid( projCtx ctx, PJ_GridCatalog *catalog, int after, LP location, double date, PJ_Region *optional_region, double *grid_date )
Swift
func pj_gc_findgrid(_ ctx: projCtx!, _ catalog: UnsafeMutablePointer<PJ_GridCatalog>!, _ after: Int32, _ location: projUV, _ date: Double, _ optional_region: UnsafeMutablePointer<PJ_Region>!, _ grid_date: UnsafeMutablePointer<Double>!) -> UnsafeMutablePointer<PJ_GRIDINFO>!
-
Undocumented
Declaration
Objective-C
void *proj_mdist_ini(double)
Swift
func proj_mdist_ini(_: Double) -> UnsafeMutableRawPointer!
-
Undocumented
Declaration
Objective-C
double proj_mdist(double, double, double, const void *)
Swift
func proj_mdist(_: Double, _: Double, _: Double, _: UnsafeRawPointer!) -> Double
-
Undocumented
Declaration
Objective-C
void *pj_gauss_ini(double, double, double *,double *)
Swift
func pj_gauss_ini(_: Double, _: Double, _: UnsafeMutablePointer<Double>!, _: UnsafeMutablePointer<Double>!) -> UnsafeMutableRawPointer!
-
Undocumented
Declaration
Objective-C
LP pj_gauss(projCtx, LP, const void *)
-
Undocumented
Declaration
Objective-C
LP pj_inv_gauss(projCtx, LP, const void *)
-
Undocumented
Declaration
Objective-C
struct PJ_SELFTEST_LIST *pj_get_selftest_list_ref ( void )
Swift
func pj_get_selftest_list_ref() -> UnsafeMutablePointer<PJ_SELFTEST_LIST>!
-
Undocumented
Declaration
Objective-C
struct PJ_PRIME_MERIDIANS *pj_get_prime_meridians_ref( void )
Swift
func pj_get_prime_meridians_ref() -> UnsafeMutablePointer<PJ_PRIME_MERIDIANS>!
-
Undocumented
Declaration
Objective-C
double pj_atof( const char* nptr )
Swift
func pj_atof(_ nptr: UnsafePointer<CChar>!) -> Double
-
Undocumented
Declaration
Objective-C
double pj_strtod( const char *nptr, char **endptr )
Swift
func pj_strtod(_ nptr: UnsafePointer<CChar>!, _ endptr: UnsafeMutablePointer<UnsafeMutablePointer<CChar>?>!) -> Double