TPAEquals

From SCAR Divi Manual
Revision as of 14:20, 21 November 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function TPAEquals(const TPA1, TPA2: TPointArray): Boolean; </source> ==Availability== SCAR Divi 3.37 > Current ==Descripti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function TPAEquals(const TPA1, TPA2: TPointArray): Boolean;

Availability

SCAR Divi 3.37 > Current

Description

Returns true TPA1 contains the same points in the same order as TPA2.

Example

begin
  WriteLn(TPAInTPA([Point(0, 0), Point(1, 2)], [Point(0, 0), Point(1, 2)]));
  WriteLn(TPAInTPA([Point(0, 0), Point(1, 2)], [Point(0, 0)]));
end.

Output:

1
0