WXP::Tools Class Reference

This class contains generic tools. More...

#include "../include/Tools.h"

List of all members.

Static Public Member Functions

static bool isInt (const char *str)
static bool isFloat (const char *str)
static int printClean (const unsigned char *line, int size)
static int printControl (const unsigned char *line, int size)
static int dumpHex (const unsigned char *buf, int size)
static int toString (float val, String &str)
static int toString (float val, int sig, String &str)
static int toInt (float x)
static float calcInterval (float max, float min, int num)

Detailed Description

This class contains generic tools.

Author:
Dan Vietor

Member Function Documentation

float Tools::calcInterval ( float  max,
float  min,
int  num 
) [static]

Calculates an appropriate contour interval from max and min data

Parameters:
max Maximum value in grid
min Minimum value in grid
num Number of desired contour intervals

The documentation for this class was generated from the following files:

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1