两多边形相交求面积 AcDbVoidPtrArray regions; AcDbRegion::createFromCurves(entities, regions); if (regions.length() < 1) { return Acad::eInvalidInput; }