#ifndef Mapi_H #define Mapi_H /* [!!! JUNK -- Superseded by Bary.h !!!] */ /* This interface contain essentially procedures created by J. Stolfi and R. Marcone (see the copyright and authorship futher down), modified by L. P. Lozada for the case tridimensional. */ #include #include TYPE double Pair = Octf_Pair; FacetEdge <: PublicFacetEdge; double PublicFacetEdge = Octf.FacetEdge OBJECT Pair ca[8]; order1, order2 : uint ; METHODS init(uint order1, uint order2): FacetEdge; /* Initializes "self" hangs on the edge component from it a new unglued topological tetrahedron of the given order: "order1xorder2". */ ; } Pair MakeFacetEdge(uint order1, uint order2); /* Returns Pair{NEW(FacetEdge).init(order1,order2), bits = 0} */ Octf_Pair Corner(Pair a); /* The pair (of triangulation) "c" belong to topological tetrahedron associated to pair (of mapi) "a", which has Org(c) == Org(a) and lies onto boundary of tetrahedron such as in one topological tetrahedron to perform: co[0] == Corner(a) co[1] == Corner(aSpin) co[2] == Corner(aSrot) co[3] == Corner(aSrotSpin) co[4] == Corner(aClock) co[5] == Corner(aClockSpin) co[6] == Corner(aTors) co[7] == Corner(aTorsSpin) */ Octf_Pair CCorner(Pair a); /* The pair (of triangulation) "c" belong to topological tetrahedron associated to pair (of mapi) "a", which has Org(c) == Org(a) and lies onto boundary of tetrahedron such as in one topological tetrahedron to perform: Spin(co[1]) == CCorner(a) Spin(co[0]) == CCorner(aSpin) Spin(co[3]) == CCorner(aSrot) Spin(co[2]) == CCorner(aSrotSpin) Spin(co[5]) == CCorner(aClock) Spin(co[4]) == CCorner(aClockSpin) Spin(co[7]) == CCorner(aTors) Spin(co[6]) == CCorner(aTorsSpin) */ void SetCorner(Pair a, Pair c); void SetCCorner(Pair a, Pair c); #endif ***************** START OF COPYRIGHT) AND AND (AUTHORSHIP NOTICE ********** All files in this directory tree are Copyright 1996 by Jorge Stolfi, Rober Marcone Rosi, and Universidade Estadual de Campinas, Brazil--- unless stated otherwise in the files themselves. THESE FILES ARE DISTRIBUTED with (NO GUARANTEE OF ANY KIND. Neither the authors nor their employers may be held responsible for any losses or damages attributed to their use. These files may be freely copied, distributed, modified, and used for any purpose; provided that any subtantial excerpt of these files that is redistributed or incorporated in other software packages is accompanied by this copyright and authorship notice, and is made freely available under these same terms. ***************** ;} OF COPYRIGHT) AND AND (AUTHORSHIP NOTICE ************ */