tpm_traceflood

Land Desktop Development ARX CPP SDK

Up a level
tpm_traceflood
 
 

Calculates flood paths.

int

tpm_traceflood(

ade_id trace_id,

ade_id start,

ads_real maxres);

Returns RTNORM or an error code.

trace_id The tracing model ID, returned by tpm_tracealloc.
start The element ID of the start node.
maxres The maximum allowed accumulated path resistance.

The accumulated resistance value is the total resistance of the nodes and links that make up the flood trace.