6 typedef cpFloat (*cpMarchSampleFunc)(
cpVect point,
void *data);
10 typedef void (*cpMarchSegmentFunc)(
cpVect v0,
cpVect v1,
void *data);
15 CP_EXPORT
void cpMarchSoft(
16 cpBB bb,
unsigned long x_samples,
unsigned long y_samples,
cpFloat threshold,
17 cpMarchSegmentFunc segment,
void *segment_data,
18 cpMarchSampleFunc sample,
void *sample_data
24 CP_EXPORT
void cpMarchHard(
25 cpBB bb,
unsigned long x_samples,
unsigned long y_samples,
cpFloat threshold,
26 cpMarchSegmentFunc segment,
void *segment_data,
27 cpMarchSampleFunc sample,
void *sample_data