The functions of the program

1 norm_vect := proc(v)

 In Parameter :

Out Parameter :

Function :

 

2 tan_vect := proc(v::vector)

 In Parameter :

Out Parameter :

Function :

3 tan_unit := proc(v::vector)

 In Parameter :

Out Parameter :

Function :

 

4 tan_norm := proc(v::vector)

 In Parameter :

Out Parameter :

Function :

 

5 nor_vect := proc(v::vector)

 In Parameter :

Out Parameter :

Function :

 

6 curbature := proc(v::vector)

 In Parameter :

Out Parameter :

Function :

 

7 nor_unit := proc(v::vector)

 In Parameter :

Out Parameter :

Function :

 

8 bin_vect := proc(v::vector)

 In Parameter :

Out Parameter :

Function :

 

9 torsion := proc(v::vector) 

In Parameter :

Out Parameter :

Function :

 

10 bin_unit := proc(v::vector) 

In Parameter :

Out Parameter :

Function :

 

11 kap1 := proc(k,twist) 

In Parameter :

Out Parameter :

Function :

 

12 kap2 := proc(k,twist) 

In Parameter :

Out Parameter :

Function :

 

13 kap3 := proc(t,twist) 

In Parameter :

Out Parameter :

Function :

 

14 d1 := proc(v::vector,twist) 

In Parameter :

Out Parameter :

Function :

 

15 d2:= proc(v::vector,twist) 

In Parameter :

Out Parameter :

Function :

 

16 d3 := proc(v::vector) 

In Parameter :

Out Parameter :

Function :

 

17 kappa_to_k := proc(k1,k2) 

In Parameter :

Out Parameter :

Function :

 

18 kappa_to_dn := proc(k1,k2,k3) 

In Parameter :

Out Parameter :

Function :

 

19 torcur_to_tnb_di := proc(k,tor) 

In Parameter :

Out Parameter :

Function :

 

20 discret_p := proc(v::vector,x,max,h,twist) 

In Parameter :

Out Parameter :

The i represents all the points discretisized from 1 to h. So table[1][1] represent the position vector of the vector v given in parameter at the point x, table[2][1] represent the position vector of the vector v at the point x+(max-x)/h, …

Function :

 

21 discret_p_tnb := proc(k1,k2,x,max,h) 

In Parameter :

Out Parameter :

The i represents all the points discretisized from 1 to h. So table[1][1] represent the position vector of the vector v given in parameter at the point x, table[2][1] represent the position vector of the vector v at the point x+(max-x)/h, …

 

Function :

 

22 discret_p_tnb := proc(k1,k2,x,max,h) 

In Parameter :

Out Parameter :

The i represents all the points discretisized from 1 to h. So table[1][1] represent the position vector of the vector v given in parameter at the point x, table[2][1] represent the position vector of the vector v at the point x+(max-x)/h, …

 

Function :

 

23 discret_p_kappa := proc(k1,k2,k3,x,max,h) 

In Parameter :

Out Parameter :

The i represents all the points discretisized from 1 to h. So table[1][1] represent the position vector of the vector v given in parameter at the point x, table[2][1] represent the position vector of the vector v at the point x+(max-x)/h, …

 Function :

 

24 dna_filament := proc(v::vector,x,max,radi,lambda) 

In Parameter :

Out Parameter :

Function :

 

25 dna_d_filament := proc(v::vector,x,max,radi,lambda) 

In Parameter :

Out Parameter :

Function :

 

26 funky_filament := proc(v::vector,x,max,radi,lambda) 

In Parameter :

Out Parameter :

Function :

 

27 any_filament := proc(v::vector,x,max,radi,form_1,form_2) 

In Parameter :

Out Parameter :

Function :

 

28 ressort_filament := proc(v::vector,x,max,radi,twist) 

In Parameter :

Out Parameter :

Function :

 

29 dna2_filament := proc(v::vector,x,max,radi,twist) 

In Parameter :

Out Parameter :

Function :

 

30 tor_filament := proc(v::vector,x,max,radi,twist) 

In Parameter :

Out Parameter :

Function :

 

31 tube_filament := proc(v::vector,x,max,radi,twist) 

In Parameter :

Out Parameter :

Function :

 

32 point_filament := proc(v::vector,x,max,h,twist) 

In Parameter :

Out Parameter :

Function :

 

33 square1 := proc(smax,twist) 

In Parameter :

Out Parameter :

Function :

 

34 square2 := proc(smax,twist) 

In Parameter :

Out Parameter :

Function :

 

35 tan_points := proc(l::list) 

In Parameter :

Function :

 

36 nor_cur_points := proc(l:list) 

In Parameter :

Out Parameter :

Function :

 

37 bin_tor_points := proc(l:list) 

In Parameter :

Out Parameter :

Function :

 

38 put_in := proc(aa,x,max,hh) 

In Parameter :

Out Parameter :

Function :

 

39-57 are functions which works internally by numerical means, they do not calculate any equation symbolically; they work only, and directly, from a list of discretized points created out of the position vector in a certain interval.

 

39 glob_dis := proc(v::vector,xx,maxx,hh,twist)

 In Parameter :

Out Parameter :

Function :

 

40 glob_dis2 := proc(l) 

In Parameter :

Out Parameter :

Function :

 

41 point_dis := proc(v::vector,xx,maxx,hh) 

In Parameter :

Out Parameter :

Function :

 

42 point_dis2 := proc(l)

 In Parameter :

Out Parameter :

Function :

 

43 tan_dis := proc(v::vector,xx,maxx,hh) 

In Parameter :

Out Parameter :

Function :

 

44 tan_dis2 := proc(v) 

In Parameter :

Out Parameter :

Function :

 

45 nor_dis := proc(v::vector,xx,maxx,hh) 

In Parameter :

Out Parameter :

Function :

 

46 bin_dis := proc(v::vector,xx,maxx,hh) 

In Parameter :

Out Parameter :

Function :

 

47 cur_dis := proc(v::vector,xx,maxx,hh) 

In Parameter :

Out Parameter :

Function :

 

48 tor_dis := proc(v::vector,xx,maxx,hh) 

In Parameter :

Out Parameter :

Function :

 

49 kap1_dis := proc(v::vector,xx,maxx,hh,twistt) 

In Parameter :

Out Parameter :

Function :

 

50 kap2_dis := proc(v::vector,xx,maxx,hh,twistt) 

In Parameter :

Out Parameter :

Function :

 

51 kap3_dis := proc(v::vector,xx,maxx,hh,twistt) 

In Parameter :

Out Parameter :

Function :

 

52 kap3_dis2 := proc(l) 

In Parameter :

Out Parameter :

Function :

 

53 d1_dis := proc(v::vector,xx,maxx,hh,twist) 

In Parameter :

Out Parameter :

Function :

 

54 d1_dis2 := proc(l) 

In Parameter :

Out Parameter :

Function :

 

55 d2_dis := proc(v::vector,xx,maxx,hh,twistt)

 In Parameter :

Out Parameter :

Function :

 

56 d2_dis2 := proc(l) 

In Parameter :

Out Parameter :

Function :

 

57 d3_dis := proc(v::vector,xx,maxx,hh,twistt)

 In Parameter :

Out Parameter :

Function :

 

58-69 are function which works by finding the needed curve’s properties by symbolic means out of the position vector.

 

58 point_dis3 := proc(v::vector,xx,maxx,hh,twist)

 In Parameter :

Out Parameter :

Function :

 

59 tan_dis3 := proc(v::vector,xx,maxx,hh)

 In Parameter :

Out Parameter :

Function :

 

60 nor_dis3 := proc(v::vector,xx,maxx,hh) 

In Parameter :

Out Parameter :

Function :

 

61 bin_dis3 := proc(v::vector,xx,maxx,hh) 

In Parameter :

Out Parameter :

Function :

 

62 tor_dis3 := proc(v::vector,xx,maxx,hh) 

In Parameter :

Out Parameter :

Function :

 

63 cur_dis3 := proc(v::vector,xx,maxx,hh) 

In Parameter :

Out Parameter :

Function :

 

64 kap1_dis3 := proc(v::vector,xx,maxx,hh,twistt) 

In Parameter :

Out Parameter :

Function :

 

65 kap2_dis3 := proc(v::vector,xx,maxx,hh,twistt) 

In Parameter :

Out Parameter :

Function :

 

66 kap3_dis3 := proc(v::vector,xx,maxx,hh,twistt) 

In Parameter :

Out Parameter :

Function :

 

67 d1_dis3 := proc(v::vector,xx,maxx,hh,twist) 

In Parameter :

Out Parameter :

Function :

 

68 d2_dis3 := proc(v::vector,xx,maxx,hh,twistt) 

In Parameter :

Out Parameter :

Function :

 

69 d3_dis3 := proc(v::vector,xx,maxx,hh,twistt) 

In Parameter :

Out Parameter :

Function :

 

70 fragme1 := proc(x,y,total) 

In Parameter :

Out Parameter :

Function :

 

 71 fragme2 := proc(x,y,level,total)

 In Parameter :

Out Parameter :

Function :

 

72 error_discret := proc(v::vector,x,max,h,twist) 

In Parameter :

Out Parameter :

Function :

 

73 Writhe1 := proc(v,x,max,delta2)

 

In Parameter :

Out Parameter :

Function :

 

74 Writhe2 := proc(v,x,max,delta2) 

In Parameter :

Out Parameter :

Function :

 

75 Link1 := proc(v1,v2,x,max,delta2)

 In Parameter :

Out Parameter :

Function :

 

76 Link2 := proc(v1,v2,x,max,delta2) 

In Parameter :

Out Parameter :

Function :

 

77 Twist1 := proc(v,x,max,delta2,twistfunction)

 In Parameter :

Out Parameter :

Function :

 

78 Twist2 := proc(v,x,max,delta2,twistfunction)

 In Parameter :

Out Parameter :

Function :

 

79 Torsion1 := proc(v,x,max,delta2)

 In Parameter :

Out Parameter :

Function :

 

80 Torsion2 := proc(v,x,max,delta2)

 In Parameter :

Out Parameter :

Function :

 

81-117 are maple to pov conversion procedures.

 

81 mheader := proc()

 In Parameter :

Out Parameter :

Function :

 

82 minclude := proc(mlist) 

In Parameter :

Out Parameter :

Function :

 

83 mcamera := proc(t)

 In Parameter :

Out Parameter :

Function :

 

84 mlight := proc(mloc::list) 

In Parameter :

Out Parameter :

Function :

 

85 mspotlight := proc(mloc::list,mat::list,mrad,mfall,mtight) 

In Parameter :

Out Parameter :

Function :

 

86 mplane := proc(mtype)

 In Parameter :

Out Parameter :

Function :

 

87 mbackground := proc(color)

 In Parameter :

Out Parameter :

Function :

 

88 msky := proc(mtype)

 In Parameter :

Out Parameter :

Function :

 

 89 minit := proc(mname)

 In Parameter :

Out Parameter :

Function :

 

90 mfinish := proc() 

In Parameter :

Out Parameter :

Function :

 

91 mdeclare := proc(mdec)

 In Parameter :

Out Parameter :

Function :

 

92 mwhile := proc(mco) 

In Parameter :

Out Parameter :

Function :

 

93 mend := proc()

In Parameter :

Out Parameter :

Function :

 

94 mif := proc(mco)

In Parameter :

Out Parameter :

Function :

 

95 melse := proc()

 In Parameter :

Out Parameter :

Function :

 

96 mtexture := proc(mcolor)

 In Parameter :

Out Parameter :

Function :

 

97 msphere := proc(mcenter,mradius,mcolor)

 In Parameter :

Out Parameter :

Function :

 

98 mbox := proc(mcorner1,mcorner2,mcolor)

 In Parameter :

Out Parameter :

Function :

 

99 mcone := proc(mend1,mend2,mrad1,mrad2,mcolor)

 In Parameter :

Out Parameter :

Function :

 

100 mcyl := proc(mend1,mend2,mradius,mcolor)

 In Parameter :

Out Parameter :

Function :

 

101 munion := proc()

 In Parameter :

Out Parameter :

Function :

 

102 mintersection := proc()

 In Parameter :

Out Parameter :

Function :

 

103 mdifference := proc()

 In Parameter :

Out Parameter :

Function :

 

104 mmerge := proc()

 In Parameter :

Out Parameter :

Function :

 

105 mend_csg := proc()

 In Parameter :

Out Parameter :

Function :

 

106 mtranslate := proc(mtrans)

 In Parameter :

Out Parameter :

Function :

 

107 mrotate := proc(mrotate)

 In Parameter :

Out Parameter :

Function :

 

108 mscale := proc(mscale)

 In Parameter :

Out Parameter :

Function :

 

109 mambient_light := proc(mcolor)

 In Parameter :

Out Parameter :

Function :

 

110 mtext := proc(mte,mcolor,mthick,moff)

 In Parameter :

Out Parameter :

Function :

 

111 mscene := proc(mnum)

 In Parameter :

Out Parameter :

Function :

 

112 manim := proc(mframe,mname)

 In Parameter :

Out Parameter :

Function :

 

113 mknot := proc(mnum1,mnum2)

 In Parameter :

Out Parameter :

Function :

 

114 knot := proc(mnum1,mnum2)

 In Parameter :

Out Parameter :

Function :

 

115 mshowscenes := proc(mname)

 In Parameter :

Out Parameter :

Function :

 

116 surfaceplot := proc(param1,param2,param3)

 In Parameter :

Out Parameter :

Function :

 

117 povdisplay := proc(param1,param2,param3)

 In Parameter :

Out Parameter :

Function :

List of parameters(mandatory):

 

	 First parameter(type)

	

surface - draws a surface Z(X,Y)

knot - draws a knot

curve - draws a curve(not discretisised)

vector - draws a curve(discretisised)

points - draws a list of points

 

Second parameter(equations)

 

surface - equation of a surface in the form Z(X,Y)

knot - [number of crossings, rank in its familly]

curve - equation of a curve with parameter s (example: vector([cos(s),s,sin(s)]))

vector - equation of a curve with parameter s

points - list of points in the form of a list of list

points+twist - list of the points coordinates + local twist at each point + value of

			 the parameter s for each point

 

Third parameter(interval)

 

surface - interval for the X and Y parameters(example: [[0,6],[0,6]])

knot - interval for the s parameter(example: [0,6])

curve - interval for the s parameter

vector - interval for the s parameter

points - value must be 1

points+twist - value must be 2

 

List of options(all have default values):

 

orientation - gives the orientation of the resulting picture(example: orientation=[

	 -90,90], default=[45,45])

radius - gives the radius of the spheres(default=0.7)

color - gives the color of the spheres(default=Yellow)

light - gives the coordinates of the light bulb(default=[100,-300,200])

camera - gives the coordinates of the camera(default=[0,-40,0])

animation - sets the animation option(values: yes or no, default=no)

animationname - gives the name of the animation .ini file(default=test.ini)

frames - gives the number of intermediate frames of the animation(default=100)

precision - defines the precision of the resulting image(default=0.02)

numberofpoints - defines how many spheres will be drawn when the knot, curve

morphing - sets the morphing option, it automatically set the animation option to

yes(values: yes or no, default=no)

ribbon - sets the ribbon option(values: yes or no, default=no)

twist - sets the number of twist if the ribbon option is set to yes(default=0);

append - set the append option, if set to yes, the image will be appended to the

file(default=no)

preview - preview the image in maple graphics(values: yes or no, default=no)

ribbonprecision - gives the precision of the ribbon(default=4)

scene - sets the scene number(default=13, values ranging from 0 to 17)

background - gives a background color, no plane or sky exist no

			 more(default=Blue)

povname - gives the name of the pov output file(extension .pov, default=test.pov)

ribbonstyle - gives the style of the ribbon(1 - ribbon, 2 - wounding curve, 3 - two

			 half ribbon with different colors, default=1)

ribboncolor - gives the color of the ribbon(default=color)

animationstyle - gives the animation styles(1 - twist around the z axis, 2 - animate

			 on a specific variable, 3 - both 1 and 2)

animationvariable - gives the specific variable, and then a list of beginning and

ending values (default=[`A`,0,2*Pi])

ribbondistance - gives the width of the ribbon(default=1)

cyclicanimation - if the animation cycles, then it should be yes (default=no);

translate - gives the overall translation of the object (default=[0,0,0]);

scale - gives the overall scaling of the object (default=[1,1,1]);

blackwhite - color / black & white (value: yes or no, default=no)

finalclock - sets the final clock value for animation(default=1)

animationline - gives a personal animation line(default=nothing)