1.py程序运行,能不能运行结束,上方出现times,纪录运行时间?
import rhinoscriptsyntax as rs
import math
a=rs.GetObject('get a closed curve')
b=rs.GetObject('pick a point')
c=rs.PointInPlanarClosedCurve(b,a)
if c=0:
print('point is on the curve')
elif c=1:
print('point is in the curve')
else c=2
print('point is out the curve') pointsinplanarclosedcurve返回值是0,1,2,c=0报错
File "C:\Documents and Settings\xieyoujun\Desktop\aa.py", line 7
if c=0: