代码片段: functioncircumcenter(v0,v1,v2){ vardenominator=(v1.y-v2.y)*(v1.x-v0.x)-(v1.y-v0.y)*(v1.x-v2.x), num0=((v0.xv1.x)*(v1.x-v0.x))/2((v1.y-v0.y)*(v0.yv1.y))/2, num1=((v1.xv2.x)*(v1.x-v2.x))/2((v1.y-v2.y)*(v1.yv2.y))/2, c=