00001
00002
00003
00004
00005
00006
00007
00008
00009 #import <Cocoa/Cocoa.h>
00010
00011
00012 @interface LLTrigonometry : NSObject {
00013
00014 }
00015
00016 + (LLTrigonometry*) defaultInstance;
00017 - (int)hypotOfBase:(int) base heigth:(int)heigth;
00018 - (float)angleDegBetween:(NSPoint)p1 andPoint:(NSPoint)p2;
00019
00020
00021 - (double) cos:(int) i;
00022 - (double) sin:(int) i;
00023 - (int) cosLength;
00024 - (int) sinLength;
00025 - (bool) rect:(NSRect) r1 isEqualToRect:(NSRect) r2;
00026
00027 @end