SRL Archive - OSR Help

Rotate DTM


castrovalva

2012-04-29 13:54:06

Hello,

I found a function FindDTMRotatedSE but I dont know what aFound is.

function FindDTMRotatedSE(DTM: Integer; var x, y: Integer;
xs, ys, xe, ye: Integer; sAngle, eAngle, aStep: Extended;
var aFound: Extended): Boolean;

Do you know the answer?
And how to use it?

Paradoxium

2012-04-29 14:14:02

not sure about the SE (maybe South East) but aFound is the angle in which Simba finds your DTM. SO basically it is going to store your angle there, but to use it you prob want the X,Y coor :D

masterBB

2012-04-29 14:30:32

Width FindDTMsRotatedSE It will start looking at the start angle and moves towards the end angle. With alternating it will start between those angles and moves to the angles with -, +.

SE:
FindDTMsRotatedSE -> startAngle = 90 -> endAngle -> 112
order:
[90,91,92…110,111,112]

Alternating:
FindDTMsRotatedAlternating -> startAngle = 90 -> endAngle -> 112
order:
[101,100,102,99,103…111,90,112]