23 #ifndef SAXBOPHONE_SAXBOSPIRAL_SOLVE_H 24 #define SAXBOPHONE_SAXBOSPIRAL_SOLVE_H 118 void(* progress_callback)(
119 sxbp_spiral_t* spiral, uint32_t latest_line, uint32_t target_line,
120 void* progress_callback_user_data
122 void* progress_callback_user_data
This compilation unit provides most of the data types used by the library, as well as defining some l...
uint32_t sxbp_length_t
Type for representing the length of a line segment of a spiral.
Definition: saxbospiral.h:124
sxbp_status_t sxbp_plot_spiral(sxbp_spiral_t *spiral, sxbp_length_t perfection_threshold, uint32_t max_line, void(*progress_callback)(sxbp_spiral_t *spiral, uint32_t latest_line, uint32_t target_line, void *progress_callback_user_data), void *progress_callback_user_data)
Solve the given incomplete spiral such that each line has a length of at least 1 unit.
Definition: solve.c:297
sxbp_status_t sxbp_resize_spiral(sxbp_spiral_t *spiral, uint32_t index, sxbp_length_t length, sxbp_length_t perfection_threshold)
Attempt to set a given line of a spiral to a given length.
Definition: solve.c:232
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