/* See {Projective3.h} */ #include /* Last edited on 2007-02-04 18:41:15 by stolfi */ #define Projective3_C_COPYRIGHT \ "Copyright © 2000,2007 Universidade Estadual de Campinas (UNICAMP)" #include #include #include #include #include #include #include #include #include #include Place_t MakeProjective3(void) { /* Notice: we need to modify the facet-edge data structure for modeling this non orientable 3D complex. */ SixPlaces_t co = CubeLAPLMake(); GlueCube(co.p[1], Clock(PrevF(co.p[2]))); GlueCube(co.p[5], co.p[0]); GlueCube(co.p[4], NextE(NextE(co.p[2]))); /* Return a place not killed by the GlueCube Procedure: */ return co.p[0]; } #define Projective3_C_author \ "Created by L. A. P. Lozada, 1999-2000.\n" \ "Modification history:\n" \ " 01-02-2007 : Brought {MakeProjective3} from {MakeNOComplex.c} into here."