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

Function gmtplot_plot_vector_head

src/gmt_plot.c:5129–5136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5127
5128
5129GMT_LOCAL void gmtplot_plot_vector_head (struct GMT_CTRL *GMT, double *xp, double *yp, uint64_t n, unsigned int side, struct GMT_SYMBOL *S) {
5130 if (S->v.v_kind[side] == PSL_VEC_ARROW)
5131 gmtplot_plot_vector_head_fill (GMT, xp, yp, n, S);
5132 else { /* Plan arrow */
5133 /* Here we just draw the line of the plain arrow */
5134 gmt_geo_line (GMT, xp, yp, n);
5135 }
5136}
5137
5138GMT_LOCAL unsigned int gmtplot_geo_vector_smallcircle (struct GMT_CTRL *GMT, double lon0, double lat0, double angle_1, double angle_2, struct GMT_PEN *ppen, struct GMT_SYMBOL *S) {
5139 /* Draws a small-circle vector around an oblique pole, with or without heads, etc. There are some complications to consider:

Callers 2

Calls 2

gmt_geo_lineFunction · 0.85

Tested by

no test coverage detected