| 9865 | } |
| 9866 | |
| 9867 | GMT_LOCAL void gmtplot_get_far_point (struct GMT_CTRL *GMT, double lon, double lat, double radius, double *P) { |
| 9868 | /* Get a point P that is radius degrees away along the meridian through our point X */ |
| 9869 | double plat, plon; |
| 9870 | plat = lat + radius; |
| 9871 | plon = lon; |
| 9872 | if (plat > 90.0) { /* Went over the pole */ |
| 9873 | plon += 180.0; |
| 9874 | plat = 180 - plat; |
| 9875 | } |
| 9876 | gmt_geo_to_cart (GMT, plat, plon, P, true); /* Vector <radius> degrees away from (lon,lat) along meridian */ |
| 9877 | } |
| 9878 | |
| 9879 | GMT_LOCAL void gmtplot_geo_spider (struct GMT_CTRL *GMT, double xlon, double xlat, double radius_i, double radius_o, double dr, double az_start, double az_stop, double da, unsigned int wmode) { |
| 9880 | /* gmtplot_geo_spider takes the location, radius_i (in unit), radius_o, dr, and start/stop azimuths of an geo-wedge and da |
no test coverage detected