TPAEquals
From SCAR Divi Manual
Definition
function TPAEquals(const TPA1, TPA2: TPointArray): Boolean;
Availability
SCAR Divi 3.37 > Current
Notes
- Before 3.37.02 the function didn't work correctly.
Description
Returns true TPA1 contains the same points in the same order as TPA2.
Example
begin WriteLn(TPAEquals([Point(0, 0), Point(1, 2)], [Point(0, 0), Point(1, 2)])); WriteLn(TPAEquals([Point(0, 0), Point(1, 2)], [Point(0, 0)])); end.
Output:
1 0