#ifndef pz_types_H #define pz_types_H /* Basic types */ /* Last edited on 2008-02-08 11:40:29 by stolfi */ #define pz_types_H_copyright "Copyright © 2001 Universidade Estadual de Campinas (UNICAMP)" #define pz_types_H_authors "Helena C. G. Leitão and Jorge Stolfi, 1998--2008" #include #include #include /* CENTERING OPTION */ typedef enum { pz_ctr_NONE=0, /* Do not center curve. */ pz_ctr_AREA=1, /* Use barycenter of area. */ pz_ctr_SMPS=2, /* Use barycenter of samples. */ pz_ctr_ENDS=3 /* Use midpoint of first and last samples. */ } pz_ctr_t; /* Specifies which curve center to use when centering a curve. {pz_ctr_AREA} is OK for closed curves only. */ #endif