Author Topic: point3dcollection converter to acgepoint3dArray  (Read 1931 times)

0 Members and 1 Guest are viewing this topic.

xys1995

  • Guest
point3dcollection converter to acgepoint3dArray
« on: December 13, 2011, 02:06:13 AM »
how can I point3dcollection converter to acgepoint3dArray  and DoubleCollection converter to acgedoubleArray

kaefer

  • Guest
Re: point3dcollection converter to acgepoint3dArray
« Reply #1 on: December 13, 2011, 05:15:06 AM »
how can I point3dcollection converter to acgepoint3dArray  and DoubleCollection converter to acgedoubleArray

Why would you want to do that? Virtually any ObjectARX function that takes a AcGePoint3dArray or a AcGeDoubleArray has a managed wrapper that you can call directly with a Point3DCollection or a DoubleCollection respectively.

Besides, there are no conversions involved: AcGePoint3dArray for example is what is unsafely pointed at by the UnmanagedObject property of an instance of a Point3DCollection.