Changeset 27 for trunk/UGeometric.pas
- Timestamp:
- Apr 12, 2015, 1:11:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGeometric.pas
r25 r27 27 27 function Distance(P1, P2: TPoint): Integer; 28 28 begin 29 Result := Trunc(Sqrt(Sqr(P2. x- P1.X) + Sqr(P2.Y - P1.Y)));29 Result := Trunc(Sqrt(Sqr(P2.X - P1.X) + Sqr(P2.Y - P1.Y))); 30 30 end; 31 31 … … 122 122 function ArcTanPoint(Point: TPoint): Float; 123 123 begin 124 Result := ArcTan(Point. Y / Point.X);124 Result := ArcTan(Point.X / Point.Y); 125 125 end; 126 126
Note:
See TracChangeset
for help on using the changeset viewer.