Triangulations of manifolds in all supported dimensions.
More...
Triangulations of manifolds in all supported dimensions.
◆ IsoSigEdgeDegrees
Defines an alternate type of isomorphism signature based on edge degree sequences.
- Python
- Python does not support templates. You can access these classes by appending the appending the dimension as a suffix (e.g., use IsoSigEdgeDegrees3 to use edge degrees in 3-manifold triangulations).
◆ IsoSigRidgeDegrees
Defines an alternate type of isomorphism signature based on degree sequences of (dim-2)-faces.
- Python
- Python does not support templates. You can access these classes by appending the appending the dimension as a suffix (e.g., use IsoSigRidgeDegrees4 to use triangle degrees in 4-manifold triangulations).
◆ faceOppositeEdge()
template<int dim>
constexpr int regina::faceOppositeEdge |
( |
int |
i, |
|
|
int |
j |
|
) |
| |
|
inlineconstexpr |
Returns the (dim-2)-face number that is opposite the edge joining vertices i and j in a dim-dimensional simplex.
This function is offered because its implementation is faster than working through the FaceNumbering class.
The arguments i and j do not need to appear in ascending order.
- Parameters
-
i | the first vertex of an edge in a dim-dimensional simplex. This must be between 0 and dim inclusive. |
j | the second vertex of an edge in a dim-dimensional simplex. This must be between 0 and dim inclusive, and must be different from i. |
- Returns
- the number of the (dim-2)-face opposite the given edge.
◆ operator<<() [1/2]
std::ostream & regina::operator<< |
( |
std::ostream & |
out, |
|
|
const FacePair & |
pair |
|
) |
| |
|
inline |
Writes the given face pair to the given output stream.
- Parameters
-
out | the output stream to which to write. |
pair | the face pair to write. |
- Returns
- a reference to out.
◆ operator<<() [2/2]
template<int dim>
std::ostream & regina::operator<< |
( |
std::ostream & |
out, |
|
|
const FacetSpec< dim > & |
spec |
|
) |
| |
|
inline |
Writes the given facet specifier to the given output stream.
- Parameters
-
out | the output stream to which to write. |
spec | the specifier to write. |
- Returns
- a reference to out.
◆ swap()
Swaps the contents of the two given HomologicalData objects.
This global routine simply calls HomologicalData::swap(); it is provided so that HomologicalData meets the C++ Swappable requirements.
- Warning
- Although this operation is constant time, the HomologicalData class contains an enormous amount of data spread across many different member variables, and so this should really be considered "expensive
constant time". You should still work to avoid swapping (or moving, and certainly copying) HomologicalData objects where possible.
- Parameters
-
a | the first object whose contents should be swapped. |
b | the second object whose contents should be swapped. |