22 #ifndef SAXBOPHONE_SAXBOSPIRAL_PLOT_H 23 #define SAXBOPHONE_SAXBOSPIRAL_PLOT_H size_t sxbp_sum_lines(sxbp_spiral_t spiral, size_t start, size_t end)
Calculates the sum of all line lengths in this spiral within the given start and end indexes...
Definition: plot.c:22
sxbp_status_t sxbp_cache_spiral_points(sxbp_spiral_t *spiral, size_t limit)
Caches any uncached co-ords of the line of a spiral up to a given line index.
Definition: plot.c:78
This compilation unit provides most of the data types used by the library, as well as defining some l...
A generic Tuple type for storing a vector-based quantity.
Definition: saxbospiral.h:145
sxbp_status_t sxbp_spiral_points(sxbp_spiral_t spiral, sxbp_co_ord_array_t *output, sxbp_co_ord_t start_point, size_t start, size_t end)
Calculates a series of co-ords for which trace a given part of a spiral line.
Definition: plot.c:34
Struct type for holding a dynamically allocated array of co-ordinates.
Definition: saxbospiral.h:160
Struct type representing a Spiral figure, in any state of completion.
Definition: saxbospiral.h:189
sxbp_status_t
Represents the success or failure status of an executed function.
Definition: saxbospiral.h:87