tpm_traceshortval

Land Desktop Development ARX CPP SDK

Up a level
tpm_traceshortval
 
 

Calculates the resistance of the shortest path.

int

tpm_traceshortval(

ade_id trace_id,

ads_real *resist);

Returns RTNORM or an error code.

trace_id The tracing model ID returned by tpm_tracealloc.
resist The shortest path resistance.

Before calling this function, use tpm_traceshort to calculate the shortest path.