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

Function gmtplot_at_pole

src/gmt_plot.c:4718–4720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4716#endif
4717
4718GMT_LOCAL bool gmtplot_at_pole (double *lat, uint64_t n) {
4719 return (lat[0] == lat[n-1] && fabs (lat[0]) == 90.0);
4720}
4721
4722GMT_LOCAL uint64_t gmtplot_geo_polygon_segment (struct GMT_CTRL *GMT, struct GMT_DATASEGMENT *S, bool add_pole, bool first, const char *comment) {
4723 /* Handles the laying down of polygons suitable for filling only; outlines are done separately later.

Callers 2

gmt_geo_polarcap_segmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected