30#define BLI_SCANFILL_ARENA_SIZE MEM_SIZE_OPTIMAL(1 << 14)
37#define SF_POLY_UNSET ((unsigned short)-1)
void BLI_scanfill_begin(ScanFillContext *sf_ctx)
@ BLI_SCANFILL_CALC_LOOSE
@ BLI_SCANFILL_CALC_POLYS
@ BLI_SCANFILL_CALC_HOLES
@ BLI_SCANFILL_CALC_REMOVE_DOUBLES
struct ScanFillFace ScanFillFace
unsigned int BLI_scanfill_calc(ScanFillContext *sf_ctx, int flag)
struct ScanFillVert * BLI_scanfill_vert_add(ScanFillContext *sf_ctx, const float vec[3])
void BLI_scanfill_end(ScanFillContext *sf_ctx)
struct ScanFillEdge * BLI_scanfill_edge_add(ScanFillContext *sf_ctx, struct ScanFillVert *v1, struct ScanFillVert *v2)
struct ScanFillEdge ScanFillEdge
struct ScanFillVert ScanFillVert
void BLI_scanfill_begin_arena(ScanFillContext *sf_ctx, struct MemArena *arena)
unsigned int BLI_scanfill_calc_ex(ScanFillContext *sf_ctx, int flag, const float nor_proj[3])
void BLI_scanfill_end_arena(ScanFillContext *sf_ctx, struct MemArena *arena)
struct ScanFillContext ScanFillContext
bool BLI_scanfill_calc_self_isect(ScanFillContext *sf_ctx, ListBase *remvertbase, ListBase *remedgebase)
ATTR_WARN_UNUSED_RESULT const BMVert * v2
struct ScanFillEdge * prev
union ScanFillEdge::@115 tmp
struct ScanFillEdge * next
struct ScanFillFace * next
struct ScanFillFace * prev
struct ScanFillVert * next
struct ScanFillVert * prev
union ScanFillVert::@114 tmp