external C class KNOTXW
Public
Features
BRAIDmaxSLen:INT
****
r:INT:=#(BRAID::BRAIDmaxSLen);
BraidWord2Knot(str:EXT_OB):BOOL
BraidWord2RArtinNormalForm(str1:EXT_OB,out str2:C_PTR):BOOL
BraidWord2RBraidWord(str1:EXT_OB,out str2:C_PTR):BOOL
ClearWindow;
DrawCircle(x,y,r,palet:INT, fill:BOOL);
DrawKnotPic(width, height, margin, scalingMode:INT)
DrawLine(x1,y1,x2,y2,palet:INT);
DrawPoint(x,y,palet:INT);
EditSelectM(select:INT):INT
EffectSelectM(select:INT):INT
FilesSelectM(select:INT):INT
FlushPixel;
****
copy from pixel to window
GraphHeight:INT;
****
GraphWidth:INT;
InvSelectM(select:INT):INT
Knot2BraidWord(out str:C_PTR):BOOL
****
C_CHAR_PTR or EXT_OB
Knot2NDataStr(out str:C_PTR):BOOL
NDataStr2Knot(str:EXT_OB):BOOL
OtherSelectM(select:INT):INT
ReadKnotN(str:EXT_OB):BOOL
RepSL2pSearch(n,form,twistAlex:INT)
****
-----
_
group
_
representation
_
-------
RepSearch(n,form,branchind,covlk,h1b,h1u,knotgrp,twistAlex,
TrackEventM(event,button,mouseX,mouseY:INT)
VPara(n:INT)
****
Jones poly. of n-parallel link.
WindowSw(s:INT);
****
context switch for Draw* 1:screen, 0:pixel
WriteBraidN(str:EXT_OB):BOOL
WriteKnotN(str:EXT_OB):BOOL
WriteKnotNVer1(str:EXT_OB):BOOL
WriteNDataN(str:EXT_OB):BOOL
endprogram
****
"endprogram: Exit this program.\n";
is_packBraid:BOOL
knotXProc(argc:INT,argv:C_PTR);
****
__
X
_
main
_
loop
Use as KNOTXW::knotXProc(argv.size, argv.array_ptr);
maxNSLen:INT
repaint
****
repaint window for Expose event
spackBraid(p:INT)
The Sather Home Page