dim XXX as new arraylist()
dim XXX as arraylist()
dim XXX as list()
dim XXX as on3dpoint
dim XXX as new on3dpoint
這幾種的差別到底差在哪???
Dim grid As New ArrayList()
Dim i As Integer
Dim j As Integer
For i = 0 To pts.Count() - 1 Step GS
Dim row As New List(Of Point3d)
For j = i To i + GS - 1
Dim pt As Point3d
pt = pts(j)
row.Add(pt)
Next
grid.Add(row)
Next
Dim midpts As New List(Of Point3d)
For i = 1 To grid.Count() - 1
Dim row0 As List(Of Point3d)
row0 = grid(i - 1)
Dim row1 As List(Of Point3d)
row1 = grid(i)
For j = 1 To row0.Count() - 1
Dim midpt As New Point3d
midpt = (row0(j - 1) + row0(j) + row1(j - 1) + row1(j)) / 4
midpts.Add(midpt)
Next
Next
A = midpts
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
code as following ...
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
[attach]13452[/attach]
剛剛試了一下,他讀入的點資料,直接改成corss reference 就可以了,不用再flat 其他的地方。
[attach]13455[/attach][attach]13456[/attach]
她list 點讀入可能需要樹狀結構!! 跟你解釋的一樣作者: wenchongyun 时间: 2010-12-30 09:35
GH里变量类型比RS多N倍作者: weiwei 时间: 2010-12-30 09:55
data type 真的比較多!!作者: panhao1 时间: 2010-12-30 20:50
dim XXX as new arraylist()
dim XXX as arraylist()
dim XXX as list()
dim XXX as on3dpoint
dim XXX as new on3dpoint