Regina Calculation Engine
|
Represents an angle structure on a triangulation. More...
#include <angle/anglestructure.h>
Public Member Functions | |
AngleStructure (const Triangulation< 3 > *triang, AngleStructureVector *newVector) | |
Creates a new angle structure on the given triangulation with the given coordinate vector. More... | |
~AngleStructure () | |
Destroys this angle structure. More... | |
AngleStructure * | clone () const |
Creates a newly allocated clone of this angle structure. More... | |
Rational | angle (size_t tetIndex, int edgePair) const |
Returns the requested angle in this angle structure. More... | |
const Triangulation< 3 > * | triangulation () const |
Returns the triangulation on which this angle structure lies. More... | |
bool | isStrict () const |
Determines whether this is a strict angle structure. More... | |
bool | isTaut () const |
Determines whether this is a taut angle structure. More... | |
bool | isVeering () const |
Determines whether this is a veering structure. More... | |
const AngleStructureVector * | rawVector () const |
Gives read-only access to the raw vector that sits beneath this angle structure. More... | |
void | writeTextShort (std::ostream &out) const |
Writes a short text representation of this object to the given output stream. More... | |
void | writeXMLData (std::ostream &out) const |
Writes a chunk of XML containing this angle structure and all of its properties. More... | |
AngleStructure (const AngleStructure &)=delete | |
AngleStructure & | operator= (const AngleStructure &)=delete |
void | writeTextLong (std::ostream &out) const |
A default implementation for detailed output. More... | |
std::string | str () const |
Returns a short text representation of this object. More... | |
std::string | utf8 () const |
Returns a short text representation of this object using unicode characters. More... | |
std::string | detail () const |
Returns a detailed text representation of this object. More... | |
Protected Member Functions | |
void | calculateType () const |
Calculates the structure type (strict or taut) and stores it as a property. More... | |
Friends | |
class | regina::XMLAngleStructureReader |
Represents an angle structure on a triangulation.
Once the underlying triangulation changes, this angle structure is no longer valid.
|
inlineinherited |
A default implementation for detailed output.
This routine simply calls T::writeTextShort() and appends a final newline.
out | the output stream to which to write. |