AcMapTopology::TraceBestPath Method

Land Desktop Development ARX CPP SDK

AcMapTopology:: TraceBestPath Method
 

Finds the least-cost path between start and end points with intermediate points to visit.

AcMap::EErrCode TraceBestPath(
    AcMapObjectPtrArray& apObjectsOnPath, 
    const AcMapTopoNode& start, 
    const AcMapTopoNode& end, 
    const AcMapNodePtrArray& apIntermediates, 
    const AcMapTraceParameters& params
);
Parameters 
Description 
apObjectsOnPath 
Output nodes and lines along the path.  
start 
Input AcMapTopoNodenode that starts the path.  
end 
Input AcMapTopoNodenode that ends the path.  
apIntermediates 
Input array of intermediate nodes to visit.  
params 
Input AcMapTraceParameterstrace parameter settings.  
Returns

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

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