There is a function named ‘asDblArray()’ that casts AcGePoint3d to ads_point wherever it is necessary.
The following sample code demonstrates this:
#include "geassign.h"
AcGePoint3d pt;
acedGetPoint (NULL, L"Get a point: ",asDblArray (pt)) ;
If you want to convert from ads_point to AcGePoint3d, use its complimenting function, ‘asPnt3d()’.

Leave a Reply