opensurgsim
Public Member Functions | Public Attributes | List of all members
SurgSim::Blocks::KnotIdentificationBehavior::Crossing Struct Reference

struct to store a Crossing. More...

#include <KnotIdentificationBehavior.h>

Public Member Functions

 Crossing (int id, size_t segmentId, double segmentLocation, int sign)
 
bool operator== (const Crossing &rhs) const
 

Public Attributes

int id
 The gauss code. abs(id) indicates which crossing. sign(id) is positive for over and negative for under.
 
size_t segmentId
 
double segmentLocation
 
int sign
 also known as handedness. See documentation for addKnownKnotCode.
 

Detailed Description

struct to store a Crossing.

Gauss code is not sufficient, also need the crossing sign (aka enhanced gauss code), see: Ellis, Graham, and Cedric Fragnaud. "Computing with knot quandles." Journal of Knot Theory and Its Ramifications 27.14 (2018): 1850074.


The documentation for this struct was generated from the following file: