EngineKit
|
#import <Angle.h>
Instance Methods | |
(instancetype) | - initWithRadians: |
(instancetype) | - initWithDegrees: |
(CGFloat) | - toRadians |
(CGFloat) | - toDegrees |
Class Methods | |
(instancetype) | + angleWithRadians: |
(instancetype) | + angleWithDegrees: |
(instancetype) | + angleWithPiTimes: |
Represents an Angle, usually for a Rotation. Used mostly for initialization and conversion. More efficient when used exclusively with radians, but not slow unless used in a very tight loop.
+ (instancetype) angleWithDegrees: | (CGFloat) | degrees |
+ (instancetype) angleWithPiTimes: | (CGFloat) | ratio |
+ (instancetype) angleWithRadians: | (CGFloat) | radians |
- (instancetype) initWithDegrees: | (CGFloat) | degrees |
- (instancetype) initWithRadians: | (CGFloat) | radians |
- (CGFloat) toDegrees |
- (CGFloat) toRadians |