Share

acedTraceBoundary Function

C++

Acad::ErrorStatus acedTraceBoundary(
    const AcGePoint3d& seedPoint, 
    bool detectIslands, 
    AcDbVoidPtrArray& resultingBoundarySet
);

File

aced.h

Description

Performs a boundary trace on the given seedPoint, and returns a set of AcDbPolyline * objects that represent the boundary found.

To succeed, the entities that form the boundary to be found must be entirely visible on screen in the AutoCAD editor.

Parameters

Parameters Description
seedPoint The seed point, in UCS, for the boundary trace.
detectIslands A boolean indicating whether or not to detect islands.
resultingBoundarySet Contains the resulting boundary in form of AcDbPolyline* objects, if the operation is completed sucessfully. When called with detectIslands set to false, the array contains only one entry, representing the outer boundary. When called with detectIslands set to true, the array can contain multiple AcDbPolyline* entries. In this case, the first entry is the outermost boundary, and the succeeding entries represent the islands found.

Returns

Acad::ErrorStatus

Was this information helpful?