external C class KNOTXW
Flattened version is
here
Public
Features
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,
TorusStr2Knot(str:EXT_OB):BOOL
TrackEventM(event,button,mouseX,mouseY:INT)
TwoBridgeStr2Knot(str:EXT_OB):BOOL
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);
repaint
****
repaint window for Expose event
spackBraid(p:INT)
The Sather Home Page