方法是 public double DistanceTo(IOn3dPoint point)作者: marcowoo 时间: 2010-5-20 01:53
谢谢 panhao1 兄,谢谢!作者: qq56 时间: 2010-5-31 16:02
when you have time, please use VB to make the same goal.作者: renn 时间: 2010-6-28 17:37 15#qq56
Why don't you use VB to code it?作者: renn 时间: 2010-6-28 17:39
[attach]9005[/attach]
之前用的时候,发现double的精度太高,所以稍微修改了下,增加了个tolerance作者: panhao1 时间: 2010-6-30 13:56 17#renn
GH的VB有好几个bug 不建议大家使用
再说C#写起来不是更简单些么??作者: renn 时间: 2010-7-1 00:12 18#panhao1
看来你有点细节搞错了作者: renn 时间: 2010-7-1 00:19
tolerance还是这样声明比较方便
VB.NET
Dim tol As Double = RhUtil.RhinoApp().ActiveDoc().AbsoluteTolerance()
C#
double tol = RhUtil.RhinoApp().ActiveDoc().AbsoluteTolerance();作者: panhao1 时间: 2010-8-17 19:04 20#renn