#include <nknot.h>
Public Member Functions | |
NKnot () | |
Creates the empty link. | |
NKnot (const std::string &s) | |
Creates a knot using its Dowker notation or a spanning surface representation. | |
bool | isValid () const |
Returns true if a valid knot or link was created. | |
NTriangulation * | getTriang (bool ideal=true) |
Creates a triangulation of the knot complement. |
A knot/link can be presented in one of two ways: Dowker notation which works for knots only, or using an embedded of a sign planar graph in a plane which works for both knots and links.
Once a knot or link is created ideal and finite triangulations of the complement can be constructed.
|
Creates the empty link.
|
|
Creates a knot using its Dowker notation or a spanning surface representation.
|
|
Creates a triangulation of the knot complement. Both ideal and finite triangulations are possible.
|
|
Returns true if a valid knot or link was created.
|