1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-12-04 14:42:23 -05:00
Simba/Units/MMLAddon/LPInc/Wrappers/tpa.inc

425 lines
15 KiB
PHP
Raw Normal View History

Squashed commit of the following: commit 7426db160fa410a90510309563a80779ca65d793 Author: Merlijn Wajer <merlijn@wizzup.org> Date: Fri Aug 5 11:40:27 2011 +0200 Lape: Update HEAD. commit 6fa1740ea74f3777acd112370f232496898e533d Author: Niels <niels.a.d@gmail.com> Date: Thu Aug 4 23:07:35 2011 +0200 Simba compiles again now. commit 27b1c42b6a0dd09c4ee89822b631f94a92b265e5 Author: Niels <niels.a.d@gmail.com> Date: Thu Aug 4 00:31:28 2011 +0200 Little bugfix in lape wrapper generator + new wrappers. commit f46f841658bf81abb0c3101c0a4074d5c55873bd Author: Niels <niels.a.d@gmail.com> Date: Thu Aug 4 00:00:54 2011 +0200 Commented functions that cannot be imported yet for lape. commit b7aa543b6b477ea7befe6b4690e24a2d1b5bb1ab Author: Niels <niels.a.d@gmail.com> Date: Wed Aug 3 23:54:54 2011 +0200 New lape wrappers. commit ecfc435fab34f9c12ef2459141120ac7122ddfd2 Author: Niels <niels.a.d@gmail.com> Date: Wed Aug 3 23:49:54 2011 +0200 Fixed a bug in lape wrapper generation. commit 2d9d65000b78c6e77da5ee30cce33c9b7f8ed487 Author: Merlijn Wajer <merlijn@wizzup.org> Date: Wed Aug 3 21:52:01 2011 +0200 Lape: Most types added. Interpreter starts. Lacks a few methods, but most tests just work. :-) commit bf0f806ecfe0abec8d43103dc87c366ca54c96c0 Author: Niels <niels.a.d@gmail.com> Date: Wed Aug 3 21:06:56 2011 +0200 Added debug message for when initializing the interpreter fails. commit a143016beb8ec9b0c92ad697ab4575cf6b23bbba Author: Merlijn Wajer <merlijn@wizzup.org> Date: Wed Aug 3 20:30:11 2011 +0200 Lape-wrappers: Fix by nielsie95. commit 9deb9a1b67d97215d22bbe132d625ea7e9faa363 Author: Merlijn Wajer <merlijn@wizzup.org> Date: Wed Aug 3 20:29:48 2011 +0200 Lape: Add wrappers. commit 510674570b4ee997b134ccef84e0bd353e389f8b Author: Merlijn Wajer <merlijn@wizzup.org> Date: Wed Aug 3 20:12:26 2011 +0200 Lape: Update HEAD. commit 8260840b896b5db6fb07efdeb41b032cc7efeea7 Author: Merlijn Wajer <merlijn@wizzup.org> Date: Wed Aug 3 14:34:48 2011 +0200 Lape: Update HEAD. commit 64bf115d3050c05efd758ce66c27f683b67faa2f Merge: 0701e91 aaafd6b Author: Merlijn Wajer <merlijn@wizzup.org> Date: Mon Aug 1 19:26:15 2011 +0200 Merge branch 'master' into lape-integration commit 0701e911d122819cd2e88e87eb2fc0890aac4ef0 Merge: 26693f7 a20a31a Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sun Jul 31 18:11:58 2011 +0200 Merge branch 'master' into lape-integration commit 26693f7d4d2165585a40563a22ad94707463705c Merge: e124ae3 da0de6e Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sat Jul 30 00:16:12 2011 +0200 Merge branch 'master' into lape-integration commit e124ae396a3069b577e0a4cd47dc5b793ee323cf Merge: 4c6f304 c1051ef Author: Merlijn Wajer <merlijn@wizzup.org> Date: Thu Jul 28 20:53:01 2011 +0200 Merge branch 'lape-integration' of github.com:MerlijnWajer/Simba into lape-integration commit 4c6f30462cc987ece159e9a4e1acdaf822da2670 Author: Merlijn Wajer <merlijn@wizzup.org> Date: Thu Jul 28 20:52:13 2011 +0200 Lape: Update head. commit 2d8fdc4d7afa5a6c91d069316f7779a5baac71a3 Author: Merlijn Wajer <merlijn@wizzup.org> Date: Thu Jul 28 20:08:01 2011 +0200 Lape: Add Wrappers project. commit e4f8e06f1c870cc42055c0517cf684c36195625f Merge: 7228a88 1fd51ff Author: Merlijn Wajer <merlijn@wizzup.org> Date: Thu Jul 28 20:03:39 2011 +0200 Merge branch 'master' into lape-integration Conflicts: Projects/Simba/Simba.inc commit c1051efbeba009e6ad233b63d6f120fda2abc306 Merge: 7228a88 b83a277 Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sat Jul 23 13:41:15 2011 -0700 Merge pull request #30 from Dgby714/lape-integration TLPThread Update commit 7228a888c4f38e2a851e6fc940e662af18f66541 Merge: ad2e3ca e63dcbc Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sat Jul 23 21:54:58 2011 +0200 Merge branch 'master' into lape-integration Conflicts: Projects/Simba/Simba.inc Projects/Simba/simbaunit.pas Units/lape commit b83a27750258298454bbe99097cab47cddd4d6f2 Author: John P (Dgby714) <Dgby714@gmail.com> Date: Thu Jul 7 12:22:51 2011 -0400 TLPThread Update - Init Result to False in OnHandleDirective. - Override lape _writeln, Now adds to Debug memo. commit ad2e3ca3c34f11c7645d67f49d8dbfd388771d07 Merge: 1a22452 c79eadf Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sat Jun 25 15:50:58 2011 -0700 Merge pull request #25 from Dgby714/la-pe Lape commit 1a224529f3b76c9dc6cdb98a57c3b50f769cf8c7 Merge: 5dc7611 89f1a9b Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sun Jun 26 00:49:03 2011 +0200 Merge branch 'master' into lape-integration commit c79eadf1efffd590801e9513fdb55ea3f6a39102 Author: John P (Dgby714) <Dgby714@gmail.com> Date: Sat Jun 25 18:43:17 2011 -0400 TLPThread update, Uncommented Lape Defines commit 4d15ee07d5d25998f747723cc723dda3bd565029 Merge: 89f1a9b 5dc7611 Author: John P (Dgby714) <Dgby714@gmail.com> Date: Sat Jun 25 17:23:24 2011 -0400 Merge branch 'lape-integration' of git://github.com/MerlijnWajer/Simba into la-pe commit 5dc7611dba70cfd9f0ad069daabe2f595ff4dc9d Author: John P (Dgby714) <Dgby714@gmail.com> Date: Sat Jun 25 07:35:20 2011 -0400 TLPThread update, Lape settings, Add Lape unit to OtherUnitFiles commit e5812a80005d876ad94fff0f033f939491128c74 Author: John P (Dgby714) <Dgby714@gmail.com> Date: Thu Jun 16 21:26:03 2011 -0400 Lape Integration, TLPThread work commit ecab4d58010318df635982fa1bc22a73d83f70d8 Author: Merlijn Wajer <merlijn@wizzup.org> Date: Sat Jun 25 17:45:24 2011 +0200 Lape: Add lape submodule.
2011-08-05 07:04:52 -04:00
procedure Lape_Quicksort(const Params: PParamArray);
begin
ps_Quicksort(PIntegerArray(Params^[0])^);
end;
procedure Lape_tSwap(const Params: PParamArray);
begin
ps_tSwap(PPoint(Params^[0])^, PPoint(Params^[1])^);
end;
procedure Lape_tpaSwap(const Params: PParamArray);
begin
ps_tpaSwap(PPointArray(Params^[0])^, PPointArray(Params^[1])^);
end;
procedure Lape_SwapE(const Params: PParamArray);
begin
ps_SwapE(PExtended(Params^[0])^, PExtended(Params^[1])^);
end;
procedure Lape_RAaSTPAEx(const Params: PParamArray);
begin
ps_RAaSTPAEx(PPointArray(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^);
end;
procedure Lape_RAaSTPA(const Params: PParamArray);
begin
ps_RAaSTPA(PPointArray(Params^[0])^, PInteger(Params^[1])^);
end;
procedure Lape_NearbyPointInArrayEx(const Params: PParamArray; const Result: Pointer);
begin
PBoolean(Result)^ := ps_NearbyPointInArrayEx(PPoint(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^, PPointArray(Params^[3])^);
end;
procedure Lape_NearbyPointInArray(const Params: PParamArray; const Result: Pointer);
begin
PBoolean(Result)^ := ps_NearbyPointInArray(PPoint(Params^[0])^, PInteger(Params^[1])^, PPointArray(Params^[2])^);
end;
procedure Lape_QuickTPASort(const Params: PParamArray);
begin
ps_QuickTPASort(PIntegerArray(Params^[0])^, PPointArray(Params^[1])^, PInteger(Params^[2])^, PInteger(Params^[3])^, PBoolean(Params^[4])^);
end;
procedure Lape_QuickATPASort(const Params: PParamArray);
begin
ps_QuickATPASort(PIntegerArray(Params^[0])^, P2DPointArray(Params^[1])^, PInteger(Params^[2])^, PInteger(Params^[3])^, PBoolean(Params^[4])^);
end;
procedure Lape_SortTPAFrom(const Params: PParamArray);
begin
ps_SortTPAFrom(PPointArray(Params^[0])^, PPoint(Params^[1])^);
end;
procedure Lape_SortATPAFrom(const Params: PParamArray);
begin
ps_SortATPAFrom(P2DPointArray(Params^[0])^, PPoint(Params^[1])^);
end;
procedure Lape_SortATPAFromFirstPoint(const Params: PParamArray);
begin
ps_SortATPAFromFirstPoint(P2DPointArray(Params^[0])^, PPoint(Params^[1])^);
end;
procedure Lape_InvertTPA(const Params: PParamArray);
begin
ps_InvertTPA(PPointArray(Params^[0])^);
end;
procedure Lape_InvertATPA(const Params: PParamArray);
begin
ps_InvertATPA(P2DPointArray(Params^[0])^);
end;
procedure Lape_MiddleTPAEx(const Params: PParamArray; const Result: Pointer);
begin
PBoolean(Result)^ := ps_MiddleTPAEx(PPointArray(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^);
end;
procedure Lape_MiddleTPA(const Params: PParamArray; const Result: Pointer);
begin
PPoint(Result)^ := ps_MiddleTPA(PPointArray(Params^[0])^);
end;
procedure Lape_SortATPASize(const Params: PParamArray);
begin
ps_SortATPASize(P2DPointArray(Params^[0])^, PBoolean(Params^[1])^);
end;
procedure Lape_SortATPAFromSize(const Params: PParamArray);
begin
ps_SortATPAFromSize(P2DPointArray(Params^[0])^, PInteger(Params^[1])^, PBoolean(Params^[2])^);
end;
procedure Lape_InIntArrayEx(const Params: PParamArray; const Result: Pointer);
begin
PBoolean(Result)^ := ps_InIntArrayEx(PIntegerArray(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^);
end;
procedure Lape_InIntArray(const Params: PParamArray; const Result: Pointer);
begin
PBoolean(Result)^ := ps_InIntArray(PIntegerArray(Params^[0])^, PInteger(Params^[1])^);
end;
procedure Lape_ClearSameIntegers(const Params: PParamArray);
begin
ps_ClearSameIntegers(PIntegerArray(Params^[0])^);
end;
procedure Lape_ClearSameIntegersAndTPA(const Params: PParamArray);
begin
ps_ClearSameIntegersAndTPA(PIntegerArray(Params^[0])^, PPointArray(Params^[1])^);
end;
procedure Lape_SplitTPAEx(const Params: PParamArray; const Result: Pointer);
begin
P2DPointArray(Result)^ := ps_SplitTPAEx(PPointArray(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^);
end;
procedure Lape_SplitTPA(const Params: PParamArray; const Result: Pointer);
begin
P2DPointArray(Result)^ := ps_SplitTPA(PPointArray(Params^[0])^, PInteger(Params^[1])^);
end;
procedure Lape_FloodFillTPA(const Params: PParamArray; const Result: Pointer);
begin
P2DPointArray(Result)^ := ps_FloodFillTPA(PPointArray(Params^[0])^);
end;
procedure Lape_FilterPointsPie(const Params: PParamArray);
begin
ps_FilterPointsPie(PPointArray(Params^[0])^, PExtended(Params^[1])^, PExtended(Params^[2])^, PExtended(Params^[3])^, PExtended(Params^[4])^, PInteger(Params^[5])^, PInteger(Params^[6])^);
end;
procedure Lape_FilterPointsDist(const Params: PParamArray);
begin
ps_FilterPointsDist(PPointArray(Params^[0])^, PExtended(Params^[1])^, PExtended(Params^[2])^, PInteger(Params^[3])^, PInteger(Params^[4])^);
end;
procedure Lape_FilterPointsLine(const Params: PParamArray);
begin
ps_FilterPointsLine(PPointArray(Params^[0])^, PExtended(Params^[1])^, PInteger(Params^[2])^, PInteger(Params^[3])^, PInteger(Params^[4])^);
end;
procedure Lape_FilterTPADist(const Params: PParamArray);
begin
ps_FilterTPADist(PPointArray(Params^[0])^, Pinteger(Params^[1])^);
end;
procedure Lape_GetATPABounds(const Params: PParamArray; const Result: Pointer);
begin
PBox(Result)^ := ps_GetATPABounds(P2DPointArray(Params^[0])^);
end;
procedure Lape_GetTPABounds(const Params: PParamArray; const Result: Pointer);
begin
PBox(Result)^ := ps_GetTPABounds(PPointArray(Params^[0])^);
end;
procedure Lape_FindTPAinTPA(const Params: PParamArray; const Result: Pointer);
begin
PBoolean(Result)^ := ps_FindTPAinTPA(PPointArray(Params^[0])^, PPointArray(Params^[1])^, PPointArray(Params^[2])^);
end;
procedure Lape_GetSamePointsATPA(const Params: PParamArray; const Result: Pointer);
begin
Pboolean(Result)^ := ps_GetSamePointsATPA(P2DPointArray(Params^[0])^, PPointArray(Params^[1])^);
end;
procedure Lape_FindTextTPAinTPA(const Params: PParamArray; const Result: Pointer);
begin
PBoolean(Result)^ := ps_FindTextTPAinTPA(Pinteger(Params^[0])^, PPointArray(Params^[1])^, PPointArray(Params^[2])^, PPointArray(Params^[3])^);
end;
procedure Lape_SortCircleWise(const Params: PParamArray);
begin
ps_SortCircleWise(PPointArray(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^, PInteger(Params^[3])^, PBoolean(Params^[4])^, PBoolean(Params^[5])^);
end;
procedure Lape_LinearSort(const Params: PParamArray);
begin
ps_LinearSort(PPointArray(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^, PInteger(Params^[3])^, PBoolean(Params^[4])^);
end;
procedure Lape_RotatePoint(const Params: PParamArray; const Result: Pointer);
begin
PPoint(Result)^ := ps_RotatePoint(PPoint(Params^[0])^, PExtended(Params^[1])^, PExtended(Params^[2])^, PExtended(Params^[3])^);
end;
procedure Lape_ChangeDistPT(const Params: PParamArray; const Result: Pointer);
begin
PPoint(Result)^ := ps_ChangeDistPT(PPoint(Params^[0])^, Pinteger(Params^[1])^, Pinteger(Params^[2])^, Pextended(Params^[3])^);
end;
procedure Lape_ChangeDistTPA(const Params: PParamArray; const Result: Pointer);
begin
Pboolean(Result)^ := ps_ChangeDistTPA(PPointArray(Params^[0])^, Pinteger(Params^[1])^, Pinteger(Params^[2])^, Pextended(Params^[3])^);
end;
procedure Lape_FindGapsTPA(const Params: PParamArray; const Result: Pointer);
begin
P2DPointArray(Result)^ := ps_FindGapsTPA(PPointArray(Params^[0])^, PInteger(Params^[1])^);
end;
procedure Lape_RemoveDistTPointArray(const Params: PParamArray; const Result: Pointer);
begin
PPointArray(Result)^ := ps_RemoveDistTPointArray(PInteger(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^, PPointArray(Params^[3])^, PBoolean(Params^[4])^);
end;
procedure Lape_CombineTPA(const Params: PParamArray; const Result: Pointer);
begin
PPointArray(Result)^ := ps_CombineTPA(PPointArray(Params^[0])^, PPointArray(Params^[1])^);
end;
procedure Lape_ReArrangeandShortenArrayEx(const Params: PParamArray; const Result: Pointer);
begin
PPointArray(Result)^ := ps_ReArrangeandShortenArrayEx(PPointArray(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^);
end;
procedure Lape_ReArrangeandShortenArray(const Params: PParamArray; const Result: Pointer);
begin
PPointArray(Result)^ := ps_ReArrangeandShortenArray(PPointArray(Params^[0])^, PInteger(Params^[1])^);
end;
procedure Lape_TPAtoATPAEx(const Params: PParamArray; const Result: Pointer);
begin
P2DPointArray(Result)^ := ps_TPAtoATPAEx(PPointArray(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^);
end;
procedure Lape_TPAtoATPA(const Params: PParamArray; const Result: Pointer);
begin
P2DPointArray(Result)^ := ps_TPAtoATPA(PPointArray(Params^[0])^, PInteger(Params^[1])^);
end;
procedure Lape_CombineIntArray(const Params: PParamArray; const Result: Pointer);
begin
PIntegerArray(Result)^ := ps_CombineIntArray(PIntegerArray(Params^[0])^, PIntegerArray(Params^[1])^);
end;
procedure Lape_MergeATPA(const Params: PParamArray; const Result: Pointer);
begin
PPointArray(Result)^ := ps_MergeATPA(P2DPointArray(Params^[0])^);
end;
procedure Lape_AppendTPA(const Params: PParamArray);
begin
ps_AppendTPA(PPointArray(Params^[0])^, PPointArray(Params^[1])^);
end;
procedure Lape_TPAFromBox(const Params: PParamArray; const Result: Pointer);
begin
PPointArray(Result)^ := ps_TPAFromBox(PBox(Params^[0])^);
end;
procedure Lape_RotatePoints(const Params: PParamArray; const Result: Pointer);
begin
PPointArray(Result)^ := ps_RotatePoints(PPointArray(Params^[0])^, PExtended(Params^[1])^, PExtended(Params^[2])^, PExtended(Params^[3])^);
end;
procedure Lape_FindTPAEdges(const Params: PParamArray; const Result: Pointer);
begin
PPointArray(Result)^ := ps_FindTPAEdges(PPointArray(Params^[0])^);
end;
procedure Lape_ClearTPAFromTPA(const Params: PParamArray; const Result: Pointer);
begin
PPointArray(Result)^ := ps_ClearTPAFromTPA(PPointArray(Params^[0])^, PPointArray(Params^[1])^);
end;
procedure Lape_ReturnPointsNotInTPA(const Params: PParamArray; const Result: Pointer);
begin
PPointArray(Result)^ := ps_ReturnPointsNotInTPA(PPointArray(Params^[0])^, PBox(Params^[1])^);
end;
procedure Lape_PointInTPA(const Params: PParamArray; const Result: Pointer);
begin
PBoolean(Result)^ := ps_PointInTPA(PPoint(Params^[0])^, PPointArray(Params^[1])^);
end;
procedure Lape_ClearDoubleTPA(const Params: PParamArray);
begin
ps_ClearDoubleTPA(PPointArray(Params^[0])^);
end;
procedure Lape_TPACountSort(const Params: PParamArray);
begin
ps_TPACountSort(PPointArray(Params^[0])^, PPoint(Params^[1])^, PBoolean(Params^[2])^);
end;
procedure Lape_TPACountSortBase(const Params: PParamArray);
begin
ps_TPACountSortBase(PPointArray(Params^[0])^, PPoint(Params^[1])^, PPoint(Params^[2])^, PBoolean(Params^[3])^);
end;
procedure Lape_InvertTIA(const Params: PParamArray);
begin
ps_InvertTIA(PIntegerArray(Params^[0])^);
end;
procedure Lape_SumIntegerArray(const Params: PParamArray; const Result: Pointer);
begin
PInteger(Result)^ := ps_SumIntegerArray(PIntegerArray(Params^[0])^);
end;
procedure Lape_AverageTIA(const Params: PParamArray; const Result: Pointer);
begin
PInteger(Result)^ := ps_AverageTIA(PIntegerArray(Params^[0])^);
end;
procedure Lape_AverageExtended(const Params: PParamArray; const Result: Pointer);
begin
PExtended(Result)^ := ps_AverageExtended(PExtendedArray(Params^[0])^);
end;
procedure Lape_SplitTPAExWrap(const Params: PParamArray);
begin
ps_SplitTPAExWrap(PPointArray(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^, P2DPointArray(Params^[3])^);
end;
procedure Lape_SplitTPAWrap(const Params: PParamArray);
begin
ps_SplitTPAWrap(PPointArray(Params^[0])^, PInteger(Params^[1])^, P2DPointArray(Params^[2])^);
end;
procedure Lape_FindGapsTPAWrap(const Params: PParamArray);
begin
ps_FindGapsTPAWrap(PPointArray(Params^[0])^, PInteger(Params^[1])^, P2DPointArray(Params^[2])^);
end;
procedure Lape_RemoveDistTPointArrayWrap(const Params: PParamArray);
begin
ps_RemoveDistTPointArrayWrap(PInteger(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^, PPointArray(Params^[3])^, PBoolean(Params^[4])^, PPointArray(Params^[5])^);
end;
procedure Lape_CombineTPAWrap(const Params: PParamArray);
begin
ps_CombineTPAWrap(PPointArray(Params^[0])^, PPointArray(Params^[1])^, PPointArray(Params^[2])^);
end;
procedure Lape_ReArrangeandShortenArrayExWrap(const Params: PParamArray);
begin
ps_ReArrangeandShortenArrayExWrap(PPointArray(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^, PPointArray(Params^[3])^);
end;
procedure Lape_ReArrangeandShortenArrayWrap(const Params: PParamArray);
begin
ps_ReArrangeandShortenArrayWrap(PPointArray(Params^[0])^, PInteger(Params^[1])^, PPointArray(Params^[2])^);
end;
procedure Lape_TPAtoATPAExWrap(const Params: PParamArray);
begin
ps_TPAtoATPAExWrap(PPointArray(Params^[0])^, PInteger(Params^[1])^, PInteger(Params^[2])^, P2DPointArray(Params^[3])^);
end;
procedure Lape_TPAtoATPAWrap(const Params: PParamArray);
begin
ps_TPAtoATPAWrap(PPointArray(Params^[0])^, PInteger(Params^[1])^, P2DPointArray(Params^[2])^);
end;
procedure Lape_CombineIntArrayWrap(const Params: PParamArray);
begin
ps_CombineIntArrayWrap(PIntegerArray(Params^[0])^, PIntegerArray(Params^[1])^, PIntegerArray(Params^[2])^);
end;
procedure Lape_MergeATPAWrap(const Params: PParamArray);
begin
ps_MergeATPAWrap(P2DPointArray(Params^[0])^, PPointArray(Params^[1])^);
end;
procedure Lape_TPAFromBoxWrap(const Params: PParamArray);
begin
ps_TPAFromBoxWrap(PBox(Params^[0])^, PPointArray(Params^[1])^);
end;
procedure Lape_RotatePointsWrap(const Params: PParamArray);
begin
ps_RotatePointsWrap(PPointArray(Params^[0])^, PExtended(Params^[1])^, PExtended(Params^[2])^, PExtended(Params^[3])^, PPointArray(Params^[4])^);
end;
procedure Lape_FindTPAEdgesWrap(const Params: PParamArray);
begin
ps_FindTPAEdgesWrap(PPointArray(Params^[0])^, PPointArray(Params^[1])^);
end;
procedure Lape_ClearTPAFromTPAWrap(const Params: PParamArray);
begin
ps_ClearTPAFromTPAWrap(PPointArray(Params^[0])^, PPointArray(Params^[1])^, PPointArray(Params^[2])^);
end;
procedure Lape_ReturnPointsNotInTPAWrap(const Params: PParamArray);
begin
ps_ReturnPointsNotInTPAWrap(PPointArray(Params^[0])^, PBox(Params^[1])^, PPointArray(Params^[2])^);
end;
procedure Lape_SameTPA(const Params: PParamArray; const Result: Pointer);
begin
PBoolean(Result)^ := ps_SameTPA(PPointArray(Params^[0])^, PPointArray(Params^[1])^);
end;
procedure Lape_TPAInATPA(const Params: PParamArray; const Result: Pointer);
begin
PBoolean(Result)^ := ps_TPAInATPA(PPointArray(Params^[0])^, P2DPointArray(Params^[1])^, PLongInt(Params^[2])^);
end;
procedure Lape_OffsetTPA(const Params: PParamArray);
begin
ps_OffsetTPA(PPointArray(Params^[0])^, PPoint(Params^[1])^);
end;
procedure Lape_OffsetATPA(const Params: PParamArray);
begin
ps_OffsetATPA(P2DPointArray(Params^[0])^, PPoint(Params^[1])^);
end;
procedure Lape_CopyTPA(const Params: PParamArray; const Result: Pointer);
begin
PPointArray(Result)^ := ps_CopyTPA(PPointArray(Params^[0])^);
end;
procedure Lape_CopyATPA(const Params: PParamArray; const Result: Pointer);
begin
P2DPointArray(Result)^ := ps_CopyATPA(P2DPointArray(Params^[0])^);
end;