#ifndef Pyramid_H #define Pyramid_H /* Last edited on 2007-01-25 14:04:57 by stolfi */ /* Pocedures to build {n}-sided pyramid polyhedra. */ #define Pyramid_H_copyright \ "Copyright © 2000 Universidade Estadual de Campinas (UNICAMP)" #include #include #include #include Place_vec_t MakePyramid(uint n); /* Builds a pyramid with base as a n-gon wall, without cell information. */ Place_t MakeElongBip(uint n); /* Builds an elongated bipyramid. The icosahedron is obtained with n==5. */ Place_t BuildSimpleBipyr(uint n, bool_t open); Place_t BuildElongatedBipyr(uint n); void FixCoordsBipyramid(Place_t p, uint order, bool_t pyramid, Topology_t *top, Coords_t *c); /* Used by {MakeBipyramid.c}. If {pyramid} is true, the bottom apex is coplanar with the rim vertices at {Z=0}, so the base is flat. */ #define Pyramid_H_author \ "C interface created by J. Stolfi, jan/2007." #endif