class BRAID2KNOT
****
word[] --> Knot[]




Public


Readonly Shareds
shared compo:INT;
**** component
shared d, ds:INT;
**** frame of crossings
shared dlu,dll,dru,drl: VERTEXK;
**** shared vx,vy,vxy,vc:VERTEXK;
shared dlu,dll,dru,drl: VERTEXK;
**** shared vx,vy,vxy,vc:VERTEXK;
shared dlu,dll,dru,drl: VERTEXK;
**** shared vx,vy,vxy,vc:VERTEXK;
shared dlu,dll,dru,drl: VERTEXK;
**** shared vx,vy,vxy,vc:VERTEXK;
shared d, ds:INT;
**** frame of crossings
shared dx,dy,dxy,vc:VERTEXK;
shared dx,dy,dxy,vc:VERTEXK;
shared dx,dy,dxy,vc:VERTEXK;
shared height, width:INT;
****
shared indTbl:ARRAY{INT};
**** array[0..BRAIDmaxIndex+1]
shared posTbl:ARRAY{INT};
**** position of the crossing
shared v0,vlu,vll,vru,vrl:VERTEXK;
shared dx,dy,dxy,vc:VERTEXK;
shared v0,vlu,vll,vru,vrl:VERTEXK;
shared v0,vlu,vll,vru,vrl:VERTEXK;
shared v0,vlu,vll,vru,vrl:VERTEXK;
shared v0,vlu,vll,vru,vrl:VERTEXK;
shared height, width:INT;
****

Writable Shareds
shared compo:INT;
**** component
shared d, ds:INT;
**** frame of crossings
shared dlu,dll,dru,drl: VERTEXK;
**** shared vx,vy,vxy,vc:VERTEXK;
shared dlu,dll,dru,drl: VERTEXK;
**** shared vx,vy,vxy,vc:VERTEXK;
shared dlu,dll,dru,drl: VERTEXK;
**** shared vx,vy,vxy,vc:VERTEXK;
shared dlu,dll,dru,drl: VERTEXK;
**** shared vx,vy,vxy,vc:VERTEXK;
shared d, ds:INT;
**** frame of crossings
shared dx,dy,dxy,vc:VERTEXK;
shared dx,dy,dxy,vc:VERTEXK;
shared dx,dy,dxy,vc:VERTEXK;
shared height, width:INT;
****
shared indTbl:ARRAY{INT};
**** array[0..BRAIDmaxIndex+1]
shared posTbl:ARRAY{INT};
**** position of the crossing
shared v0,vlu,vll,vru,vrl:VERTEXK;
shared dx,dy,dxy,vc:VERTEXK;
shared v0,vlu,vll,vru,vrl:VERTEXK;
shared v0,vlu,vll,vru,vrl:VERTEXK;
shared v0,vlu,vll,vru,vrl:VERTEXK;
shared v0,vlu,vll,vru,vrl:VERTEXK;
shared height, width:INT;
****

Features
Braid2Knot(word:BRAID, inout Knot:KNOT):BOOL
**** #OUT+"Braid2Knot:1 word="+word.str+"\n"; word --> Knot[]
addCompo(word:BRAID, si:INT, inout Knot:KNOT)
setw(word:BRAID)
**** set width and origin of braiding d:max interval for closing string. ds:max width of crossing. must be even. dx, dy: width of crossing. (even)

The Sather Home Page