COVISE Core
|
#include <math.h>
Go to the source code of this file.
Classes | |
class | covise::_point_t |
struct | covise::segment_t |
struct | covise::trap_t |
class | covise::_node_t |
struct | covise::monchain_t |
struct | covise::vertexchain_t |
class | covise::Triangulator |
Namespaces | |
covise | |
list of all chemical elements | |
Macros | |
#define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
#define | CROSS(v0, v1, v2) (((v1).x - (v0).x) * ((v2).y - (v0).y) - ((v1).y - (v0).y) * ((v2).x - (v0).x)) |
#define | DOT(v0, v1) ((v0).x * (v1).x + (v0).y * (v1).y) |
Typedefs | |
typedef class covise::_point_t | covise::point_t |
typedef class covise::_point_t | covise::vector_t |
typedef class covise::_node_t | covise::node_t |
Functions | |
bool | covise::FP_EQUAL (double s, double t) |
int | covise::math_logstar_n (int n) |
Variables | |
static const double | covise::C_EPS = 1.0e-20 |
static const int | covise::FIRSTPT = 1 |
static const int | covise::LASTPT = 2 |
static const int | covise::T_X = 1 |
static const int | covise::T_Y = 2 |
static const int | covise::T_SINK = 3 |
static const int | covise::INFINITY = 0x40000000 |
static const int | covise::S_LEFT = 1 |
static const int | covise::S_RIGHT = 2 |
static const int | covise::ST_VALID = 1 |
static const int | covise::ST_INVALID = 2 |
static const int | covise::SP_SIMPLE_LRUP = 1 |
static const int | covise::SP_SIMPLE_LRDN = 2 |
static const int | covise::SP_2UP_2DN = 3 |
static const int | covise::SP_2UP_LEFT = 4 |
static const int | covise::SP_2UP_RIGHT = 5 |
static const int | covise::SP_2DN_LEFT = 6 |
static const int | covise::SP_2DN_RIGHT = 7 |
static const int | covise::SP_NOSPLIT = -1 |
static const int | covise::TR_FROM_UP = 1 |
static const int | covise::TR_FROM_DN = 2 |
static const int | covise::TRI_LHS = 1 |
static const int | covise::TRI_RHS = 2 |
#define CROSS | ( | v0, | |
v1, | |||
v2 | |||
) | (((v1).x - (v0).x) * ((v2).y - (v0).y) - ((v1).y - (v0).y) * ((v2).x - (v0).x)) |