boost::gil::minimum_angle_step
Calculate minimum angle which would be observable if walked on a circle
Synopsis
Declared in <boost/gil/extension/image_processing/hough_parameter.hpp>
double
minimum_angle_step(point_t dimensions);
Description
When drawing a circle or moving around a point in circular motion, it is important to not do too many steps, but also to not have disconnected trajectory. This function will calculate the minimum angle that is observable when walking on a circle or tilting a line. WARNING: do keep in mind IEEE 754 quirks, e.g. no‐associativity, no‐commutativity and precision. Do not expect expressions that are mathematically the same to produce the same values
Parameters
Name |
Description |
dimensions |
Common type to represent 2D dimensions or in‐memory size of image or view. |
Created with MrDocs