#include "seam.h"
#include "callcpp.h"
#include "structures.h"
#include "makechop.h"
Defines | |
#define | NUM_STARTING_SEAMS 20 |
#define | SEAMBLOCK 100 |
Functions | |
makestructure (newseam, free_seam, printseam, SEAM, freeseam, SEAMBLOCK,"SEAM", seamcount) | |
point_in_split | |
bool | point_in_split (SPLIT *split, EDGEPT *point1, EDGEPT *point2) |
point_in_seam | |
bool | point_in_seam (SEAM *seam, SPLIT *split) |
add_seam | |
SEAMS | add_seam (SEAMS seam_list, SEAM *seam) |
combine_seam | |
void | combine_seams (SEAM *dest_seam, SEAM *source_seam) |
delete_seam | |
void | delete_seam (void *arg) |
free_seam_list | |
void | free_seam_list (SEAMS seam_list) |
test_insert_seam | |
bool | test_insert_seam (SEAMS seam_list, int index, TBLOB *left_blob, TBLOB *first_blob) |
insert_seam | |
SEAMS | insert_seam (SEAMS seam_list, int index, SEAM *seam, TBLOB *left_blob, TBLOB *first_blob) |
account_splits_right | |
int | account_splits_right (SEAM *seam, TBLOB *blob) |
account_splits_left | |
int | account_splits_left (SEAM *seam, TBLOB *blob, TBLOB *end_blob) |
find_split_in_blob | |
bool | find_split_in_blob (SPLIT *split, TBLOB *blob) |
join_two_seams | |
SEAM * | join_two_seams (SEAM *seam1, SEAM *seam2) |
new_seam | |
SEAM * | new_seam (PRIORITY priority, int x_location, SPLIT *split1, SPLIT *split2, SPLIT *split3) |
new_seam_list | |
SEAMS | new_seam_list () |
print_seam | |
void | print_seam (const char *label, SEAM *seam) |
print_seams | |
void | print_seams (const char *label, SEAMS seams) |
shared_split_points | |
int | shared_split_points (SEAM *seam1, SEAM *seam2) |
#define NUM_STARTING_SEAMS 20 |
#define SEAMBLOCK 100 |
void delete_seam | ( | void * | arg | ) |
void free_seam_list | ( | SEAMS | seam_list | ) |
SEAMS insert_seam | ( | SEAMS | seam_list, | |
int | index, | |||
SEAM * | seam, | |||
TBLOB * | left_blob, | |||
TBLOB * | first_blob | |||
) |
makestructure | ( | newseam | , | |
free_seam | , | |||
printseam | , | |||
SEAM | , | |||
freeseam | , | |||
SEAMBLOCK | , | |||
"SEAM" | , | |||
seamcount | ||||
) |
SEAM* new_seam | ( | PRIORITY | priority, | |
int | x_location, | |||
SPLIT * | split1, | |||
SPLIT * | split2, | |||
SPLIT * | split3 | |||
) |
SEAMS new_seam_list | ( | ) |
void print_seam | ( | const char * | label, | |
SEAM * | seam | |||
) |
void print_seams | ( | const char * | label, | |
SEAMS | seams | |||
) |