tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
point.hpp File Reference
#include <set>
#include "common.hpp"
Include dependency graph for point.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  point
 
struct  eq_point
 
struct  lt_point
 
struct  hash_point
 

Functions

TRANSACTION_SAFE int bucket (const point *const p)
 
int stripe (const point *const p)
 
TRANSACTION_SAFE int closest_seam (const point *const p)
 
TRANSACTION_SAFE bool encircled (const point *A, const point *B, const point *C, const point *D, const int dir)
 
TRANSACTION_SAFE bool extern_angle (const point *p1, const point *p2, const point *p3, const int dir)
 
void create_points (const int seed)
 

Variables

static const int xdim = 0
 
static const int ydim = 1
 
static const int ccw = 0
 
static const int cw = 1
 
static const int MAX_COORD_BITS = 24
 
pointall_points
 
int min_coord []
 
int max_coord []
 

Function Documentation

TRANSACTION_SAFE int bucket ( const point *const  p)
inline

Here is the caller graph for this function:

TRANSACTION_SAFE int closest_seam ( const point *const  p)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

void create_points ( const int  seed)

Here is the caller graph for this function:

TRANSACTION_SAFE bool encircled ( const point A,
const point B,
const point C,
const point D,
const int  dir 
)

Here is the call graph for this function:

Here is the caller graph for this function:

TRANSACTION_SAFE bool extern_angle ( const point p1,
const point p2,
const point p3,
const int  dir 
)

Here is the caller graph for this function:

int stripe ( const point *const  p)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

point* all_points
const int ccw = 0
static
const int cw = 1
static
int max_coord[]
const int MAX_COORD_BITS = 24
static
int min_coord[]
const int xdim = 0
static
const int ydim = 1
static