#include <nsfs.h>
Public Member Functions | |
NSFSFibre () | |
Creates a new uninitialised exceptional fibre. | |
NSFSFibre (long newAlpha, long newBeta) | |
Creates a new exceptional fibre with the given parameters. | |
NSFSFibre (const NSFSFibre &cloneMe) | |
Creates a new exceptional fibre that is a clone of the given fibre. | |
void | operator= (const NSFSFibre &cloneMe) |
Makes this exceptional fibre a clone of the given fibre. | |
bool | operator== (const NSFSFibre &compare) const |
Determines if this and the given exceptional fibre are identical. | |
bool | operator< (const NSFSFibre &compare) const |
Determines if this exceptional fibre is smaller than the given fibre. | |
Public Attributes | |
long | alpha |
The first parameter of this (alpha, beta) fibre. | |
long | beta |
The second parameter of this (alpha, beta) fibre. |
The first parameter alpha must be strictly positive, and the two parameters alpha and beta must be coprime.
Note that we allow regular fibres with alpha = 1, and we do not impose range limits on beta (thus beta may be negative, or it may be larger than alpha). This is to allow more flexibility in routines such as NSFSpace::insertFibre().
regina::NSFSFibre::NSFSFibre | ( | ) | [inline] |
Creates a new uninitialised exceptional fibre.
regina::NSFSFibre::NSFSFibre | ( | long | newAlpha, | |
long | newBeta | |||
) | [inline] |
Creates a new exceptional fibre with the given parameters.
newAlpha | the first parameter (the index) of this exceptional fibre; this must be strictly positive. | |
newBeta | the second parameter of this exceptional fibre; this must have no common factors with the first parameter newAlpha. |
regina::NSFSFibre::NSFSFibre | ( | const NSFSFibre & | cloneMe | ) | [inline] |
Creates a new exceptional fibre that is a clone of the given fibre.
cloneMe | the exceptional fibre to clone. |
void regina::NSFSFibre::operator= | ( | const NSFSFibre & | cloneMe | ) | [inline] |
Makes this exceptional fibre a clone of the given fibre.
cloneMe | the exceptional fibre to clone. |
bool regina::NSFSFibre::operator== | ( | const NSFSFibre & | compare | ) | const [inline] |
Determines if this and the given exceptional fibre are identical.
This requires both fibres to have the same values for alpha and the same values for beta.
compare | the fibre with which this will be compared. |
true
if and only if this and the given fibre are identical. bool regina::NSFSFibre::operator< | ( | const NSFSFibre & | compare | ) | const [inline] |
Determines if this exceptional fibre is smaller than the given fibre.
Fibres are sorted by alpha and then by beta.
compare | the fibre with which this will be compared. |
true
if and only if this is smaller than the given fibre.
The first parameter of this (alpha, beta) fibre.
Note that this is the index of the exceptional fibre. This parameter must always be strictly positive.
The second parameter of this (alpha, beta) fibre.
This parameter must have no common factors with alpha.