Go to the documentation of this file.
45 #define is_inside_angle(pt) \
46 (angle_change ((pt)->prev, (pt), (pt)->next) < chop_inside_angle)
54 #define same_outline_bounds(outline,other_outline) \
55 (outline->topleft.x == other_outline->topleft.x && \
56 outline->topleft.y == other_outline->topleft.y && \
57 outline->botright.x == other_outline->botright.x && \
58 outline->botright.y == other_outline->botright.y) \
67 #define weighted_edgept_dist(p1,p2,chop_x_y_weight) \
68 (((p1)->pos.x - (p2)->pos.x) * \
69 ((p1)->pos.x - (p2)->pos.x) * chop_x_y_weight + \
70 ((p1)->pos.y - (p2)->pos.y) * \
71 ((p1)->pos.y - (p2)->pos.y))