MCPcopy Create free account
hub / github.com/GenericMappingTools/gmt / gmtlib_map_path

Function gmtlib_map_path

src/gmt_map.c:7852–7857  ·  view source on GitHub ↗

! . */

Source from the content-addressed store, hash-verified

7850
7851/*! . */
7852uint64_t gmtlib_map_path (struct GMT_CTRL *GMT, double lon1, double lat1, double lon2, double lat2, double **x, double **y) {
7853 if (doubleAlmostEqualZero (lat1, lat2))
7854 return (gmtlib_latpath (GMT, lat1, lon1, lon2, x, y));
7855 else
7856 return (gmtlib_lonpath (GMT, lon1, lat1, lat2, x, y));
7857}
7858
7859/*! . */
7860uint64_t gmtlib_lonpath (struct GMT_CTRL *GMT, double lon, double lat1, double lat2, double **x, double **y) {

Callers 4

gmt_map_wesn_clipFunction · 0.85
gmt_assemble_shoreFunction · 0.85

Calls 2

gmtlib_latpathFunction · 0.85
gmtlib_lonpathFunction · 0.85

Tested by

no test coverage detected