Changeset 4 for trunk/UGeometric.pas


Ignore:
Timestamp:
Mar 26, 2015, 12:09:02 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Connect and disconnect stations using mouse move rather then clicking to each station.
  • Added: Show available train count.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGeometric.pas

    r3 r4  
    1212function SubPoint(const P1, P2: TPoint): TPoint;
    1313function PointToLineDistance(const P, V, W: TPoint): Integer;
     14function ComparePoint(P1, P2: TPoint): Boolean;
    1415
    1516implementation
     
    6162end;
    6263
     64function ComparePoint(P1, P2: TPoint): Boolean;
     65begin
     66  Result := (P1.X = P2.X) and (P1.Y = P2.Y);
     67end;
     68
    6369
    6470end.
Note: See TracChangeset for help on using the changeset viewer.