ObjectARX_distanceTo俩点间的距离

AcGePoint2d pt1;
AcGePoint2d pt2;
double dDistance = pt1.distanceTo(pt2);