MathUtilities 1.1.15
Common math functions shared across compiled apps at NML-NHP.
|
Functions for determining whether signal features meet a given criterion. More...
Functions | |
int | spatialL2Threshold (double x, double y, double x_target, double y_target, double radius) |
Determine whether a point is within a given radius of a target point in 2D space. | |
Functions for determining whether signal features meet a given criterion.
int spatialL2Threshold | ( | double | x, |
double | y, | ||
double | x_target, | ||
double | y_target, | ||
double | radius ) |
Determine whether a point is within a given radius of a target point in 2D space.
x | The x-coordinate of the point. |
y | The y-coordinate of the point. |
x_target | The x-coordinate of the target point. |
y_target | The y-coordinate of the target point. |
radius | The radius within which to check if the point lies. |