Classes |
struct | seam_record |
Typedefs |
typedef float | PRIORITY |
typedef struct seam_record | SEAM |
typedef ARRAY | SEAMS |
Functions |
SEAM * | newseam () |
clone_seam |
Create a new seam record and copy the contents of this seam into it.
|
#define | clone_seam(dest, source) |
#define | exact_point(p1, p2) (! ((p1->pos.x - p2->pos.x) || (p1->pos.y - p2->pos.y))) |
bool | point_in_split (SPLIT *split, EDGEPT *point1, EDGEPT *point2) |
bool | point_in_seam (SEAM *seam, SPLIT *split) |
bool | point_used_by_split (SPLIT *split, EDGEPT *point) |
bool | point_used_by_seam (SEAM *seam, EDGEPT *point) |
SEAMS | add_seam (SEAMS seam_list, SEAM *seam) |
void | combine_seams (SEAM *dest_seam, SEAM *source_seam) |
void | delete_seam (void *arg) |
SEAMS | start_seam_list (TBLOB *blobs) |
void | free_seam_list (SEAMS seam_list) |
bool | test_insert_seam (SEAMS seam_list, int index, TBLOB *left_blob, TBLOB *first_blob) |
SEAMS | insert_seam (SEAMS seam_list, int index, SEAM *seam, TBLOB *left_blob, TBLOB *first_blob) |
int | account_splits_right (SEAM *seam, TBLOB *blob) |
int | account_splits_left (SEAM *seam, TBLOB *blob, TBLOB *end_blob) |
void | account_splits_left_helper (SEAM *seam, TBLOB *blob, TBLOB *end_blob, inT32 *depth, inT8 *width, inT8 *found_em) |
bool | find_split_in_blob (SPLIT *split, TBLOB *blob) |
SEAM * | join_two_seams (SEAM *seam1, SEAM *seam2) |
SEAM * | new_seam (PRIORITY priority, const TPOINT &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) |
int | shared_split_points (SEAM *seam1, SEAM *seam2) |
void | break_pieces (TBLOB *blobs, SEAMS seams, inT16 start, inT16 end) |
void | join_pieces (TBLOB *piece_blobs, SEAMS seams, inT16 start, inT16 end) |
void | hide_seam (SEAM *seam) |
void | hide_edge_pair (EDGEPT *pt1, EDGEPT *pt2) |
void | reveal_seam (SEAM *seam) |
void | reveal_edge_pair (EDGEPT *pt1, EDGEPT *pt2) |