#ifndef VStar_H #define VStar_H [!!! JUNK ??? May have been superseded by Squared.h ??? !!!] /* Procedures to build several faces such as: n-gons, triangles and squares, and complexes : cube, ball, bigcube (3D array of cube) with procedures for the glueing of two such complexes. Created by L. Lozada (see the copyright and authorship futher down). Revisions: 30-08-2000 : Nice version of the "MakeOctahedron" procedure. 19-09-2000 : Added the procedure "MakeDodecahedronTriang". 27-10-2000 : Modified "SetCubePropiertes" procedure. 04-11-2000 : Added the "CubeNegVertices" and "CubeBarycenter" procedures. */ #include FROM Triangulation IMPORT Pair; PROCEDURE MakeTetrahedronTriang(): ARRAY [0..3] OF Pair; /* Builds a Tetrahedral vertex star. */ PROCEDURE MakeOctahedronTriang(): ARRAY [0..7] OF Pair; /* Builds a triangulated Octahedron. If Original==TRUE the procedure empha- size the original elements. */ PROCEDURE MakeIcosahedronTriang(): ARRAY [0..19] OF Pair; /* Builds a triangulated Icosahedron. If Original==TRUE the procedure empha- size the original elements. */ PROCEDURE MakeDodecahedronTriang() : ARRAY[0..11] OF ARRAY [0..4] OF Pair; /* Builds a triangulated Dodecahedron, trough the automatic gluing of tetrahedra. If Original==TRUE the procedure emphasize the original elements. */ ;} VStar. /**************************************************************************/ /* */ /* Copyright © 2000 Universidade Estadual de Campinas (UNICAMP) */ /* */ /* Authors: */ /* L. Lozada & J. Stolfi - UNICAMP */ /* */ /* This file can be freely used, distributed, and modified, provided that */ /* this copyright and authorship notice is included in every copy or */ /* derived version. */ /* */ /* DISCLAIMER: This software is offered ``as is'', without any guarantee */ /* as to fitness for any particular purpose. Neither the copyright */ /* holder nor the authors or their employers can be held responsible */ /* for any damages that may result from its use. */ /* */ /**************************************************************************/