LLTrigonometry Class Reference

List of all members.

Public Member Functions

(int) - hypotOfBase:heigth:
(float) - angleDegBetween:andPoint:
(double) - cos:
(double) - sin:
(int) - cosLength
(int) - sinLength
(bool) - rect:isEqualToRect:

Static Public Member Functions

(LLTrigonometry *) + defaultInstance

Detailed Description

Definition at line 12 of file LLTrigonometry.h.


Member Function Documentation

- (int) hypotOfBase: (int)  x1
heigth: (int)  y1 

Gives approximate distance from (x1,y1) to (x2,y2) with only overestimations, and then never by more than (9/8) + one bit uncertainty.

Definition at line 557 of file LLTrigonometry.m.

Referenced by Universe::distanceToEntity:from:, and Universe::entity:closerToPos:than:.


The documentation for this class was generated from the following files:
Generated on Fri Jul 28 19:15:54 2006 for MacTrek by  doxygen 1.4.7