mirror of
https://github.com/moparisthebest/Simba
synced 2024-12-22 23:38:50 -05:00
FindDTMRotated
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@553 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
parent
e5854f3eab
commit
a8eea538c7
@ -2012,8 +2012,17 @@ end;
|
||||
|
||||
function TMFinder.FindDTMRotated(DTM: pDTM; out x, y: Integer; x1, y1, x2, y2: Integer; sAngle, eAngle, aStep: Extended; out aFound: Extended): Boolean;
|
||||
|
||||
var
|
||||
P: TPointArray;
|
||||
F: T2DExtendedArray;
|
||||
begin
|
||||
raise Exception.CreateFmt('Not done yet!', []);
|
||||
FindDTMsRotated(dtm, P, x1, y1, x2, y2, sAngle, eAngle, aStep, F, 1);
|
||||
if Length(P) = 0 then
|
||||
exit(false);
|
||||
aFound := F[0][0];
|
||||
x := P[0].x;
|
||||
y := P[0].y;
|
||||
Exit(True);
|
||||
end;
|
||||
|
||||
function TMFinder.FindDTMsRotated(_DTM: pDTM; out Points: TPointArray; x1, y1, x2, y2: Integer; sAngle, eAngle, aStep: Extended; out aFound: T2DExtendedArray; maxToFind: Integer): Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user