#include "standardfeatures.h"#include <assert.h>#include <cmath>Typedefs | |
| typedef StlFeatureResultT | FeatureCalcT |
Functions | |
| void | getCoordMinAndMaxs (const StlStroke &stroke, StlStrokeCoordT &xmin, StlStrokeCoordT &xmax, StlStrokeCoordT &ymin, StlStrokeCoordT &ymax) |
| double | safe_div (double x, double y, bool *ok) |
| typedef StlFeatureResultT FeatureCalcT |
| void getCoordMinAndMaxs | ( | const StlStroke & | stroke, | |
| StlStrokeCoordT & | xmin, | |||
| StlStrokeCoordT & | xmax, | |||
| StlStrokeCoordT & | ymin, | |||
| StlStrokeCoordT & | ymax | |||
| ) | [inline] |
| double safe_div | ( | double | x, | |
| double | y, | |||
| bool * | ok | |||
| ) | [inline] |
Note: For the sake of performance, it's asserted that ok is non-null (i.e. the null-check will be stripped when compiled in release mode).
1.5.2