repo_name
stringclasses
10 values
file_path
stringlengths
29
222
content
stringlengths
24
926k
extention
stringclasses
5 values
rticonnextdds-usecases
data/projects/rticonnextdds-usecases/VehicleTracking/ExampleCode/src/TrackGui/FlightInfo.h
/* * (c) 2021 Copyright, Real-Time Innovations, Inc. (RTI) All rights reserved. * * RTI grants Licensee a license to use, modify, compile, and create derivative * works of the software solely for use with RTI Connext DDS. Licensee may * redistribute copies of the software provided that all such copies are * subj...
h
rticonnextdds-usecases
data/projects/rticonnextdds-usecases/VehicleTracking/ExampleCode/resource/gui/resource.h
/* * (c) 2021 Copyright, Real-Time Innovations, Inc. (RTI) * All rights reserved. * * RTI grants Licensee a license to use, modify, compile, and create derivative * works of the Software solely in combination with RTI Connext DDS. Licensee * may redistribute copies of the Software provided that all such copies ar...
h
PROJ
data/projects/PROJ/examples/EPSG_4326_to_32631.cpp
/******************************************************************************* Example code that illustrates how to convert between two CRS Note: This file is in-lined in the documentation. Any changes must be reflected in docs/source/development/quickstart.rst ******************************************...
cpp
PROJ
data/projects/PROJ/examples/crs_to_geodetic.c
/******************************************************************************* Example code that illustrates how to convert between a CRS and geodetic coordnates for that CRS. Note: This file is in-lined in the documentation. Any changes must be reflected in docs/source/development/quickstart.rst **...
c
PROJ
data/projects/PROJ/examples/pj_obs_api_mini_demo.c
/******************************************************************************* Simple example code demonstrating use of the proj.h API for 2D coordinate transformations. Note: This file is in-lined in the documentation. Any changes must be reflected in docs/source/development/quickstart.rst Thom...
c
PROJ
data/projects/PROJ/src/wkt1_parser.cpp
/****************************************************************************** * Project: PROJ * Purpose: WKT1 parser grammar * Author: Even Rouault, <even dot rouault at mines dash paris dot org> * ****************************************************************************** * Copyright (c) 2013, Even Roua...
cpp
PROJ
data/projects/PROJ/src/mutex.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Mutex (thread lock) functions. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copyright (c) 2009, Frank Warmerdam * ...
cpp
PROJ
data/projects/PROJ/src/gauss.cpp
/* ** libproj -- library of cartographic projections ** ** Copyright (c) 2003 Gerald I. Evenden */ /* ** Permission is hereby granted, free of charge, to any person obtaining ** a copy of this software and associated documentation files (the ** "Software"), to deal in the Software without restriction, including ** wi...
cpp
PROJ
data/projects/PROJ/src/adjlon.cpp
/* reduce argument to range +/- PI */ #include <math.h> #include "proj.h" #include "proj_internal.h" double adjlon(double longitude) { /* Let longitude slightly overshoot, to avoid spurious sign switching at the * date line */ if (fabs(longitude) < M_PI + 1e-12) return longitude; /* adjust t...
cpp
PROJ
data/projects/PROJ/src/proj.h
/****************************************************************************** * Project: PROJ.4 * Purpose: Revised, experimental API for PROJ.4, intended as the foundation * for added geodetic functionality. * * The original proj API (defined previously in projects.h) has grown * ...
h
PROJ
data/projects/PROJ/src/ellps.cpp
/* definition of standard geoids */ #include <stddef.h> #include "proj.h" #include "proj_internal.h" static const struct PJ_ELLPS pj_ellps[] = { {"MERIT", "a=6378137.0", "rf=298.257", "MERIT 1983"}, {"SGS85", "a=6378136.0", "rf=298.257", "Soviet Geodetic System 85"}, {"GRS80", "a=6378137.0", "rf=298.2572...
cpp
PROJ
data/projects/PROJ/src/phi2.cpp
/* Determine latitude angle phi-2. */ #include <algorithm> #include <limits> #include <math.h> #include "proj.h" #include "proj_internal.h" double pj_sinhpsi2tanphi(PJ_CONTEXT *ctx, const double taup, const double e) { /**************************************************************************** * Convert t...
cpp
PROJ
data/projects/PROJ/src/inv.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Inverse operation invocation * Author: Thomas Knudsen, thokn@sdfe.dk, 2018-01-02 * Based on material from Gerald Evenden (original pj_inv) * and Piyush Agram (original pj_inv3d) *...
cpp
PROJ
data/projects/PROJ/src/strtod.cpp
/****************************************************************************** * * Derived from GDAL port/cpl_strtod.cpp * Purpose: Functions to convert ASCII string to floating point number. * Author: Andrey Kiselev, dron@ak4719.spb.edu. * *********************************************************************...
cpp
PROJ
data/projects/PROJ/src/rtodms.cpp
/* Convert radian argument to DMS ascii format */ #include <math.h> #include <stddef.h> #include <stdio.h> #include <string.h> #include "proj.h" #include "proj_internal.h" /* ** RES is fractional second figures ** RES60 = 60 * RES ** CONV = 180 * 3600 * RES / PI (radians to RES seconds) */ static double RES = 1000.,...
cpp
PROJ
data/projects/PROJ/src/ell_set.cpp
/* set ellipsoid parameters a and es */ #include <math.h> #include <stddef.h> #include <string.h> #include "proj.h" #include "proj_internal.h" /* Prototypes of the pj_ellipsoid helper functions */ static int ellps_ellps(PJ *P); static int ellps_size(PJ *P); static int ellps_shape(PJ *P); static int ellps_spherificat...
cpp
PROJ
data/projects/PROJ/src/grids.hpp
/****************************************************************************** * Project: PROJ * Purpose: Grid management * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2019, Even Rouault, <even.rouault ...
hpp
PROJ
data/projects/PROJ/src/proj_internal.h
/****************************************************************************** * Project: PROJ.4 * Purpose: Internal plumbing for the PROJ.4 library. * * Author: Thomas Knudsen, <thokn@sdfe.dk> * ****************************************************************************** * Copyright (c) 2016, 2017, Thoma...
h
PROJ
data/projects/PROJ/src/proj_json_streaming_writer.cpp
/****************************************************************************** * * Project: CPL - Common Portability Library * Purpose: JSon streaming writer * Author: Even Rouault, even.rouault at spatialys.com * ****************************************************************************** * Copyright (c)...
cpp
PROJ
data/projects/PROJ/src/sqlite3_utils.hpp
/****************************************************************************** * Project: PROJ * Purpose: SQLite3 related utilities * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2019, Even Rouault, <eve...
hpp
PROJ
data/projects/PROJ/src/networkfilemanager.cpp
/****************************************************************************** * Project: PROJ * Purpose: Functionality related to network access and caching * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c...
cpp
PROJ
data/projects/PROJ/src/proj_experimental.h
/****************************************************************************** * * Project: PROJ * Purpose: Experimental C API * Author: Even Rouault <even dot rouault at spatialys dot com> * ****************************************************************************** * Copyright (c) 2018, Even Rouault <e...
h
PROJ
data/projects/PROJ/src/list.cpp
/* Projection System: default list of projections */ #define DO_NOT_DEFINE_PROJ_HEAD #include "proj.h" #include "proj_internal.h" /* Generate prototypes for projection functions */ #define PROJ_HEAD(id, name) \ extern "C" struct PJconsts *pj_##id(struct PJconst...
cpp
PROJ
data/projects/PROJ/src/4D_api.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Implement a (currently minimalistic) proj API based primarily * on the PJ_COORD 4D geodetic spatiotemporal data type. * * Author: Thomas Knudsen, thokn@sdfe.dk, 2016-06-09/2016-11-06 * ***...
cpp
PROJ
data/projects/PROJ/src/wkt_parser.cpp
/****************************************************************************** * Project: PROJ * Purpose: WKT parser common routines * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2018 Even Rouault, <eve...
cpp
PROJ
data/projects/PROJ/src/ctx.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Implementation of the PJ_CONTEXT thread context object. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copyright (c) 2...
cpp
PROJ
data/projects/PROJ/src/pj_list.h
#ifdef DO_PJ_LIST_ID static const char PJ_LIST_H_ID[] = "@(#)pj_list.h 4.5 95/08/09 GIE REL"; #endif /* Full list of current projections for Tue Jan 11 12:27:04 EST 1994 ** ** Copy this file and retain only appropriate lines for subset list */ PROJ_HEAD(adams_hemi, "Adams Hemisphere in a Square") PROJ_HEAD(adams_ws...
h
PROJ
data/projects/PROJ/src/aasincos.cpp
/* arc sin, cosine, tan2 and sqrt that will NOT fail */ #include <math.h> #include "proj.h" #include "proj_internal.h" #define ONE_TOL 1.00000000000001 #define ATOL 1e-50 double aasin(PJ_CONTEXT *ctx, double v) { double av; if ((av = fabs(v)) >= 1.) { if (av > ONE_TOL) proj_context_errn...
cpp
PROJ
data/projects/PROJ/src/pipeline.cpp
/******************************************************************************* Transformation pipeline manager Thomas Knudsen, 2016-05-20/2016-11-20 ******************************************************************************** Geodetic transformations are typicall...
cpp
PROJ
data/projects/PROJ/src/tsfn.cpp
/* determine small t */ #include "proj.h" #include "proj_internal.h" #include <math.h> double pj_tsfn(double phi, double sinphi, double e) { /**************************************************************************** * Determine function ts(phi) defined in Snyder (1987), Eq. (7-10) * Inputs: * p...
cpp
PROJ
data/projects/PROJ/src/qsfn.cpp
/* determine small q */ #include "proj.h" #include "proj_internal.h" #include <math.h> #define EPSILON 1.0e-7 double pj_qsfn(double sinphi, double e, double one_es) { double con, div1, div2; if (e >= EPSILON) { con = e * sinphi; div1 = 1.0 - con * con; div2 = 1.0 + con; /* av...
cpp
PROJ
data/projects/PROJ/src/auth.cpp
/* determine latitude from authalic latitude */ #include <math.h> #include <stddef.h> #include "proj.h" #include "proj_internal.h" #define P00 .33333333333333333333 /* 1 / 3 */ #define P01 .17222222222222222222 /* 31 / 180 */ #define P02 .10257936507936507937 /* 517 / 5040 */ #define P10 .06388888888888888...
cpp
PROJ
data/projects/PROJ/src/proj_constants.h
/****************************************************************************** * * Project: PROJ * Purpose: Constants * Author: Even Rouault <even dot rouault at spatialys dot com> * ****************************************************************************** * Copyright (c) 2018, Even Rouault <even dot r...
h
PROJ
data/projects/PROJ/src/proj_mdist.cpp
/* ** libproj -- library of cartographic projections ** ** Copyright (c) 2003, 2006 Gerald I. Evenden */ /* ** Permission is hereby granted, free of charge, to any person obtaining ** a copy of this software and associated documentation files (the ** "Software"), to deal in the Software without restriction, including...
cpp
PROJ
data/projects/PROJ/src/grids.cpp
/****************************************************************************** * Project: PROJ * Purpose: Grid management * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2000, Frank Warmerdam <warmerdam@p...
cpp
PROJ
data/projects/PROJ/src/wkt2_generated_parser.h
/* A Bison parser, made by GNU Bison 3.5.1. */ /* Bison interface for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
h
PROJ
data/projects/PROJ/src/msfn.cpp
/* determine constant small m */ #include "proj.h" #include "proj_internal.h" #include <math.h> double pj_msfn(double sinphi, double cosphi, double es) { return (cosphi / sqrt(1. - es * sinphi * sinphi)); }
cpp
PROJ
data/projects/PROJ/src/quadtree.hpp
/****************************************************************************** * Project: PROJ * Purpose: Implementation of quadtree building and searching functions. * Derived from shapelib, mapserver and GDAL implementations * Author: Even Rouault, <even.rouault at spatialys.com> * **************...
hpp
PROJ
data/projects/PROJ/src/generic_inverse.cpp
/****************************************************************************** * * Project: PROJ * Purpose: Generic method to compute inverse projection from forward method * Author: Even Rouault <even dot rouault at spatialys dot com> * ***********************************************************************...
cpp
PROJ
data/projects/PROJ/src/proj_symbol_rename.h
/* This is a generated file by create_proj_symbol_rename.sh. *DO NOT EDIT * MANUALLY !* */ #ifndef PROJ_SYMBOL_RENAME_H #define PROJ_SYMBOL_RENAME_H #define geod_direct internal_geod_direct #define geod_directline internal_geod_directline #define geod_gendirect internal_geod_gendirect #define geod_gendirectline intern...
h
PROJ
data/projects/PROJ/src/wkt1_parser.h
/****************************************************************************** * Project: PROJ * Purpose: WKT1 parser grammar * Author: Even Rouault, <even dot rouault at mines dash paris dot org> * ****************************************************************************** * Copyright (c) 2013, Even Roua...
h
PROJ
data/projects/PROJ/src/units.cpp
/* definition of standard cartesian units */ #include <stddef.h> #include "proj.h" #include "proj_internal.h" /* Field 2 that contains the multiplier to convert named units to meters ** may be expressed by either a simple floating point constant or a ** numerator/denomenator values (e.g. 1/1000) */ static const str...
cpp
PROJ
data/projects/PROJ/src/init.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Initialize projection object from string definition. Includes * pj_init(), and pj_init_plus() function. * Author: Gerald Evenden, Frank Warmerdam <warmerdam@pobox.com> * ********************...
cpp
PROJ
data/projects/PROJ/src/wkt1_generated_parser.c
/* A Bison parser, made by GNU Bison 3.5.1. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License a...
c
PROJ
data/projects/PROJ/src/fwd.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Forward operation invocation * Author: Thomas Knudsen, thokn@sdfe.dk, 2018-01-02 * Based on material from Gerald Evenden (original pj_fwd) * and Piyush Agram (original pj_fwd3d) *...
cpp
PROJ
data/projects/PROJ/src/internal.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: This is primarily material originating from pj_obs_api.c * (now proj_4D_api.c), that does not fit into the API * category. Hence this pile of tubings and fittings for * PROJ....
cpp
PROJ
data/projects/PROJ/src/datum_set.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Apply datum definition to PJ structure from initialization string. * Author: Frank Warmerdam, warmerda@home.com * ****************************************************************************** * Copyri...
cpp
PROJ
data/projects/PROJ/src/factors.cpp
/* projection scale factors */ #include "proj.h" #include "proj_internal.h" #include <math.h> #include <errno.h> #ifndef DEFAULT_H #define DEFAULT_H 1e-5 /* radian default for numeric h */ #endif #define EPS 1.0e-12 int pj_factors(PJ_LP lp, const PJ *P, double h, struct FACTORS *fac) { double cosphi, t, n, r; ...
cpp
PROJ
data/projects/PROJ/src/wkt1_generated_parser.h
/* A Bison parser, made by GNU Bison 3.5.1. */ /* Bison interface for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
h
PROJ
data/projects/PROJ/src/filemanager.hpp
/****************************************************************************** * Project: PROJ * Purpose: File manager * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2019, Even Rouault, <even.rouault at ...
hpp
PROJ
data/projects/PROJ/src/initcache.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: init file definition cache. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copyright (c) 2009, Frank Warmerdam * * P...
cpp
PROJ
data/projects/PROJ/src/wkt2_generated_parser.c
/* A Bison parser, made by GNU Bison 3.5.1. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License a...
c
PROJ
data/projects/PROJ/src/zpoly1.cpp
/* evaluate complex polynomial */ #include "proj.h" #include "proj_internal.h" /* note: coefficients are always from C_1 to C_n ** i.e. C_0 == (0., 0) ** n should always be >= 1 though no checks are made */ COMPLEX pj_zpoly1(COMPLEX z, const COMPLEX *C, int n) { COMPLEX a; double t; a = *(C += n); whil...
cpp
PROJ
data/projects/PROJ/src/strerrno.cpp
/* list of projection system errno values */ #include <stddef.h> #include <stdio.h> #include <string.h> #include "proj.h" #include "proj_config.h" #include "proj_internal.h" const char *proj_errno_string(int err) { return proj_context_errno_string(pj_get_default_ctx(), err); } static const struct { int num;...
cpp
PROJ
data/projects/PROJ/src/geodesic.h
/** * \file geodesic.h * \brief API for the geodesic routines in C * * These routines are a simple transcription of the corresponding C++ classes * in <a href="https://geographiclib.sourceforge.io"> GeographicLib</a>. The * "class data" is represented by the structs geod_geodesic, geod_geodesicline, * geod_poly...
h
PROJ
data/projects/PROJ/src/malloc.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Memory management for proj.4. * This version includes an implementation of generic destructors, * for memory deallocation for the large majority of PJ-objects * that do not a...
cpp
PROJ
data/projects/PROJ/src/mlfn.cpp
#include "proj_internal.h" #include <math.h> /* meridional distance for ellipsoid and inverse using 6th-order expansion in ** the third flattening n. This gives full double precision accuracy for |f| ** <= 1/150. */ #define Lmax 6 // Evaluation sum(p[i] * x^i, i, 0, N) via Horner's method. N.B. p is of // length N...
cpp
PROJ
data/projects/PROJ/src/dmstor.cpp
/* Convert DMS string to radians */ #include <ctype.h> #include <math.h> #include <stdlib.h> #include <string.h> #include "proj.h" #include "proj_internal.h" static double proj_strtod(char *nptr, char **endptr); /* following should be sufficient for all but the ridiculous */ #define MAX_WORK 64 static const char *s...
cpp
PROJ
data/projects/PROJ/src/wkt_parser.hpp
/****************************************************************************** * Project: PROJ * Purpose: WKT parser common routines * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2018 Even Rouault, <eve...
hpp
PROJ
data/projects/PROJ/src/wkt2_parser.cpp
/****************************************************************************** * Project: PROJ * Purpose: WKT2 parser grammar * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2018 Even Rouault, <even.rouau...
cpp
PROJ
data/projects/PROJ/src/deriv.cpp
/* dervative of (*P->fwd) projection */ #include <math.h> #include "proj.h" #include "proj_internal.h" int pj_deriv(PJ_LP lp, double h, const PJ *P, struct DERIVS *der) { PJ_XY t; /* get rid of constness until we can do it for real */ PJ *Q = (PJ *)P; if (nullptr == Q->fwd) return 1; lp....
cpp
PROJ
data/projects/PROJ/src/log.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Implementation of pj_log() function. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copyright (c) 2010, Frank Warmerda...
cpp
PROJ
data/projects/PROJ/src/geodesic.c
/** * \file geodesic.c * \brief Implementation of the geodesic routines in C * * For the full documentation see geodesic.h. **********************************************************************/ /** @cond SKIP */ /* * This is a C implementation of the geodesic algorithms described in * * C. F. F. Karney, ...
c
PROJ
data/projects/PROJ/src/tracing.cpp
/****************************************************************************** * * Project: PROJ * Purpose: Tracing/profiling * Author: Even Rouault <even dot rouault at spatialys dot com> * ****************************************************************************** * Copyright (c) 2019, Even Rouault <ev...
cpp
PROJ
data/projects/PROJ/src/sqlite3_utils.cpp
/****************************************************************************** * Project: PROJ * Purpose: SQLite3 related utilities * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2019, Even Rouault, <eve...
cpp
PROJ
data/projects/PROJ/src/proj_json_streaming_writer.hpp
/****************************************************************************** * * Project: CPL - Common Portability Library * Purpose: JSon streaming writer * Author: Even Rouault, even.rouault at spatialys.com * ****************************************************************************** * Copyright (c)...
hpp
PROJ
data/projects/PROJ/src/wkt2_parser.h
/****************************************************************************** * Project: PROJ * Purpose: WKT2 parser grammar * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2018 Even Rouault, <even.rouau...
h
PROJ
data/projects/PROJ/src/release.cpp
/* <<< Release Notice for library >>> */ #include "proj.h" #include "proj_internal.h" #define STR_HELPER(x) #x #define STR(x) STR_HELPER(x) char const pj_release[] = "Rel. " STR(PROJ_VERSION_MAJOR) "." STR( PROJ_VERSION_MINOR) "." STR(PROJ_VERSION_PATCH) ", " "...
cpp
PROJ
data/projects/PROJ/src/param.cpp
/* put parameters in linked list and retrieve */ #include <ctype.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "proj.h" #include "proj_internal.h" /* create parameter list entry */ paralist *pj_mkparam(const char *str) { paralist *newitem; if ((newitem = (paralis...
cpp
PROJ
data/projects/PROJ/src/pr_list.cpp
/* print projection's list of parameters */ #include <stddef.h> #include <stdio.h> #include <string.h> #include "proj.h" #include "proj_internal.h" #define LINE_LEN 72 static int pr_list(PJ *P, int not_used) { paralist *t; int l, n = 1, flag = 0; (void)putchar('#'); for (t = P->params; t; t = t->nex...
cpp
PROJ
data/projects/PROJ/src/datums.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Built in datum list. * Author: Frank Warmerdam, warmerda@home.com * ****************************************************************************** * Copyright (c) 2000, Frank Warmerdam * * Permission...
cpp
PROJ
data/projects/PROJ/src/filemanager.cpp
/****************************************************************************** * Project: PROJ * Purpose: File manager * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2019, Even Rouault, <even.rouault at ...
cpp
PROJ
data/projects/PROJ/src/transformations/xyzgridshift.cpp
/****************************************************************************** * Project: PROJ * Purpose: Geocentric translation using a grid * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2019, Even Rou...
cpp
PROJ
data/projects/PROJ/src/transformations/tinshift.hpp
/****************************************************************************** * Project: PROJ * Purpose: Functionality related to TIN based transformations * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c)...
hpp
PROJ
data/projects/PROJ/src/transformations/deformation.cpp
/*********************************************************************** Kinematic datum shifting utilizing a deformation model Kristian Evers, 2017-10-29 ************************************************************************ Perform datum shifts by means of a deformation/velocity mode...
cpp
PROJ
data/projects/PROJ/src/transformations/gridshift.cpp
/****************************************************************************** * Project: PROJ * Purpose: Generic grid shifting, in particular Geographic 3D offsets * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyr...
cpp
PROJ
data/projects/PROJ/src/transformations/horner.cpp
/*********************************************************************** Interfacing to a classic piece of geodetic software ************************************************************************ gen_pol is a highly efficient, classic implementation of a generic 2D Horner's Scheme polynomial evaluation...
cpp
PROJ
data/projects/PROJ/src/transformations/defmodel.hpp
/****************************************************************************** * Project: PROJ * Purpose: Functionality related to deformation model * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2020, E...
hpp
PROJ
data/projects/PROJ/src/transformations/defmodel_exceptions.hpp
/****************************************************************************** * Project: PROJ * Purpose: Functionality related to deformation model * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2020, E...
hpp
PROJ
data/projects/PROJ/src/transformations/affine.cpp
/************************************************************************ * Copyright (c) 2018, Even Rouault <even.rouault at spatialys.com> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Soft...
cpp
PROJ
data/projects/PROJ/src/transformations/tinshift.cpp
/****************************************************************************** * Project: PROJ * Purpose: Functionality related to triangulation transformation * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright ...
cpp
PROJ
data/projects/PROJ/src/transformations/tinshift_impl.hpp
/****************************************************************************** * Project: PROJ * Purpose: Functionality related to TIN based transformations * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c)...
hpp
PROJ
data/projects/PROJ/src/transformations/defmodel_impl.hpp
/****************************************************************************** * Project: PROJ * Purpose: Functionality related to deformation model * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2020, E...
hpp
PROJ
data/projects/PROJ/src/transformations/vgridshift.cpp
#include <errno.h> #include <mutex> #include <stddef.h> #include <string.h> #include <time.h> #include "grids.hpp" #include "proj_internal.h" PROJ_HEAD(vgridshift, "Vertical grid shift"); static std::mutex gMutexVGridShift{}; static std::set<std::string> gKnownGridsVGridShift{}; using namespace NS_PROJ; namespac...
cpp
PROJ
data/projects/PROJ/src/transformations/defmodel.cpp
/****************************************************************************** * Project: PROJ * Purpose: Functionality related to deformation model * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2020, E...
cpp
PROJ
data/projects/PROJ/src/transformations/helmert.cpp
/*********************************************************************** 3-, 4-and 7-parameter shifts, and their 6-, 8- and 14-parameter kinematic counterparts. Thomas Knudsen, 2016-05-24 ************************************************************************ Impl...
cpp
PROJ
data/projects/PROJ/src/transformations/vertoffset.cpp
/************************************************************************ * Copyright (c) 2022, Even Rouault <even.rouault at spatialys.com> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Soft...
cpp
PROJ
data/projects/PROJ/src/transformations/molodensky.cpp
/*********************************************************************** (Abridged) Molodensky Transform Kristian Evers, 2017-07-07 ************************************************************************ Implements the (abridged) Molodensky transformations for 2D and 3D ...
cpp
PROJ
data/projects/PROJ/src/transformations/hgridshift.cpp
#include <errno.h> #include <mutex> #include <stddef.h> #include <string.h> #include <time.h> #include "grids.hpp" #include "proj_internal.h" PROJ_HEAD(hgridshift, "Horizontal grid shift"); static std::mutex gMutexHGridShift{}; static std::set<std::string> gKnownGridsHGridShift{}; using namespace NS_PROJ; namesp...
cpp
PROJ
data/projects/PROJ/src/transformations/tinshift_exceptions.hpp
/****************************************************************************** * Project: PROJ * Purpose: Functionality related to TIN based transformations * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c)...
hpp
PROJ
data/projects/PROJ/src/tests/multistresstest.cpp
/****************************************************************************** * * Project: PROJ.4 * Purpose: Mainline program to stress test multithreaded PROJ.4 processing. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Cop...
cpp
PROJ
data/projects/PROJ/src/tests/geodtest.c
/** * \file geodtest.c * \brief Test suite for the geodesic routines in C * * Run these tests by configuring with cmake and running "make test". * * Copyright (c) Charles Karney (2015-2022) <charles@karney.com> and licensed * under the MIT/X11 License. For more information, see * https://geographiclib.sourcefo...
c
PROJ
data/projects/PROJ/src/tests/geodsigntest.c
/** * \file geodsigntest.c * \brief Test treatment of +/-0 and +/-180 * * Copyright (c) Charles Karney (2022) <charles@karney.com> and licensed * under the MIT/X11 License. For more information, see * https://geographiclib.sourceforge.io/ **********************************************************************/ ...
c
PROJ
data/projects/PROJ/src/conversions/noop.cpp
#include "proj_internal.h" PROJ_HEAD(noop, "No operation"); static void noop(PJ_COORD &, PJ *) {} PJ *PJ_CONVERSION(noop, 0) { P->fwd4d = noop; P->inv4d = noop; P->left = PJ_IO_UNITS_WHATEVER; P->right = PJ_IO_UNITS_WHATEVER; return P; }
cpp
PROJ
data/projects/PROJ/src/conversions/axisswap.cpp
/*********************************************************************** Axis order operation for use with transformation pipelines. Kristian Evers, kreve@sdfe.dk, 2017-10-31 ************************************************************************ Change the order and sign of 2,3 or 4 axes. ...
cpp
PROJ
data/projects/PROJ/src/conversions/topocentric.cpp
/****************************************************************************** * Project: PROJ * Purpose: Convert between geocentric coordinates and topocentric (ENU) *coordinates * ****************************************************************************** * Copyright (c) 2020, Even Rouault <even.rouault a...
cpp
PROJ
data/projects/PROJ/src/conversions/set.cpp
#include "proj_internal.h" #include <errno.h> PROJ_HEAD(set, "Set coordinate value"); /* Projection specific elements for the PJ object */ namespace { // anonymous namespace struct Set { bool v1; bool v2; bool v3; bool v4; double v1_val; double v2_val; double v3_val; double v4_val; }...
cpp
PROJ
data/projects/PROJ/src/conversions/geoc.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Conversion from geographic to geocentric latitude and back. * Author: Thomas Knudsen (2017) * ****************************************************************************** * Copyright (c) 2017, SDFE, ...
cpp
PROJ
data/projects/PROJ/src/conversions/geocent.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Stub projection for geocentric. The transformation isn't * really done here since this code is 2D. The real transformation * is handled by pj_transform.c. * Author: Frank Warmerdam...
cpp
PROJ
data/projects/PROJ/src/conversions/cart.cpp
/****************************************************************************** * Project: PROJ.4 * Purpose: Convert between ellipsoidal, geodetic coordinates and * cartesian, geocentric coordinates. * * Formally, this functionality is also found in the PJ_geocent.c * code. * * ...
cpp