AcMapTopology::TraceLeastCostPath Method

Land Desktop Development ARX CPP SDK

AcMapTopology:: TraceLeastCostPath Method
 

Finds the least-cost path between two points.

AcMap::EErrCode TraceLeastCostPath(
    AcMapObjectPtrArray& apObjectsOnPath, 
    const AcMapTopoNode& start, 
    const AcMapTopoNode& end, 
    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.  
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].