AcMapTopology::MergePolygons Method

Land Desktop Development ARX CPP SDK

AcMapTopology:: MergePolygons Method
 

Merges two neighboring polygons, dissolving the boundaries between them.

AcMap::EErrCode MergePolygons(
    const AcMapTopoPolygon& polygon1, 
    const AcMapTopoPolygon& polygon2
);
Parameters 
Description 
polygon1 
Input object reference of the first AcMapTopoPolygonpolygon to merge.  
polygon2 
Input object reference of the second AcMapTopoPolygonpolygon to merge.  
Returns

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

Remarks

After the merge succeeds, polygon1 will point to the new, merged polygon object and polygon2 becomes invalid; the caller is responsible for freeing the object referenced by polygon2.

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].