~ubuntu-branches/ubuntu/vivid/regina-normal/vivid-proposed

« back to all changes in this revision

Viewing changes to engine/surfaces/nprism.h

  • Committer: Package Import Robot
  • Author(s): Ben Burton
  • Date: 2011-09-10 07:17:25 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: package-import@ubuntu.com-20110910071725-97n90tywdq60w2cr
Tags: 4.90-1
* New upstream release!
* The user interface has been ported from KDE3 to KDE4 (closes: #556318).
  Re-enabled the GUI as a result.
* The build system has been ported from autotools to cmake.
* The new upstream release builds fine on amd64 (closes: #624882).
* Moved the users' handbook into regina-normal-doc.
* Upgraded several suggests/recommends.  Upgraded regina-normal-mpi to
  depend on mpi-default-bin, and regina-normal to depend on both graphviz
  and regina-normal-doc (which the GUI expends to be present).  Upgraded
  regina-normal to recommend gap.
* Bumped standards-version to 3.9.2.0 (no changes required).

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 *  Regina - A Normal Surface Theory Calculator                           *
5
5
 *  Computational Engine                                                  *
6
6
 *                                                                        *
7
 
 *  Copyright (c) 1999-2009, Ben Burton                                   *
 
7
 *  Copyright (c) 1999-2011, Ben Burton                                   *
8
8
 *  For further details contact Ben Burton (bab@debian.org).              *
9
9
 *                                                                        *
10
10
 *  This program is free software; you can redistribute it and/or         *
26
26
 
27
27
/* end stub */
28
28
 
29
 
/*! \file nprism.h
 
29
/*! \file surfaces/nprism.h
30
30
 *  \brief Deals with triangular prisms defined by slicing along normal
31
31
 *  quads in a tetrahedron.
32
32
 */
37
37
#endif
38
38
 
39
39
#include <iostream>
 
40
#include "regina-core.h"
40
41
 
41
42
namespace regina {
42
43
 
58
59
 * \pre This class should only be used with \a embedded
59
60
 * normal surfaces.
60
61
 */
61
 
struct NPrismSpec {
 
62
struct REGINA_API NPrismSpec {
62
63
    unsigned long tetIndex;
63
64
        /**< The index in the triangulation of the tetrahedron
64
65
             containing the prism. */
114
115
 * @param spec the prism specifier to write.
115
116
 * @return a reference to \a out.
116
117
 */
117
 
std::ostream& operator << (std::ostream& out, const NPrismSpec& spec);
 
118
REGINA_API std::ostream& operator << (std::ostream& out,
 
119
    const NPrismSpec& spec);
118
120
 
119
121
/**
120
122
 * Represents the set of prisms defined by slicing along all the quads
129
131
 *
130
132
 * \warning This class doesn't really do much as yet.
131
133
 */
132
 
class NPrismSetSurface {
 
134
class REGINA_API NPrismSetSurface {
133
135
    private:
134
136
        signed char* quadType;
135
137
            /**< A list of which types of normal quad are contained in which