Euclidean -1 0.305288 А1 %1 B1 -0.0675954 -0.135392 %1 -1.48271 2 -0.195156 -3.19248 -1.20673 C1 B 0.0130386 def calc( arg1, arg2 ): # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put x2=arg2.coordinate().x x1=arg1.coordinate().x y2=arg2.coordinate().y y1=arg1.coordinate().y d=sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)) z=Coordinate() z.x=x2-x1 z.y=y2-y1 return Point( arg1.coordinate() + z / (9*d) ) # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put # this code here: # return Point( ( arg1.coordinate() + arg2.coordinate() ) / 2 ) # Please refer to the manual for more information. -1.60776 %1 0 -0.232213 -1 4 %1 2 C 0.21301 0.251008 A 0 -1 3 1 -0.114912 0.0889154 %1 0.461315 -1 4 def calc( arg1, arg2 ): # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put x2=arg2.coordinate().x x1=arg1.coordinate().x y2=arg2.coordinate().y y1=arg1.coordinate().y d=sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)) z=Coordinate() z.x=x2-x1 z.y=y2-y1 return Point( arg1.coordinate() + z / (9*d) ) # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put # this code here: # return Point( ( arg1.coordinate() + arg2.coordinate() ) / 2 ) # Please refer to the manual for more information. 0.025541 0.486191 -0.309284 -1 0 %1 4 0 def calc( arg1, arg2 ): # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put x2=arg2.coordinate().x x1=arg1.coordinate().x y2=arg2.coordinate().y y1=arg1.coordinate().y d=sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)) z=Coordinate() z.x=x2-x1 z.y=y2-y1 return Point( arg1.coordinate() + z / (9*d) ) # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put # this code here: # return Point( ( arg1.coordinate() + arg2.coordinate() ) / 2 ) # Please refer to the manual for more information. 0 T 1 -1 3 4 def calc( arg1, arg2 ): # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put x2=arg2.coordinate().x x1=arg1.coordinate().x y2=arg2.coordinate().y y1=arg1.coordinate().y d=sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)) z=Coordinate() z.x=x2-x1 z.y=y2-y1 return Point( arg1.coordinate() + z / (9*d) ) # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put # this code here: # return Point( ( arg1.coordinate() + arg2.coordinate() ) / 2 ) # Please refer to the manual for more information. 0.0284419 def calc( arg1, arg2 ): # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put x2=arg2.coordinate().x x1=arg1.coordinate().x y2=arg2.coordinate().y y1=arg1.coordinate().y d=sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)) z=Coordinate() z.x=x2-x1 z.y=y2-y1 return Point( arg1.coordinate() + z / (9*d) ) # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put # this code here: # return Point( ( arg1.coordinate() + arg2.coordinate() ) / 2 ) # Please refer to the manual for more information. 0.125372 def calc( arg1, arg2 ): # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put x2=arg2.coordinate().x x1=arg1.coordinate().x y2=arg2.coordinate().y y1=arg1.coordinate().y d=sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)) z=Coordinate() z.x=x2-x1 z.y=y2-y1 return Point( arg1.coordinate() + z / (9*d) ) # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put # this code here: # return Point( ( arg1.coordinate() + arg2.coordinate() ) / 2 ) # Please refer to the manual for more information. %1 0.0518907 3 1 0 def calc( arg1, arg2 ): # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put x2=arg2.coordinate().x x1=arg1.coordinate().x y2=arg2.coordinate().y y1=arg1.coordinate().y d=sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)) z=Coordinate() z.x=x2-x1 z.y=y2-y1 return Point( arg1.coordinate() + z / (9*d) ) # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put # this code here: # return Point( ( arg1.coordinate() + arg2.coordinate() ) / 2 ) # Please refer to the manual for more information. 1 1 2 1.29988 0 0.166011 1.54785 4 0.97909 0.0113886 1 def calc( arg1, arg2 ): # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put x2=arg2.coordinate().x x1=arg1.coordinate().x y2=arg2.coordinate().y y1=arg1.coordinate().y d=sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)) z=Coordinate() z.x=x2-x1 z.y=y2-y1 return Point( arg1.coordinate() + z / (9*d) ) # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put # this code here: # return Point( ( arg1.coordinate() + arg2.coordinate() ) / 2 ) # Please refer to the manual for more information.