AcMapTopology::MergePolygons Method

Land Desktop Development ARX CPP SDK

AcMapTopology:: MergePolygons Method
 

Merges neighboring polygons, dissolving the boundaries between them.

AcMap::EErrCode MergePolygons(
    AcMapPolygonPtrArray& apPolygons
);
Parameters 
Description 
apPolygons 
Input array of polygons to merge.  
Returns

Returns AcMap::EErrCode kOk if successful; otherwise, returns a different error code.

Remarks

If one of the specified polygons shares no boundary with the others, this function fails. After a merge succeeds, the aPolygons[0] will reference the newly merged polygon. The other polygon references become invalid and are removed from aPolygons[].

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].