<!-- https://docs.dseams.info/api/struct_smooth_Topology.md -->

# struct smooth::Topology {#struct-smooth-topology}

## Overview {#overview}

Candidate rings, shortcut paths and hexagon pairs of one graph. [More…](#details-structsmooth-1-1-topology)

## Detailed Documentation {#detailed-documentation}

Candidate rings, shortcut paths and hexagon pairs of one graph.

Fixed between neighbour-list rebuilds. Edge e joins edges\[e\]\[0\] < edges\[e\]\[1\]. Ring k lists its members in ringAtoms\[ringOff\[k\] .. ringOff\[k + 1\]\], in cycle order from its lowest index toward the lesser of that member’s ring neighbours, and the edge from member t to member t + 1 (cyclically) in ringEdges at the same offsets. The shortcut paths of ring k are paths pathOff\[k\] .. pathOff\[k + 1\]; path p is the edge list pathEdges\[pathEdgeOff\[p\] .. pathEdgeOff\[p + 1\]\].

### Methods {#methods}

Edge id of the pair (i, j), or -1.
