standardfeatures.cpp File Reference

#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 Documentation

typedef StlFeatureResultT FeatureCalcT


Function Documentation

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).


Generated on Mon Jul 30 09:46:50 2007 for Digest by  doxygen 1.5.2