Regina 7.0 Calculation Engine
|
Angle structures on triangulations. More...
Classes | |
class | regina::AngleStructure |
Represents an angle structure on a triangulation. More... | |
class | regina::AngleStructures |
A collection of angle structures on a 3-manifold triangulation. More... | |
Typedefs | |
using | regina::AngleAlg = regina::Flags< AngleAlgFlags > |
A combination of flags for angle structure enumeration algorithms. More... | |
Enumerations | |
enum | regina::AngleAlgFlags { regina::AS_ALG_DEFAULT = 0x0000 , regina::AS_ALG_TREE = 0x0010 , regina::AS_ALG_DD = 0x0020 , regina::AS_ALG_LEGACY = 0x4000 , regina::AS_ALG_CUSTOM = 0x8000 } |
Represents options and variants of algorithms for enumerating various types of angle structures on 3-manifold triangulations. More... | |
Functions | |
AngleAlg | regina::operator| (AngleAlgFlags lhs, AngleAlgFlags rhs) |
Returns the bitwise OR of the two given flags. More... | |
void | regina::swap (AngleStructure &a, AngleStructure &b) noexcept |
Swaps the contents of the given angle structures. More... | |
void | regina::swap (AngleStructures &lhs, AngleStructures &rhs) |
Swaps the contents of the two given lists. More... | |
MatrixInt | regina::makeAngleEquations (const Triangulation< 3 > &tri) |
Generates the set of angle structure equations for the given triangulation. More... | |
Angle structures on triangulations.
using regina::AngleAlg = typedef regina::Flags<AngleAlgFlags> |
A combination of flags for angle structure enumeration algorithms.
If a function requires an AngleAlg object as an argument, you can pass a single AngleAlgFlags constant, or a combination of such constants using the bitwise OR operator, or empty braces {} to indicate no flags at all.
Represents options and variants of algorithms for enumerating various types of angle structures on 3-manifold triangulations.
These options can be combined using the bitwise OR operator, and then passed to enumeration routines such as the AngleStructures class constructor.
MatrixInt regina::makeAngleEquations | ( | const Triangulation< 3 > & | tri | ) |
Generates the set of angle structure equations for the given triangulation.
These are the angle equations that will be used when enumerating angle structures on the given triangulation.
Each equation will be represented as a row of the resulting matrix, and each column will represent a coordinate in the underlying coordinate system (which is described in the notes for AngleStructure::vector()).
tri | the triangulation upon which these angle structure equations will be based. |
|
inline |
Returns the bitwise OR of the two given flags.
lhs | the first flag to combine. |
rhs | the second flag to combine. |
|
inlinenoexcept |
Swaps the contents of the given angle structures.
This global routine simply calls AngleStructure::swap(); it is provided so that AngleStructure meets the C++ Swappable requirements.
a | the first angle structure whose contents should be swapped. |
b | the second angle structure whose contents should be swapped. |
|
inline |
Swaps the contents of the two given lists.
This global routine simply calls AngleStructures::swap(); it is provided so that AngleStructures meets the C++ Swappable requirements.
See AngleStructures::swap() for more details.
noexcept
, since it fires change events on both lists which may in turn call arbitrary code via any registered packet listeners.lhs | the list whose contents should be swapped with rhs. |
rhs | the list whose contents should be swapped with lhs. |