diff --git a/Cartfile b/Cartfile index 38609dd..02ee32d 100644 --- a/Cartfile +++ b/Cartfile @@ -1 +1,2 @@ github "mixpanel/mixpanel-iphone" +github "ThumbWorks/SwiftAA" "earth-is-a-planet" diff --git a/Cartfile.resolved b/Cartfile.resolved index e200cef..63a1e1b 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,2 +1,2 @@ -github "Thumbworks/SwiftAA" "10f9432e783b864a6a43f7c2868f384456fc03a5" -github "mixpanel/mixpanel-iphone" "v3.1.9" +github "ThumbWorks/SwiftAA" "10f9432e783b864a6a43f7c2868f384456fc03a5" +github "mixpanel/mixpanel-iphone" "v3.2.3" diff --git a/SolarSystem.xcodeproj/project.pbxproj b/SolarSystem.xcodeproj/project.pbxproj index 83cb56c..52f68ce 100644 --- a/SolarSystem.xcodeproj/project.pbxproj +++ b/SolarSystem.xcodeproj/project.pbxproj @@ -20,10 +20,8 @@ 5F30D4DF1F16CDB7006A45B1 /* PlanetoidGroupNode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F30D4DE1F16CDB7006A45B1 /* PlanetoidGroupNode.swift */; }; 5F30D4E01F16CDBD006A45B1 /* PlanetoidGroupNode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F30D4DE1F16CDB7006A45B1 /* PlanetoidGroupNode.swift */; }; 5F39596E1EE9898200EDEBEE /* Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F39596D1EE934B200EDEBEE /* Utilities.swift */; }; + 5F4393BB1FD22C9A00F6DEF7 /* SwiftAA.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5F4393BA1FD22C9A00F6DEF7 /* SwiftAA.framework */; }; 5F78D70E1F3D222A0059FDA1 /* AppRater.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F78D70D1F3D222A0059FDA1 /* AppRater.swift */; }; - 5F8B38BD1F7474BC00F0F7D1 /* SwiftAA.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5F8B38BC1F7474B800F0F7D1 /* SwiftAA.framework */; }; - 5F8B38C01F74760B00F0F7D1 /* SwiftAA.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5F8B38BC1F7474B800F0F7D1 /* SwiftAA.framework */; }; - 5F8B38C11F74760B00F0F7D1 /* SwiftAA.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 5F8B38BC1F7474B800F0F7D1 /* SwiftAA.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 5F8B38C61F74CAE600F0F7D1 /* FocusSquare.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F8B38C41F74CAD200F0F7D1 /* FocusSquare.swift */; }; 5F8B38C71F74CAE900F0F7D1 /* FocusSquareSegment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F8B38C51F74CAD200F0F7D1 /* FocusSquareSegment.swift */; }; 5F8B38C91F74CCEB00F0F7D1 /* VirtualObjectARView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F8B38C81F74CCE800F0F7D1 /* VirtualObjectARView.swift */; }; @@ -75,7 +73,6 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - 5F8B38C11F74760B00F0F7D1 /* SwiftAA.framework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -98,8 +95,8 @@ 5F30D4DB1F16CD68006A45B1 /* Planet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Planet.swift; sourceTree = ""; }; 5F30D4DE1F16CDB7006A45B1 /* PlanetoidGroupNode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlanetoidGroupNode.swift; sourceTree = ""; }; 5F39596D1EE934B200EDEBEE /* Utilities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Utilities.swift; sourceTree = ""; }; + 5F4393BA1FD22C9A00F6DEF7 /* SwiftAA.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SwiftAA.framework; path = Carthage/Build/iOS/SwiftAA.framework; sourceTree = ""; }; 5F78D70D1F3D222A0059FDA1 /* AppRater.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppRater.swift; sourceTree = ""; }; - 5F8B38BC1F7474B800F0F7D1 /* SwiftAA.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = SwiftAA.framework; sourceTree = ""; }; 5F8B38C41F74CAD200F0F7D1 /* FocusSquare.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FocusSquare.swift; sourceTree = ""; }; 5F8B38C51F74CAD200F0F7D1 /* FocusSquareSegment.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FocusSquareSegment.swift; sourceTree = ""; }; 5F8B38C81F74CCE800F0F7D1 /* VirtualObjectARView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VirtualObjectARView.swift; sourceTree = ""; }; @@ -141,7 +138,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 5F8B38BD1F7474BC00F0F7D1 /* SwiftAA.framework in Frameworks */, 5F0CC2141F2814BD00E25474 /* Mixpanel.framework in Frameworks */, 857C7513D5A11193D90F0F17 /* BuddyBuildSDK.framework in Frameworks */, 17FC693338E5C451EEFBD6FA /* AssetsLibrary.framework in Frameworks */, @@ -149,7 +145,7 @@ 98E5F380AC90E1950A5C65FA /* CoreTelephony.framework in Frameworks */, F86D392787AFEACCFF1323E9 /* SystemConfiguration.framework in Frameworks */, 36B36DE405C67DDC5ADFD0AB /* QuartzCore.framework in Frameworks */, - 5F8B38C01F74760B00F0F7D1 /* SwiftAA.framework in Frameworks */, + 5F4393BB1FD22C9A00F6DEF7 /* SwiftAA.framework in Frameworks */, 81F43EDC0F64A38CEE5F37C2 /* AVFoundation.framework in Frameworks */, 8F909B3F9BC3BA392B1542DF /* CoreMedia.framework in Frameworks */, CD562CDF09A6E4A6A86EE518 /* CoreVideo.framework in Frameworks */, @@ -169,7 +165,7 @@ 5F0CC2121F2814BD00E25474 /* Frameworks */ = { isa = PBXGroup; children = ( - 5F8B38BC1F7474B800F0F7D1 /* SwiftAA.framework */, + 5F4393BA1FD22C9A00F6DEF7 /* SwiftAA.framework */, 5F0CC2131F2814BD00E25474 /* Mixpanel.framework */, A9C54F36D8B0BA965D4145B6 /* BuddyBuildSDK.framework */, 39DFC5695AC98A1CFA61E623 /* AssetsLibrary.framework */, @@ -389,9 +385,11 @@ ); inputPaths = ( "$(SRCROOT)/Carthage/Build/iOS/Mixpanel.framework", + "$(SRCROOT)/Carthage/Build/iOS/SwiftAA.framework", ); outputPaths = ( "$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/Mixpanel.framework", + "$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/SwiftAA.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; diff --git a/SolarSystem/Info.plist b/SolarSystem/Info.plist index 2c563b0..ede80c9 100644 --- a/SolarSystem/Info.plist +++ b/SolarSystem/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0.2 + 1.0.3 CFBundleVersion 13 ITSAppUsesNonExemptEncryption diff --git a/SolarSystem/art.scnassets/2234_venusbump2k.jpg b/SolarSystem/art.scnassets/2234_venusbump2k.jpg index 833219d..73acf0d 100644 Binary files a/SolarSystem/art.scnassets/2234_venusbump2k.jpg and b/SolarSystem/art.scnassets/2234_venusbump2k.jpg differ diff --git a/SolarSystem/art.scnassets/2234_venusmap2k.jpg b/SolarSystem/art.scnassets/2234_venusmap2k.jpg index 416ac0f..bbc6aca 100644 Binary files a/SolarSystem/art.scnassets/2234_venusmap2k.jpg and b/SolarSystem/art.scnassets/2234_venusmap2k.jpg differ diff --git a/SolarSystem/art.scnassets/Bump.jpg b/SolarSystem/art.scnassets/Bump.jpg index dc8c2c4..e5856a3 100644 Binary files a/SolarSystem/art.scnassets/Bump.jpg and b/SolarSystem/art.scnassets/Bump.jpg differ diff --git a/SolarSystem/art.scnassets/Color+Map.jpg b/SolarSystem/art.scnassets/Color+Map.jpg index 446e14e..cdc3637 100644 Binary files a/SolarSystem/art.scnassets/Color+Map.jpg and b/SolarSystem/art.scnassets/Color+Map.jpg differ diff --git a/SolarSystem/art.scnassets/Night+Lights.jpg b/SolarSystem/art.scnassets/Night+Lights.jpg index ffb2a31..97af168 100644 Binary files a/SolarSystem/art.scnassets/Night+Lights.jpg and b/SolarSystem/art.scnassets/Night+Lights.jpg differ diff --git a/SolarSystem/art.scnassets/jupitermap.jpg b/SolarSystem/art.scnassets/jupitermap.jpg index 69107df..36b93a7 100644 Binary files a/SolarSystem/art.scnassets/jupitermap.jpg and b/SolarSystem/art.scnassets/jupitermap.jpg differ diff --git a/SolarSystem/art.scnassets/mars_1k_color.jpg b/SolarSystem/art.scnassets/mars_1k_color.jpg index 0b0545c..95db495 100644 Binary files a/SolarSystem/art.scnassets/mars_1k_color.jpg and b/SolarSystem/art.scnassets/mars_1k_color.jpg differ diff --git a/SolarSystem/art.scnassets/mars_1k_normal.jpg b/SolarSystem/art.scnassets/mars_1k_normal.jpg index 93fcf4e..1c8631d 100644 Binary files a/SolarSystem/art.scnassets/mars_1k_normal.jpg and b/SolarSystem/art.scnassets/mars_1k_normal.jpg differ diff --git a/SolarSystem/art.scnassets/mars_1k_topo.jpg b/SolarSystem/art.scnassets/mars_1k_topo.jpg index 0728068..8eaa9e4 100644 Binary files a/SolarSystem/art.scnassets/mars_1k_topo.jpg and b/SolarSystem/art.scnassets/mars_1k_topo.jpg differ diff --git a/SolarSystem/art.scnassets/mercurybump.jpg b/SolarSystem/art.scnassets/mercurybump.jpg index c23dd31..50749eb 100644 Binary files a/SolarSystem/art.scnassets/mercurybump.jpg and b/SolarSystem/art.scnassets/mercurybump.jpg differ diff --git a/SolarSystem/art.scnassets/mercurymap.jpg b/SolarSystem/art.scnassets/mercurymap.jpg index 9bb2c0b..8a014d3 100644 Binary files a/SolarSystem/art.scnassets/mercurymap.jpg and b/SolarSystem/art.scnassets/mercurymap.jpg differ diff --git a/SolarSystem/art.scnassets/moonbump1k.jpg b/SolarSystem/art.scnassets/moonbump1k.jpg index 405cb50..9dec858 100644 Binary files a/SolarSystem/art.scnassets/moonbump1k.jpg and b/SolarSystem/art.scnassets/moonbump1k.jpg differ diff --git a/SolarSystem/art.scnassets/moonmap1k.jpg b/SolarSystem/art.scnassets/moonmap1k.jpg index 1892119..12cb5c5 100644 Binary files a/SolarSystem/art.scnassets/moonmap1k.jpg and b/SolarSystem/art.scnassets/moonmap1k.jpg differ diff --git a/SolarSystem/art.scnassets/neptunemap.jpg b/SolarSystem/art.scnassets/neptunemap.jpg index 0d0d3f0..8b0a8b7 100644 Binary files a/SolarSystem/art.scnassets/neptunemap.jpg and b/SolarSystem/art.scnassets/neptunemap.jpg differ diff --git a/SolarSystem/art.scnassets/plutobump1k.jpg b/SolarSystem/art.scnassets/plutobump1k.jpg index 8128029..02add0c 100644 Binary files a/SolarSystem/art.scnassets/plutobump1k.jpg and b/SolarSystem/art.scnassets/plutobump1k.jpg differ diff --git a/SolarSystem/art.scnassets/plutomap1k.jpg b/SolarSystem/art.scnassets/plutomap1k.jpg index d18bf9f..2a3daae 100644 Binary files a/SolarSystem/art.scnassets/plutomap1k.jpg and b/SolarSystem/art.scnassets/plutomap1k.jpg differ diff --git a/SolarSystem/art.scnassets/saturnmap.jpg b/SolarSystem/art.scnassets/saturnmap.jpg index cc9de41..0322ce1 100644 Binary files a/SolarSystem/art.scnassets/saturnmap.jpg and b/SolarSystem/art.scnassets/saturnmap.jpg differ diff --git a/SolarSystem/art.scnassets/sunmap.jpg b/SolarSystem/art.scnassets/sunmap.jpg index 3e0b520..0cde98f 100644 Binary files a/SolarSystem/art.scnassets/sunmap.jpg and b/SolarSystem/art.scnassets/sunmap.jpg differ diff --git a/SolarSystem/art.scnassets/uranusmap.jpg b/SolarSystem/art.scnassets/uranusmap.jpg index aad43fb..7cbc848 100644 Binary files a/SolarSystem/art.scnassets/uranusmap.jpg and b/SolarSystem/art.scnassets/uranusmap.jpg differ diff --git a/SwiftAA.framework/Headers/KPCAA2DCoordinate.h b/SwiftAA.framework/Headers/KPCAA2DCoordinate.h deleted file mode 100644 index 57d6fac..0000000 --- a/SwiftAA.framework/Headers/KPCAA2DCoordinate.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// CAA2DCoordinate.h -// SwiftAA -// -// Created by Cédric Foellmi on 03/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAA2DCoordinateComponents { - double X; - double Y; -} KPCAA2DCoordinateComponents; - -// Because we can't (and don't want) import C++ header in this one, one must go through the exposition of all vars. -KPCAA2DCoordinateComponents KPCAA2DCoordinateComponentsMake(double X, double Y); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAA3DCoordinate.h b/SwiftAA.framework/Headers/KPCAA3DCoordinate.h deleted file mode 100644 index 9508d9d..0000000 --- a/SwiftAA.framework/Headers/KPCAA3DCoordinate.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// KPCAA3DCoordinate.h -// SwiftAA -// -// Created by Cédric Foellmi on 04/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAA3DCoordinateComponents { - double X; - double Y; - double Z; -} KPCAA3DCoordinateComponents; - -// Because we can't (and don't want) import C++ header in this one, one must go through the exposition of all vars. -KPCAA3DCoordinateComponents KPCAA3DCoordinateComponentsMake(double X, double Y, double Z); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAAberration.h b/SwiftAA.framework/Headers/KPCAAAberration.h deleted file mode 100644 index 11b7891..0000000 --- a/SwiftAA.framework/Headers/KPCAAAberration.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// KPCAAAberration.h -// SwiftAA -// -// Created by Cédric Foellmi on 04/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAA2DCoordinate.h" -#import "KPCAA3DCoordinate.h" - -#ifdef __cplusplus -extern "C" { -#endif - -// 3D -KPCAA3DCoordinateComponents KPCAAAberration_EarthVelocity(double JD, BOOL highPrecision); - -// 2D -KPCAA2DCoordinateComponents KPCAAAberration_EquatorialAberration(double Alpha, double Delta, double JD, BOOL highPrecision); -KPCAA2DCoordinateComponents KPCAAAberration_EclipticAberration(double Lambda, double Beta, double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAAngularSeparation.h b/SwiftAA.framework/Headers/KPCAAAngularSeparation.h deleted file mode 100644 index 1aad14b..0000000 --- a/SwiftAA.framework/Headers/KPCAAAngularSeparation.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// KPCAAAngularSeparation.h -// SwiftAA -// -// Created by Cédric Foellmi on 04/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAAngularSeparation_Separation(double Alpha1, double Delta1, double Alpha2, double Delta2); - -double KPCAAAngularSeparation_PositionAngle(double Alpha1, double Delta1, double Alpha2, double Delta2); - -double KPCAAAngularSeparation_DistanceFromGreatArc(double Alpha1, double Delta1, double Alpha2, double Delta2, double Alpha3, double Delta3); - -double KPCAAAngularSeparation_SmallestCircle(double Alpha1, double Delta1, double Alpha2, double Delta2, double Alpha3, double Delta3, bool *bType1); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAABinaryStar.h b/SwiftAA.framework/Headers/KPCAABinaryStar.h deleted file mode 100644 index d047ff8..0000000 --- a/SwiftAA.framework/Headers/KPCAABinaryStar.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// KPCAABinaryStar.h -// SwiftAA -// -// Created by Cédric Foellmi on 04/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAABinaryStarDetails { - double r; - double Theta; - double Rho; -} KPCAABinaryStarDetails; - -/** Units: - * t (time): decimal years - * P (Period): mean solar years - * T (time of periastron): decimal year - * e (eccentricity): n.a. - * a (semi major axis): arcseconds - * i (inclination): degrees - * Omega (position angle of ascending nodes): degrees - * w (longitude of periastron): degrees - */ -KPCAABinaryStarDetails KPCAABinaryStar_CalculateDetails(double t, double P, double T, double e, double a, double i, double Omega, double w); - -/** Units: - * e: n.a. - * i: degrees - * w: degrees - */ -double KPCAABinaryStar_ApparentEccentricity(double e, double i, double w); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAACoordinateTransformation.h b/SwiftAA.framework/Headers/KPCAACoordinateTransformation.h deleted file mode 100644 index b5f17e7..0000000 --- a/SwiftAA.framework/Headers/KPCAACoordinateTransformation.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// KPCAACoordinateTransformation.h -// SwiftAA -// -// Created by Cédric Foellmi on 04/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAA2DCoordinate.h" - -#ifdef __cplusplus -extern "C" { -#endif - -// Alpha=R.A., Delta=Declination, Epsilon=Obliquity (not epoch) -KPCAA2DCoordinateComponents KPCAACoordinateTransformation_Equatorial2Ecliptic(double Alpha, double Delta, double Epsilon); - -// Lambda=Celestial Longitude, Beta=Celestial Latitude, Epsilon=Obliquity (not epoch) -KPCAA2DCoordinateComponents KPCAACoordinateTransformation_Ecliptic2Equatorial(double Lambda, double Beta, double Epsilon); - -// lha=Local Hour Angle, Delta=Declination, latitude=Latitude -KPCAA2DCoordinateComponents KPCAACoordinateTransformation_Equatorial2Horizontal(double lha, double Delta, double latitude); - -// A=Azimuth, h=Altitude, latitude=latitude -KPCAA2DCoordinateComponents KPCAACoordinateTransformation_Horizontal2Equatorial(double A, double h, double latitude); - -// Alpha=R.A., Delta=Declination -KPCAA2DCoordinateComponents KPCAACoordinateTransformation_Equatorial2Galactic(double Alpha, double Delta); - -// l=Galactic Longitude, b=Galactic Latitude; -KPCAA2DCoordinateComponents KPCAACoordinateTransformation_Galactic2Equatorial(double l, double b); - -double DegreesToRadians(double Degrees); -double RadiansToDegrees(double Radians); -double RadiansToHours(double Radians); -double HoursToRadians(double Hours); -double HoursToDegrees(double Hours); -double DegreesToHours(double Degrees); -double PI(); -double MapTo0To360Range(double Degrees); -double MapToMinus90To90Range(double Degrees); -double MapTo0To24Range(double HourAngle); -double MapTo0To2PIRange(double Angle); -double DMSToDegrees(double Degrees, double Minutes, double Seconds, bool bPositive); - - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAADate.h b/SwiftAA.framework/Headers/KPCAADate.h deleted file mode 100644 index c693383..0000000 --- a/SwiftAA.framework/Headers/KPCAADate.h +++ /dev/null @@ -1,83 +0,0 @@ -// -// KPCAADate.h -// SwiftAA -// -// Created by Cédric Foellmi on 04/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -typedef struct KPCAACalendarDate { - long Year; - long Month; - long Day; -} KPCAACalendarDate; - - -typedef NS_ENUM(NSUInteger, DAY_OF_WEEK) { - SUNDAY, - MONDAY, - TUESDAY, - WEDNESDAY, - THURSDAY, - FRIDAY, - SATURDAY -}; - -@interface KPCAADate : NSObject - -// Constructors - -- (instancetype)initWithYear:(long)Year month:(long)Month day:(double)Day usingGregorianCalendar:(BOOL)gregorianCalendar; - -- (instancetype)initWithYear:(long)Year month:(long)Month day:(double)Day hour:(double)Hour minute:(double)Minute second:(double)Second usingGregorianCalendar:(BOOL)gregorianCalendar; - -- (instancetype)initWithJulianDay:(double)JD usingGregorianCalendar:(BOOL)gregorianCalendar; - -// Class methods (~ 'static' in C++) - -+ (double)DateToJDForYear:(long)Year month:(long)Month day:(double)Day usingGregorianCalendar:(BOOL)gregorianCalendar; - -+ (BOOL)IsLeapForYear:(long)Year usingGregorianCalendar:(BOOL)gregorianCalendar; - -+ (void)DayOfYearToDayAndMonth:(long)DayOfYear leap:(BOOL)leapYear dayOfMonth:(long *)DayOfMonth month:(long *)Month; - -+ (KPCAACalendarDate)JulianToGregorianForYear:(long)Year month:(long)Month day:(long)Day; - -+ (KPCAACalendarDate)GregorianToJulianForYear:(long)Year month:(long)Month day:(long)Day; - -// Instance methods (~ 'non static' in C++) - -- (double)Julian; -- (long)Day; -- (long)Month; -- (long)Year; -- (long)Hour; -- (long)Minute; -- (double)Second; - -- (void)setDateWithYear:(long)Year month:(long)Month day:(double)Day hour:(double)Hour minute:(double)Minute second:(double)Second usingGregorianCalendar:(BOOL)gregorianCalendar; - -- (void)setDateWithJulianDay:(double)JD usingGregorianCalendar:(BOOL)gregorianCalendar; - -- (void)setInGregorianCalendar:(BOOL)gregorianCalendar; - -- (void)getDateWithYear:(long *)Year month:(long *)Month day:(long *)Day hour:(long *)Hour minute:(long *)Minute second:(double *)Second; - -- (DAY_OF_WEEK)DayOfWeek; -- (double)DayOfYear; -- (long)DaysInMonth; -- (long)DaysInYear; -- (BOOL)Leap; -- (BOOL)InGregorianCalendar; -- (double)FractionalYear; - -@end - -@interface KPCAADate (SwiftAAAdditions) - -- (instancetype)initWithGregorianCalendarDate:(NSDate *)date; - -@end - diff --git a/SwiftAA.framework/Headers/KPCAADiameters.h b/SwiftAA.framework/Headers/KPCAADiameters.h deleted file mode 100644 index aad3e2c..0000000 --- a/SwiftAA.framework/Headers/KPCAADiameters.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// KPCAADiameters.h -// SwiftAA -// -// Created by Cédric Foellmi on 04/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAASwiftAdditions.h" - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAADiameters_SunSemidiameterA(double Delta); -double KPCAADiameters_MercurySemidiameterA(double Delta); -double KPCAADiameters_VenusSemidiameterA(double Delta); -double KPCAADiameters_MarsSemidiameterA(double Delta); -double KPCAADiameters_JupiterEquatorialSemidiameterA(double Delta); -double KPCAADiameters_JupiterPolarSemidiameterA(double Delta); -double KPCAADiameters_SaturnEquatorialSemidiameterA(double Delta); -double KPCAADiameters_SaturnPolarSemidiameterA(double Delta); -double KPCAADiameters_ApparentSaturnPolarSemidiameterA(double Delta, double B); -double KPCAADiameters_UranusSemidiameterA(double Delta); -double KPCAADiameters_NeptuneSemidiameterA(double Delta); - -double KPCAADiameters_MercurySemidiameterB(double Delta); -double KPCAADiameters_VenusSemidiameterB(double Delta); -double KPCAADiameters_MarsSemidiameterB(double Delta); -double KPCAADiameters_JupiterEquatorialSemidiameterB(double Delta); -double KPCAADiameters_JupiterPolarSemidiameterB(double Delta); -double KPCAADiameters_SaturnEquatorialSemidiameterB(double Delta); -double KPCAADiameters_SaturnPolarSemidiameterB(double Delta); -double KPCAADiameters_ApparentSaturnPolarSemidiameterB(double Delta, double B); -double KPCAADiameters_UranusSemidiameterB(double Delta); -double KPCAADiameters_NeptuneSemidiameterB(double Delta); -double KPCAADiameters_PlutoSemidiameterB(double Delta); - -double KPCAADiameters_GeocentricMoonSemidiameter(double Delta); -double KPCAADiameters_TopocentricMoonSemidiameter(double DistanceDelta, double Delta, double H, double Latitude, double Height); -double KPCAADiameters_AsteroidDiameter(double H, double A); -double KPCAADiameters_ApparentAsteroidDiameter(double H, double A); - -// SwiftAA Additions - -double KPCAADiameters_EquatorialSemiDiameterB(KPCAAPlanet planet, double Delta); -double KPCAADiameters_PolarSemiDiameterB(KPCAAPlanet planet, double Delta); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAADynamicalTime.h b/SwiftAA.framework/Headers/KPCAADynamicalTime.h deleted file mode 100644 index 76725b0..0000000 --- a/SwiftAA.framework/Headers/KPCAADynamicalTime.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// KPCAADynamicalTime.h -// SwiftAA -// -// Created by Cédric Foellmi on 04/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAADynamicalTime_DeltaT(double JD); -double KPCAADynamicalTime_CumulativeLeapSeconds(double JD); -double KPCAADynamicalTime_TT2UTC(double JD); -double KPCAADynamicalTime_UTC2TT(double JD); -double KPCAADynamicalTime_TT2TAI(double JD); -double KPCAADynamicalTime_TAI2TT(double JD); -double KPCAADynamicalTime_TT2UT1(double JD); -double KPCAADynamicalTime_UT12TT(double JD); -double KPCAADynamicalTime_UT1MinusUTC(double JD); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAEarth.h b/SwiftAA.framework/Headers/KPCAAEarth.h deleted file mode 100644 index f8e21ff..0000000 --- a/SwiftAA.framework/Headers/KPCAAEarth.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// KPCAAEarth.h -// SwiftAA -// -// Created by Cédric Foellmi on 04/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAEarth_EclipticLongitude(double JD, BOOL highPrecision); -double KPCAAEarth_EclipticLatitude(double JD, BOOL highPrecision); -double KPCAAEarth_RadiusVector(double JD, BOOL highPrecision); - -// AA+ what for? -double KPCAAEarth_SunMeanAnomaly(double JD); - -// AA+ Lower precision than double CAAElementsPlanetaryOrbit::EarthEccentricity(double JD)? -double KPCAAEarth_Eccentricity(double JD); - -double KPCAAEarth_EclipticLongitudeJ2000(double JD, BOOL highPrecision); -double KPCAAEarth_EclipticLatitudeJ2000(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAEclipses.h b/SwiftAA.framework/Headers/KPCAAEclipses.h deleted file mode 100644 index bab9a94..0000000 --- a/SwiftAA.framework/Headers/KPCAAEclipses.h +++ /dev/null @@ -1,44 +0,0 @@ -// -// KPCAAEclipses.h -// SwiftAA -// -// Created by Cédric Foellmi on 04/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAASolarEclipseDetails { - unsigned int Flags; - double TimeOfMaximumEclipse; - double F; - double u; - double gamma; - double GreatestMagnitude; -} KPCAASolarEclipseDetails; - -typedef struct KPCAALunarEclipseDetails { - BOOL eclipse; - double TimeOfMaximumEclipse; - double F; - double u; - double gamma; - double PenumbralRadii; - double UmbralRadii; - double PenumbralMagnitude; - double UmbralMagnitude; - double PartialPhaseSemiDuration; - double TotalPhaseSemiDuration; - double PartialPhasePenumbraSemiDuration; -} KPCAALunarEclipseDetails; - -KPCAASolarEclipseDetails KPCAAEclipses_CalculateSolar(double k); -KPCAALunarEclipseDetails KPCAAEclipses_CalculateLunar(double k); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAEclipticalElements.h b/SwiftAA.framework/Headers/KPCAAEclipticalElements.h deleted file mode 100644 index 6ff8fde..0000000 --- a/SwiftAA.framework/Headers/KPCAAEclipticalElements.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// KPCAAEclipticalElements.h -// SwiftAA -// -// Created by Cédric Foellmi on 05/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAASwiftAdditions.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAAEclipticalElementDetails { - double i; - double w; - double omega; -} KPCAAEclipticalElementDetails; - -KPCAAEclipticalElementDetails KPCAAEclipticalElement_CalculateDetails(double i0, double w0, double omega0, double JD0, double JD); -KPCAAEclipticalElementDetails KPCAAEclipticalElement_FK4B1950ToFK5J2000(double i0, double w0, double omega0); - - -// SwiftAA Additions -// WARNING: These are HELIOCENTRIC ecliptical coordinates. -// To not be confused with 'regular' (geocentric) ecliptical coordinates. See AA+ p233. - -double KPCAAEclipticalElement_EclipticLongitude(double JD, KPCAAPlanet planet, BOOL highPrecision); -double KPCAAEclipticalElement_EclipticLatitude(double JD, KPCAAPlanet planet, BOOL highPrecision); -double KPCAAEclipticalElement_RadiusVector(double JD, KPCAAPlanet planet, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAElementsPlanetaryOrbit.h b/SwiftAA.framework/Headers/KPCAAElementsPlanetaryOrbit.h deleted file mode 100644 index 8485aad..0000000 --- a/SwiftAA.framework/Headers/KPCAAElementsPlanetaryOrbit.h +++ /dev/null @@ -1,133 +0,0 @@ -// -// KPCAAElementsPlanetaryOrbit.h -// SwiftAA -// -// Created by Cédric Foellmi on 05/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAASwiftAdditions.h" - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAElementsPlanetaryOrbit_MercuryMeanLongitude(double JD); -double KPCAAElementsPlanetaryOrbit_MercurySemimajorAxis(double JD); -double KPCAAElementsPlanetaryOrbit_MercuryEccentricity(double JD); -double KPCAAElementsPlanetaryOrbit_MercuryInclination(double JD); -double KPCAAElementsPlanetaryOrbit_MercuryLongitudeAscendingNode(double JD); -double KPCAAElementsPlanetaryOrbit_MercuryLongitudePerihelion(double JD); - -double KPCAAElementsPlanetaryOrbit_VenusMeanLongitude(double JD); -double KPCAAElementsPlanetaryOrbit_VenusSemimajorAxis(double JD); -double KPCAAElementsPlanetaryOrbit_VenusEccentricity(double JD); -double KPCAAElementsPlanetaryOrbit_VenusInclination(double JD); -double KPCAAElementsPlanetaryOrbit_VenusLongitudeAscendingNode(double JD); -double KPCAAElementsPlanetaryOrbit_VenusLongitudePerihelion(double JD); - -double KPCAAElementsPlanetaryOrbit_EarthMeanLongitude(double JD); -double KPCAAElementsPlanetaryOrbit_EarthSemimajorAxis(double JD); -double KPCAAElementsPlanetaryOrbit_EarthEccentricity(double JD); -double KPCAAElementsPlanetaryOrbit_EarthInclination(double JD); - -double KPCAAElementsPlanetaryOrbit_EarthLongitudePerihelion(double JD); - -double KPCAAElementsPlanetaryOrbit_MarsMeanLongitude(double JD); -double KPCAAElementsPlanetaryOrbit_MarsSemimajorAxis(double JD); -double KPCAAElementsPlanetaryOrbit_MarsEccentricity(double JD); -double KPCAAElementsPlanetaryOrbit_MarsInclination(double JD); -double KPCAAElementsPlanetaryOrbit_MarsLongitudeAscendingNode(double JD); -double KPCAAElementsPlanetaryOrbit_MarsLongitudePerihelion(double JD); - -double KPCAAElementsPlanetaryOrbit_JupiterMeanLongitude(double JD); -double KPCAAElementsPlanetaryOrbit_JupiterSemimajorAxis(double JD); -double KPCAAElementsPlanetaryOrbit_JupiterEccentricity(double JD); -double KPCAAElementsPlanetaryOrbit_JupiterInclination(double JD); -double KPCAAElementsPlanetaryOrbit_JupiterLongitudeAscendingNode(double JD); -double KPCAAElementsPlanetaryOrbit_JupiterLongitudePerihelion(double JD); - -double KPCAAElementsPlanetaryOrbit_SaturnMeanLongitude(double JD); -double KPCAAElementsPlanetaryOrbit_SaturnSemimajorAxis(double JD); -double KPCAAElementsPlanetaryOrbit_SaturnEccentricity(double JD); -double KPCAAElementsPlanetaryOrbit_SaturnInclination(double JD); -double KPCAAElementsPlanetaryOrbit_SaturnLongitudeAscendingNode(double JD); -double KPCAAElementsPlanetaryOrbit_SaturnLongitudePerihelion(double JD); - -double KPCAAElementsPlanetaryOrbit_UranusMeanLongitude(double JD); -double KPCAAElementsPlanetaryOrbit_UranusSemimajorAxis(double JD); -double KPCAAElementsPlanetaryOrbit_UranusEccentricity(double JD); -double KPCAAElementsPlanetaryOrbit_UranusInclination(double JD); -double KPCAAElementsPlanetaryOrbit_UranusLongitudeAscendingNode(double JD); -double KPCAAElementsPlanetaryOrbit_UranusLongitudePerihelion(double JD); - -double KPCAAElementsPlanetaryOrbit_NeptuneMeanLongitude(double JD); -double KPCAAElementsPlanetaryOrbit_NeptuneSemimajorAxis(double JD); -double KPCAAElementsPlanetaryOrbit_NeptuneEccentricity(double JD); -double KPCAAElementsPlanetaryOrbit_NeptuneInclination(double JD); -double KPCAAElementsPlanetaryOrbit_NeptuneLongitudeAscendingNode(double JD); -double KPCAAElementsPlanetaryOrbit_NeptuneLongitudePerihelion(double JD); - - -double KPCAAElementsPlanetaryOrbit_MercuryMeanLongitudeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_MercuryInclinationJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_MercuryLongitudeAscendingNodeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_MercuryLongitudePerihelionJ2000(double JD); - -double KPCAAElementsPlanetaryOrbit_VenusMeanLongitudeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_VenusInclinationJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_VenusLongitudeAscendingNodeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_VenusLongitudePerihelionJ2000(double JD); - -double KPCAAElementsPlanetaryOrbit_EarthMeanLongitudeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_EarthInclinationJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_EarthLongitudeAscendingNodeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_EarthLongitudePerihelionJ2000(double JD); - -double KPCAAElementsPlanetaryOrbit_MarsMeanLongitudeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_MarsInclinationJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_MarsLongitudeAscendingNodeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_MarsLongitudePerihelionJ2000(double JD); - -double KPCAAElementsPlanetaryOrbit_JupiterMeanLongitudeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_JupiterInclinationJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_JupiterLongitudeAscendingNodeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_JupiterLongitudePerihelionJ2000(double JD); - -double KPCAAElementsPlanetaryOrbit_SaturnMeanLongitudeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_SaturnInclinationJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_SaturnLongitudeAscendingNodeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_SaturnLongitudePerihelionJ2000(double JD); - -double KPCAAElementsPlanetaryOrbit_UranusMeanLongitudeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_UranusInclinationJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_UranusLongitudeAscendingNodeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_UranusLongitudePerihelionJ2000(double JD); - -double KPCAAElementsPlanetaryOrbit_NeptuneMeanLongitudeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_NeptuneInclinationJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_NeptuneLongitudeAscendingNodeJ2000(double JD); -double KPCAAElementsPlanetaryOrbit_NeptuneLongitudePerihelionJ2000(double JD); - - -// SwiftAA Additions - -double KPCAAElementsPlanetaryOrbit_MeanLongitude(KPCAAPlanetStrict planet, double JD); -double KPCAAElementsPlanetaryOrbit_MeanLongitudeJ2000(KPCAAPlanetStrict planet, double JD); - -double KPCAAElementsPlanetaryOrbit_SemimajorAxis(KPCAAPlanetStrict planet, double JD); -double KPCAAElementsPlanetaryOrbit_Eccentricity(KPCAAPlanetStrict planet, double JD); - -double KPCAAElementsPlanetaryOrbit_Inclination(KPCAAPlanetStrict planet, double JD); -double KPCAAElementsPlanetaryOrbit_InclinationJ2000(KPCAAPlanetStrict planet, double JD); - -double KPCAAElementsPlanetaryOrbit_LongitudeAscendingNode(KPCAAPlanetStrict planet, double JD); -double KPCAAElementsPlanetaryOrbit_LongitudeAscendingNodeJ2000(KPCAAPlanetStrict planet, double JD); - -double KPCAAElementsPlanetaryOrbit_LongitudePerihelion(KPCAAPlanetStrict planet, double JD); -double KPCAAElementsPlanetaryOrbit_LongitudePerihelionJ2000(KPCAAPlanetStrict planet, double JD); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAElliptical.h b/SwiftAA.framework/Headers/KPCAAElliptical.h deleted file mode 100644 index c4567ee..0000000 --- a/SwiftAA.framework/Headers/KPCAAElliptical.h +++ /dev/null @@ -1,72 +0,0 @@ -// -// KPCAAElliptical.h -// SwiftAA -// -// Created by Cédric Foellmi on 06/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAA3DCoordinate.h" -#import "KPCAAPlanetaryPhenomena.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAAEllipticalObjectElements { - double a; - double e; - double i; - double w; - double omega; - double JDEquinox; - double T; -} KPCAAEllipticalObjectElements; - -typedef struct KPCAAEllipticalPlanetaryDetails { - double ApparentGeocentricLongitude; - double ApparentGeocentricLatitude; - double ApparentGeocentricDistance; - double ApparentLightTime; - double ApparentGeocentricRA; - double ApparentGeocentricDeclination; -} KPCAAEllipticalPlanetaryDetails; - -typedef struct KPCAAEllipticalObjectDetails { - KPCAA3DCoordinateComponents HeliocentricRectangularEquatorialCoordinateComponents; - KPCAA3DCoordinateComponents HeliocentricRectangularEclipticalCoordinateComponents; - double HeliocentricEclipticLongitude; - double HeliocentricEclipticLatitude; - double TrueGeocentricRA; - double TrueGeocentricDeclination; - double TrueGeocentricDistance; - double TrueGeocentricLightTime; - double AstrometricGeocentricRA; - double AstrometricGeocentricDeclination; - double AstrometricGeocentricDistance; - double AstrometricGeocentricLightTime; - double Elongation; - double PhaseAngle; -} KPCAAEllipticalObjectDetails; - - -double KPCAAElliptical_DistanceToLightTime(double Distance); -KPCAAEllipticalPlanetaryDetails KPCAAElliptical_CalculatePlanetaryDetails(double JD, KPCPlanetaryObject object, BOOL highPrecision); -double KPCAAElliptical_SemiMajorAxisFromPerihelionDistance(double q, double e); -double KPCAAElliptical_MeanMotionFromSemiMajorAxis(double a); -KPCAAEllipticalObjectDetails KPCAAElliptical_CalculateObjectDetails(double JD, KPCAAEllipticalObjectElements *elements, BOOL highPrecision); -KPCAAEllipticalObjectDetails KPCAAElliptical_CalculateObjectDetailsNoElements(double JD, BOOL highPrecision); -double KPCAAElliptical_InstantaneousVelocity(double r, double a); -double KPCAAElliptical_VelocityAtPerihelion(double e, double a); -double KPCAAElliptical_VelocityAtAphelion(double e, double a); -double KPCAAElliptical_LengthOfEllipse(double e, double a); -double KPCAAElliptical_CometMagnitude(double g, double delta, double k, double r); -double KPCAAElliptical_MinorPlanetMagnitude(double H, double delta, double G, double r, double PhaseAngle); - - -#if __cplusplus -} -#endif - - diff --git a/SwiftAA.framework/Headers/KPCAAEquationOfTime.h b/SwiftAA.framework/Headers/KPCAAEquationOfTime.h deleted file mode 100644 index 8e1a37e..0000000 --- a/SwiftAA.framework/Headers/KPCAAEquationOfTime.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// KPCAAEquationOfTime.h -// SwiftAA -// -// Created by Cédric Foellmi on 06/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAEquationOfTime_Calculate(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAEquinoxesAndSolstices.h b/SwiftAA.framework/Headers/KPCAAEquinoxesAndSolstices.h deleted file mode 100644 index ffa0871..0000000 --- a/SwiftAA.framework/Headers/KPCAAEquinoxesAndSolstices.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// KPCAAEquinoxesAndSolstices.h -// SwiftAA -// -// Created by Cédric Foellmi on 06/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAEquinoxesAndSolstices_NorthwardEquinox(long Year, BOOL highPrecision); -double KPCAAEquinoxesAndSolstices_NorthernSolstice(long Year, BOOL highPrecision); -double KPCAAEquinoxesAndSolstices_SouthwardEquinox(long Year, BOOL highPrecision); -double KPCAAEquinoxesAndSolstices_SouthernSolstice(long Year, BOOL highPrecision); - -double KPCAAEquinoxesAndSolstices_LengthOfSpring(long Year, BOOL northernHemisphere, BOOL highPrecision); -double KPCAAEquinoxesAndSolstices_LengthOfSummer(long Year, BOOL northernHemisphere, BOOL highPrecision); -double KPCAAEquinoxesAndSolstices_LengthOfAutumn(long Year, BOOL northernHemisphere, BOOL highPrecision); -double KPCAAEquinoxesAndSolstices_LengthOfWinter(long Year, BOOL northernHemisphere, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAFK5.h b/SwiftAA.framework/Headers/KPCAAFK5.h deleted file mode 100644 index d9e2b64..0000000 --- a/SwiftAA.framework/Headers/KPCAAFK5.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// KPCAAFK5.h -// SwiftAA -// -// Created by Cédric Foellmi on 06/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAA3DCoordinate.h" - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAFK5_CorrectionInLongitude(double Longitude, double Latitude, double JD); -double KPCAAFK5_CorrectionInLatitude(double Longitude, double JD); - -KPCAA3DCoordinateComponents KPCAAFK5_ConvertVSOPToFK5J2000(KPCAA3DCoordinateComponents components); -KPCAA3DCoordinateComponents KPCAAFK5_ConvertVSOPToFK5B1950(KPCAA3DCoordinateComponents components); -KPCAA3DCoordinateComponents KPCAAFK5_ConvertVSOPToFK5AnyEquinox(KPCAA3DCoordinateComponents components, double JDEquinox); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAGalileanMoons.h b/SwiftAA.framework/Headers/KPCAAGalileanMoons.h deleted file mode 100644 index b2c83bf..0000000 --- a/SwiftAA.framework/Headers/KPCAAGalileanMoons.h +++ /dev/null @@ -1,41 +0,0 @@ -// -// KPCAAGalileanMoons.h -// SwiftAA -// -// Created by Cédric Foellmi on 08/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAA3DCoordinate.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAAGalileanMoonDetails { - double MeanLongitude; - double TrueLongitude; - double TropicalLongitude; - double EquatorialLatitude; - double r; - KPCAA3DCoordinateComponents TrueRectangularCoordinateComponents; - KPCAA3DCoordinateComponents ApparentRectangularCoordinateComponents; - BOOL inTransit; - BOOL inOccultation; - BOOL inEclipse; - BOOL inShadowTransit; -} KPCAAGalileanMoonDetails; - -typedef struct KPCAAGalileanMoonsDetails { - KPCAAGalileanMoonDetails Satellite1; - KPCAAGalileanMoonDetails Satellite2; - KPCAAGalileanMoonDetails Satellite3; - KPCAAGalileanMoonDetails Satellite4; -} KPCAAGalileanMoonsDetails; - -KPCAAGalileanMoonsDetails KPCAAGalileanMoons_CalculateDetails(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAGlobe.h b/SwiftAA.framework/Headers/KPCAAGlobe.h deleted file mode 100644 index fe4a26b..0000000 --- a/SwiftAA.framework/Headers/KPCAAGlobe.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// KPCAAGlobe.h -// SwiftAA -// -// Created by Cédric Foellmi on 08/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAGlobe_RhoSinThetaPrime(double GeographicalLatitude, double Height); -double KPCAAGlobe_RhoCosThetaPrime(double GeographicalLatitude, double Height); -double KPCAAGlobe_RadiusOfParallelOfLatitude(double GeographicalLatitude); -double KPCAAGlobe_RadiusOfCurvature(double GeographicalLatitude); - -double KPCAAGlobe_DistanceBetweenPoints(double GeographicalLatitude1, - double GeographicalLongitude1, - double GeographicalLatitude2, - double GeographicalLongitude2); - - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAIlluminatedFraction.h b/SwiftAA.framework/Headers/KPCAAIlluminatedFraction.h deleted file mode 100644 index 900a461..0000000 --- a/SwiftAA.framework/Headers/KPCAAIlluminatedFraction.h +++ /dev/null @@ -1,44 +0,0 @@ -// -// KPCAAIlluminatedFraction.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAASwiftAdditions.h" - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAIlluminatedFraction_PhaseAngle(double r, double R, double Delta); -double KPCAAIlluminatedFraction_PhaseAngle_bis(double R, double R0, double B, double L, double L0, double Delta); -double KPCAAIlluminatedFraction_PhaseAngleRectangular(double x, double y, double z, double B, double L, double Delta); -double KPCAAIlluminatedFraction_IlluminatedFraction(double PhaseAngle); -double KPCAAIlluminatedFraction_IlluminatedFraction_bis(double r, double R, double Delta); - -double KPCAAIlluminatedFraction_MercuryMagnitudeMuller(double r, double Delta, double i); -double KPCAAIlluminatedFraction_VenusMagnitudeMuller(double r, double Delta, double i); -double KPCAAIlluminatedFraction_MarsMagnitudeMuller(double r, double Delta, double i); -double KPCAAIlluminatedFraction_JupiterMagnitudeMuller(double r, double Delta); -double KPCAAIlluminatedFraction_SaturnMagnitudeMuller(double r, double Delta, double DeltaU, double B); -double KPCAAIlluminatedFraction_UranusMagnitudeMuller(double r, double Delta); -double KPCAAIlluminatedFraction_NeptuneMagnitudeMuller(double r, double Delta); - -double KPCAAIlluminatedFraction_MercuryMagnitudeAA(double r, double Delta, double i); -double KPCAAIlluminatedFraction_VenusMagnitudeAA(double r, double Delta, double i); -double KPCAAIlluminatedFraction_MarsMagnitudeAA(double r, double Delta, double i); -double KPCAAIlluminatedFraction_JupiterMagnitudeAA(double r, double Delta, double i); -double KPCAAIlluminatedFraction_SaturnMagnitudeAA(double r, double Delta, double DeltaU, double B); -double KPCAAIlluminatedFraction_UranusMagnitudeAA(double r, double Delta); -double KPCAAIlluminatedFraction_NeptuneMagnitudeAA(double r, double Delta); - -// SwiftAddition -double KPCAAIlluminatedFraction_MagnitudeMuller(KPCPlanetaryObject planet, double r, double Delta, double i); -double KPCAAIlluminatedFraction_MagnitudeAA(KPCPlanetaryObject planet, double r, double Delta, double i); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAInterpolate.h b/SwiftAA.framework/Headers/KPCAAInterpolate.h deleted file mode 100644 index dc5d342..0000000 --- a/SwiftAA.framework/Headers/KPCAAInterpolate.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// KPCAAInterpolate.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAInterpolate_Interpolate_1234(double n, double Y1, double Y2, double Y3); -double KPCAAInterpolate_Interpolate_12345(double n, double Y1, double Y2, double Y3, double Y4, double Y5); -double KPCAAInterpolate_InterpolateToHalves(double Y1, double Y2, double Y3, double Y4); -double KPCAAInterpolate_LagrangeInterpolate(double X, int n, double *pX, double *pY); -double KPCAAInterpolate_Extremum_123(double Y1, double Y2, double Y3, double *nm); -double KPCAAInterpolate_Extremum_12345(double Y1, double Y2, double Y3, double Y4, double Y5, double *nm); -double KPCAAInterpolate_Zero_123(double Y1, double Y2, double Y3); -double KPCAAInterpolate_Zero_12345(double Y1, double Y2, double Y3, double Y4, double Y5); -double KPCAAInterpolate_Zero2_123(double Y1, double Y2, double Y3); -double KPCAAInterpolate_Zero2_12345(double Y1, double Y2, double Y3, double Y4, double Y5); - -#if __cplusplus -} -#endif - diff --git a/SwiftAA.framework/Headers/KPCAAJupiter.h b/SwiftAA.framework/Headers/KPCAAJupiter.h deleted file mode 100644 index 7c705af..0000000 --- a/SwiftAA.framework/Headers/KPCAAJupiter.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// KPCAAJupiter.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAJupiter_EclipticLongitude(double JD, BOOL highPrecision); -double KPCAAJupiter_EclipticLatitude(double JD, BOOL highPrecision); -double KPCAAJupiter_RadiusVector(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAKepler.h b/SwiftAA.framework/Headers/KPCAAKepler.h deleted file mode 100644 index 1413233..0000000 --- a/SwiftAA.framework/Headers/KPCAAKepler.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// KPCAAKepler.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -// Pass nIterations=0 to use default (53). -// M = mean anomaly -// e = eccentricity of planet orbit. -double KPCAAKepler_Calculate(double M, double e, int nIterations); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAMars.h b/SwiftAA.framework/Headers/KPCAAMars.h deleted file mode 100644 index 8b5e556..0000000 --- a/SwiftAA.framework/Headers/KPCAAMars.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// KPCAAMars.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAMars_EclipticLongitude(double JD, BOOL highPrecision); -double KPCAAMars_EclipticLatitude(double JD, BOOL highPrecision); -double KPCAAMars_RadiusVector(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAMercury.h b/SwiftAA.framework/Headers/KPCAAMercury.h deleted file mode 100644 index 305d24d..0000000 --- a/SwiftAA.framework/Headers/KPCAAMercury.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// KPCAAMercury.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAMercury_EclipticLongitude(double JD, BOOL highPrecision); -double KPCAAMercury_EclipticLatitude(double JD, BOOL highPrecision); -double KPCAAMercury_RadiusVector(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAMoon.h b/SwiftAA.framework/Headers/KPCAAMoon.h deleted file mode 100644 index 24b0bf4..0000000 --- a/SwiftAA.framework/Headers/KPCAAMoon.h +++ /dev/null @@ -1,32 +0,0 @@ -// -// KPCAAMoon.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAMoon_MeanLongitude(double JD); -double KPCAAMoon_MeanElongation(double JD); -double KPCAAMoon_MeanAnomaly(double JD); -double KPCAAMoon_ArgumentOfLatitude(double JD); -double KPCAAMoon_MeanLongitudeAscendingNode(double JD); -double KPCAAMoon_MeanLongitudePerigee(double JD); -double KPCAAMoon_TrueLongitudeAscendingNode(double JD); - -double KPCAAMoon_EclipticLongitude(double JD); -double KPCAAMoon_EclipticLatitude(double JD); -double KPCAAMoon_RadiusVector(double JD); - -double KPCAAMoon_RadiusVectorToHorizontalParallax(double RadiusVector); -double KPCAAMoon_HorizontalParallaxToRadiusVector(double Parallax); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAMoonIlluminatedFraction.h b/SwiftAA.framework/Headers/KPCAAMoonIlluminatedFraction.h deleted file mode 100644 index 5e82f29..0000000 --- a/SwiftAA.framework/Headers/KPCAAMoonIlluminatedFraction.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// KPCAAMoonIlluminatedFraction.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAMoonIlluminatedFraction_GeocentricElongation(double ObjectAlpha, double ObjectDelta, double SunAlpha, double SunDelta); - -double KPCAAMoonIlluminatedFraction_PhaseAngle(double GeocentricElongation, double EarthObjectDistance, double EarthSunDistance); - -double KPCAAMoonIlluminatedFraction_IlluminatedFraction(double PhaseAngle); - -double KPCAAMoonIlluminatedFraction_PositionAngle(double Alpha0, double Delta0, double Alpha, double Delta); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAMoonMaxDeclinations.h b/SwiftAA.framework/Headers/KPCAAMoonMaxDeclinations.h deleted file mode 100644 index 5fd81fe..0000000 --- a/SwiftAA.framework/Headers/KPCAAMoonMaxDeclinations.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// KPCAAMoonMaxDeclinations.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAMoonMaxDeclinations_K(double Year); -double KPCAAMoonMaxDeclinations_MeanGreatestDeclination(double k, BOOL northerly); -double KPCAAMoonMaxDeclinations_MeanGreatestDeclinationValue(double k); -double KPCAAMoonMaxDeclinations_TrueGreatestDeclination(double k, BOOL northerly); -double KPCAAMoonMaxDeclinations_TrueGreatestDeclinationValue(double k, BOOL northerly); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAMoonNodes.h b/SwiftAA.framework/Headers/KPCAAMoonNodes.h deleted file mode 100644 index 2183cfc..0000000 --- a/SwiftAA.framework/Headers/KPCAAMoonNodes.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// KPCAAMoonNodes.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAMoonNodes_K(double Year); -double KPCAAMoonNodes_PassageThroNode(double k); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAMoonPerigeeApogee.h b/SwiftAA.framework/Headers/KPCAAMoonPerigeeApogee.h deleted file mode 100644 index 5bc53ba..0000000 --- a/SwiftAA.framework/Headers/KPCAAMoonPerigeeApogee.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// KPCAAMoonPerigeeApogee.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAMoonPerigeeApogee_K(double Year); -double KPCAAMoonPerigeeApogee_MeanPerigee(double k); -double KPCAAMoonPerigeeApogee_MeanApogee(double k); -double KPCAAMoonPerigeeApogee_TruePerigee(double k); -double KPCAAMoonPerigeeApogee_TrueApogee(double k); -double KPCAAMoonPerigeeApogee_PerigeeParallax(double k); -double KPCAAMoonPerigeeApogee_ApogeeParallax(double k); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAMoonPhases.h b/SwiftAA.framework/Headers/KPCAAMoonPhases.h deleted file mode 100644 index 5deade7..0000000 --- a/SwiftAA.framework/Headers/KPCAAMoonPhases.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// KPCAAMoonPhases.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAMoonPhases_K(double Year); -double KPCAAMoonPhases_MeanPhase(double k); -double KPCAAMoonPhases_TruePhase(double k); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAANearParabolic.h b/SwiftAA.framework/Headers/KPCAANearParabolic.h deleted file mode 100644 index cb163bf..0000000 --- a/SwiftAA.framework/Headers/KPCAANearParabolic.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// KPCAANearParabolic.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAA3DCoordinate.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAANearParabolicObjectElements { - double q; - double i; - double w; - double omega; - double JDEquinox; - double T; - double e; -} KPCAANearParabolicObjectElements; - - -typedef struct KPCAANearParabolicObjectDetails { - KPCAA3DCoordinateComponents HeliocentricRectangularEquatorialCoordinateComponents; - KPCAA3DCoordinateComponents HeliocentricRectangularEclipticalCoordinateComponents; - double HeliocentricEclipticLongitude; - double HeliocentricEclipticLatitude; - double TrueGeocentricRA; - double TrueGeocentricDeclination; - double TrueGeocentricDistance; - double TrueGeocentricLightTime; - double AstrometricGeocentricRA; - double AstrometricGeocentricDeclination; - double AstrometricGeocentricDistance; - double AstrometricGeocentricLightTime; - double Elongation; - double PhaseAngle; -} KPCAANearParabolicObjectDetails; - - -KPCAANearParabolicObjectDetails KPCAANearParabolic_CalculateObjectDetails(double JD, KPCAANearParabolicObjectElements elements, BOOL highPrecision); -void KPCAANearParabolic_CalulateTrueAnnomalyAndRadius(double JD, struct KPCAANearParabolicObjectElements elements, double *v, double *r); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAANeptune.h b/SwiftAA.framework/Headers/KPCAANeptune.h deleted file mode 100644 index 399a378..0000000 --- a/SwiftAA.framework/Headers/KPCAANeptune.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// KPCAANeptune.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAANeptune_EclipticLongitude(double JD, BOOL highPrecision); -double KPCAANeptune_EclipticLatitude(double JD, BOOL highPrecision); -double KPCAANeptune_RadiusVector(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAANodes.h b/SwiftAA.framework/Headers/KPCAANodes.h deleted file mode 100644 index 177fe12..0000000 --- a/SwiftAA.framework/Headers/KPCAANodes.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// KPCAANodes.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAAElliptical.h" -#import "KPCAAParabolic.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAANodeObjectDetails { - double t; - double radius; -} KPCAANodeObjectDetails; - -KPCAANodeObjectDetails KPCAANodes_PassageThroAscendingNodeForEllipticalElements(KPCAAEllipticalObjectElements *elements); -KPCAANodeObjectDetails KPCAANodes_PassageThroDescendingNodeForEllipticalElements(KPCAAEllipticalObjectElements *elements); - -KPCAANodeObjectDetails KPCAANodes_PassageThroAscendingNodeForParabolicElements(KPCAAParabolicObjectElements *elements); -KPCAANodeObjectDetails KPCAANodes_PassageThroDescendingNodeForParabolicElements(KPCAAParabolicObjectElements *elements); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAANutation.h b/SwiftAA.framework/Headers/KPCAANutation.h deleted file mode 100644 index afbbf3a..0000000 --- a/SwiftAA.framework/Headers/KPCAANutation.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// KPCAANutation.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAANutation_NutationInLongitude(double JD); -double KPCAANutation_NutationInObliquity(double JD); -double KPCAANutation_NutationInRightAscension(double Alpha, double Delta, double Obliquity, double NutationInLongitude, double NutationInObliquity); -double KPCAANutation_NutationInDeclination(double Alpha, double Obliquity, double NutationInLongitude, double NutationInObliquity); -double KPCAANutation_MeanObliquityOfEcliptic(double JD); -double KPCAANutation_TrueObliquityOfEcliptic(double JD); - -/* SwiftAA Additions */ - -double KPCAANutation_ObliquityOfEcliptic(BOOL mean, double JD); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAParabolic.h b/SwiftAA.framework/Headers/KPCAAParabolic.h deleted file mode 100644 index 0b3fc90..0000000 --- a/SwiftAA.framework/Headers/KPCAAParabolic.h +++ /dev/null @@ -1,49 +0,0 @@ -// -// KPCAAParabolic.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAA3DCoordinate.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAAParabolicObjectElements { - double q; - double i; - double w; - double omega; - double JDEquinox; - double T; -} KPCAAParabolicObjectElements; - - -typedef struct KPCAAParabolicObjectDetails { - KPCAA3DCoordinateComponents HeliocentricRectangularEquatorialCoordinateComponents; - KPCAA3DCoordinateComponents HeliocentricRectangularEclipticalCoordinateComponents; - double HeliocentricEclipticLongitude; - double HeliocentricEclipticLatitude; - double TrueGeocentricRA; - double TrueGeocentricDeclination; - double TrueGeocentricDistance; - double TrueGeocentricLightTime; - double AstrometricGeocentricRA; - double AstrometricGeocentricDeclination; - double AstrometricGeocentricDistance; - double AstrometricGeocentricLightTime; - double Elongation; - double PhaseAngle; -} KPCAAParabolicObjectDetails; - - -double KPCAAParabolic_CalculateBarkers(double W); -KPCAAParabolicObjectDetails KPCAAParabolic_CalculateDetails(double JD, struct KPCAAParabolicObjectElements elements, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAParallactic.h b/SwiftAA.framework/Headers/KPCAAParallactic.h deleted file mode 100644 index 861761a..0000000 --- a/SwiftAA.framework/Headers/KPCAAParallactic.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// KPCAAParallactic.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAParallactic_ParallacticAngle(double HourAngle, double Latitude, double delta); -double KPCAAParallactic_EclipticLongitudeOnHorizon(double LocalSiderealTime, double ObliquityOfEcliptic, double Latitude); -double KPCAAParallactic_AngleBetweenEclipticAndHorizon(double LocalSiderealTime, double ObliquityOfEcliptic, double Latitude); -double KPCAAParallactic_AngleBetweenNorthCelestialPoleAndNorthPoleOfEcliptic(double Lambda, double Beta, double ObliquityOfEcliptic); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAParallax.h b/SwiftAA.framework/Headers/KPCAAParallax.h deleted file mode 100644 index 0193195..0000000 --- a/SwiftAA.framework/Headers/KPCAAParallax.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// KPCAAParallax.h -// SwiftAA -// -// Created by Cédric Foellmi on 09/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAA2DCoordinate.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAATopocentricEclipticDetails { - double Lambda; - double Beta; - double Semidiameter; -} KPCAATopocentricEclipticDetails; - -KPCAA2DCoordinateComponents KPCAAParallax_Equatorial2TopocentricDelta(double Alpha, double Delta, double Distance, double Longitude, double Latitude, double Height, double JD); - -KPCAA2DCoordinateComponents KPCAAParallax_Equatorial2Topocentric(double Alpha, double Delta, double Distance, double Longitude, double Latitude, double Height, double JD); - -KPCAATopocentricEclipticDetails KPCAAParallax_Ecliptic2Topocentric(double Lambda, double Beta, double Semidiameter, double Distance, double Epsilon, double Latitude, double Height, double JD); - -double KPCAAParallax_ParallaxToDistance(double Parallax); -double KPCAAParallax_DistanceToParallax(double Distance); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAPhysicalJupiter.h b/SwiftAA.framework/Headers/KPCAAPhysicalJupiter.h deleted file mode 100644 index fc3b1dd..0000000 --- a/SwiftAA.framework/Headers/KPCAAPhysicalJupiter.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// KPCAAPhysicalJupiter.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAAPhysicalJupiterDetails { - double DE; - double DS; - double Geometricw1; - double Geometricw2; - double Apparentw1; - double Apparentw2; - double P; -} KPCAAPhysicalJupiterDetails; - -KPCAAPhysicalJupiterDetails KPCAAPhysicalJupiter_CalculateDetails(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAPhysicalMars.h b/SwiftAA.framework/Headers/KPCAAPhysicalMars.h deleted file mode 100644 index f3d6e30..0000000 --- a/SwiftAA.framework/Headers/KPCAAPhysicalMars.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// KPCPhysicalMars.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAAPhysicalMarsDetails { - double DE; - double DS; - double w; - double P; - double X; - double k; - double q; - double d; -} KPCAAPhysicalMarsDetails; - -KPCAAPhysicalMarsDetails KPCAAPhysicalMars_CalculateDetails(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAPhysicalMoon.h b/SwiftAA.framework/Headers/KPCAAPhysicalMoon.h deleted file mode 100644 index 75802b1..0000000 --- a/SwiftAA.framework/Headers/KPCAAPhysicalMoon.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// KPCAAPhysicalMoon.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAAPhysicalMoonDetails { - double ldash; - double bdash; - double ldash2; - double bdash2; - double l; - double b; - double P; -} KPCAAPhysicalMoonDetails; - -typedef struct KPCAASelenographicMoonDetails { - double l0; - double b0; - double c0; -} KPCAASelenographicMoonDetails; - - -KPCAAPhysicalMoonDetails KPCPhysicalMoon_CalculateGeocentric(double JD); -KPCAAPhysicalMoonDetails KPCPhysicalMoon_CalculateTopocentric(double JD, double Longitude, double Latitude); -KPCAASelenographicMoonDetails KPCPhysicalMoon_SelenographicPositionOfSun(double JD, BOOL highPrecision); - -double KPCPhysicalMoon_AltitudeOfSun(double JD, double Longitude, double Latitude, BOOL highPrecision); -double KPCPhysicalMoon_TimeOfSunrise(double JD, double Longitude, double Latitude, BOOL highPrecision); -double KPCPhysicalMoon_TimeOfSunset(double JD, double Longitude, double Latitude, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAPhysicalSun.h b/SwiftAA.framework/Headers/KPCAAPhysicalSun.h deleted file mode 100644 index 66605e4..0000000 --- a/SwiftAA.framework/Headers/KPCAAPhysicalSun.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// KPCAAPhysicalSun.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAAPhysicalSunDetails { - double P; - double B0; - double L0; -} KPCAAPhysicalSunDetails; - -KPCAAPhysicalSunDetails KPCAAPhysicalSun_CalculateDetails(double JD, BOOL highPrecision); -double KPCAAPhysicalSun_TimeOfStartOfRotation(long C); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAPlanetPerihelionAphelion.h b/SwiftAA.framework/Headers/KPCAAPlanetPerihelionAphelion.h deleted file mode 100644 index b53f2ad..0000000 --- a/SwiftAA.framework/Headers/KPCAAPlanetPerihelionAphelion.h +++ /dev/null @@ -1,57 +0,0 @@ -// -// KPCAAPlanetPerihelionAphelion.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAASwiftAdditions.h" - -#ifdef __cplusplus -extern "C" { -#endif - -long KPCAAPlanetPerihelionAphelion_MercuryK(double Year); -double KPCAAPlanetPerihelionAphelion_MercuryPerihelion(long k); -double KPCAAPlanetPerihelionAphelion_MercuryAphelion(long k); - -long KPCAAPlanetPerihelionAphelion_VenusK(double Year); -double KPCAAPlanetPerihelionAphelion_VenusPerihelion(long k); -double KPCAAPlanetPerihelionAphelion_VenusAphelion(long k); - -long KPCAAPlanetPerihelionAphelion_EarthK(double Year); -double KPCAAPlanetPerihelionAphelion_EarthPerihelion(long k, BOOL barycentric); -double KPCAAPlanetPerihelionAphelion_EarthAphelion(long k, BOOL barycentric); - -long KPCAAPlanetPerihelionAphelion_MarsK(double Year); -double KPCAAPlanetPerihelionAphelion_MarsPerihelion(long k); -double KPCAAPlanetPerihelionAphelion_MarsAphelion(long k); - -long KPCAAPlanetPerihelionAphelion_JupiterK(double Year); -double KPCAAPlanetPerihelionAphelion_JupiterPerihelion(long k); -double KPCAAPlanetPerihelionAphelion_JupiterAphelion(long k); - -long KPCAAPlanetPerihelionAphelion_SaturnK(double Year); -double KPCAAPlanetPerihelionAphelion_SaturnPerihelion(long k); -double KPCAAPlanetPerihelionAphelion_SaturnAphelion(long k); - -long KPCAAPlanetPerihelionAphelion_UranusK(double Year); -double KPCAAPlanetPerihelionAphelion_UranusPerihelion(long k); -double KPCAAPlanetPerihelionAphelion_UranusAphelion(long k); - -long KPCAAPlanetPerihelionAphelion_NeptuneK(double Year); -double KPCAAPlanetPerihelionAphelion_NeptunePerihelion(long k); -double KPCAAPlanetPerihelionAphelion_NeptuneAphelion(long k); - - -// SwiftAA Additions - -long KPCAAPlanetPerihelionAphelion_K(double Year, KPCAAPlanetStrict planet); -double KPCAAPlanetPerihelionAphelion_Perihelion(long k, KPCAAPlanetStrict planet); -double KPCAAPlanetPerihelionAphelion_Aphelion(long k, KPCAAPlanetStrict planet); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAPlanetaryPhenomena.h b/SwiftAA.framework/Headers/KPCAAPlanetaryPhenomena.h deleted file mode 100644 index 460bcc6..0000000 --- a/SwiftAA.framework/Headers/KPCAAPlanetaryPhenomena.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// KPCAAPlanetaryPhenomena.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -typedef NS_ENUM(NSUInteger, KPCPlanetaryObject) { - MERCURY, - VENUS, - MARS, - JUPITER, - SATURN, - URANUS, - NEPTUNE, - UNDEFINED = 999 // Swift Addition -}; - -typedef NS_ENUM(NSUInteger, KPCPlanetaryEventType) { - INFERIOR_CONJUNCTION, - SUPERIOR_CONJUNCTION, - OPPOSITION, - CONJUNCTION, - EASTERN_ELONGATION, - WESTERN_ELONGATION, - STATION1, - STATION2 -}; - - -double KPCAAPlanetaryPhenomena_K(double Year, KPCPlanetaryObject object, KPCPlanetaryEventType type); -double KPCAAPlanetaryPhenomena_Mean(double k, KPCPlanetaryObject object, KPCPlanetaryEventType type); -double KPCAAPlanetaryPhenomena_True(double k, KPCPlanetaryObject object, KPCPlanetaryEventType type); -double KPCAAPlanetaryPhenomena_ElongationValue(double k, KPCPlanetaryObject object, BOOL eastern); - - - -/* SwiftAA Aditions */ - -double KPCAAPlanetaryPhenomena(BOOL mean, double Year, KPCPlanetaryObject object, KPCPlanetaryEventType type); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAPluto.h b/SwiftAA.framework/Headers/KPCAAPluto.h deleted file mode 100644 index 385c2d7..0000000 --- a/SwiftAA.framework/Headers/KPCAAPluto.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// KPCAAPluto.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAPluto_EclipticLongitude(double JD); -double KPCAAPluto_EclipticLatitude(double JD); -double KPCAAPluto_RadiusVector(double JD); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAPrecession.h b/SwiftAA.framework/Headers/KPCAAPrecession.h deleted file mode 100644 index 9914358..0000000 --- a/SwiftAA.framework/Headers/KPCAAPrecession.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// KPCAAPrecession.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAA2DCoordinate.h" - -#ifdef __cplusplus -extern "C" { -#endif - -KPCAA2DCoordinateComponents KPCAAPrecession_PrecessEquatorial(double Alpha, double Delta, double JD0, double JD); -KPCAA2DCoordinateComponents KPCAAPrecession_PrecessEquatorialFK4(double Alpha, double Delta, double JD0, double JD); -KPCAA2DCoordinateComponents KPCAAPrecession_PrecessEcliptic(double Lambda, double Beta, double JD0, double JD); - -KPCAA2DCoordinateComponents KPCAAPrecession_EquatorialPMToEcliptic(double Alpha, double Delta, double Beta, double PMAlpha, double PMDelta, double Epsilon); - -KPCAA2DCoordinateComponents KPCAAPrecession_AdjustPositionUsingUniformProperMotion(double t, double Alpha, double Delta, double PMAlpha, double PMDelta); - -KPCAA2DCoordinateComponents KPCAAPrecession_AdjustPositionUsingMotionInSpace(double r, double deltar, double t, double Alpha, double Delta, double PMAlpha, double PMDelta); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAARefraction.h b/SwiftAA.framework/Headers/KPCAARefraction.h deleted file mode 100644 index 9e9699f..0000000 --- a/SwiftAA.framework/Headers/KPCAARefraction.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// KPCAARefraction.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -// Standard Pressure = 1010 -// Standard Temperature = 10 - -double KPCAARefraction_RefractionFromApparentWithAltitude(double Altitude, double Pressure, double Temperature); -double KPCAARefraction_RefractionFromTrueWithAltitude(double Altitude, double Pressure, double Temperature); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAARiseTransitSet.h b/SwiftAA.framework/Headers/KPCAARiseTransitSet.h deleted file mode 100644 index a1cc39a..0000000 --- a/SwiftAA.framework/Headers/KPCAARiseTransitSet.h +++ /dev/null @@ -1,37 +0,0 @@ -// -// KPCAARiseTransitSet.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAARiseTransitSetDetails { - BOOL isRiseValid; - double Rise; - BOOL isTransitAboveHorizon; - double Transit; - BOOL isSetValid; - double Set; -} KPCAARiseTransitSetDetails; - -KPCAARiseTransitSetDetails KPCAARiseTransitSet_Calculate(double JD, - double Alpha1, - double Delta1, - double Alpha2, - double Delta2, - double Alpha3, - double Delta3, - double Longitude, - double Latitude, - double h0); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAASaturn.h b/SwiftAA.framework/Headers/KPCAASaturn.h deleted file mode 100644 index a174d2a..0000000 --- a/SwiftAA.framework/Headers/KPCAASaturn.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// KPCAASaturn.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAASaturn_EclipticLongitude(double JD, BOOL highPrecision); -double KPCAASaturn_EclipticLatitude(double JD, BOOL highPrecision); -double KPCAASaturn_RadiusVector(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAASaturnMoons.h b/SwiftAA.framework/Headers/KPCAASaturnMoons.h deleted file mode 100644 index 076d857..0000000 --- a/SwiftAA.framework/Headers/KPCAASaturnMoons.h +++ /dev/null @@ -1,41 +0,0 @@ -// -// KPCAASaturnMoons.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAA3DCoordinate.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAASaturnMoonDetails { - KPCAA3DCoordinateComponents TrueRectangularCoordinateComponents; - KPCAA3DCoordinateComponents ApparentRectangularCoordinateComponents; - BOOL inTransit; - BOOL inOccultation; - BOOL inEclipse; - BOOL inShadowTransit; -} KPCAASaturnMoonDetails; - - -typedef struct KPCAASaturnMoonsDetails { - KPCAASaturnMoonDetails Satellite1; - KPCAASaturnMoonDetails Satellite2; - KPCAASaturnMoonDetails Satellite3; - KPCAASaturnMoonDetails Satellite4; - KPCAASaturnMoonDetails Satellite5; - KPCAASaturnMoonDetails Satellite6; - KPCAASaturnMoonDetails Satellite7; - KPCAASaturnMoonDetails Satellite8; -} KPCAASaturnMoonsDetails; - -KPCAASaturnMoonsDetails KPCAASaturnMoonsDetails_Calculate(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAASaturnRings.h b/SwiftAA.framework/Headers/KPCAASaturnRings.h deleted file mode 100644 index e3cb8d9..0000000 --- a/SwiftAA.framework/Headers/KPCAASaturnRings.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// KPCAASaturnRings.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct KPCAASaturnRingDetails { - double B; - double Bdash; - double P; - double a; - double b; - double DeltaU; -} KPCAASaturnRingDetails; - -KPCAASaturnRingDetails KPCAASaturnRings_Calculate(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAASidereal.h b/SwiftAA.framework/Headers/KPCAASidereal.h deleted file mode 100644 index 1c9ceb0..0000000 --- a/SwiftAA.framework/Headers/KPCAASidereal.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// KPCAASidereal.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAASidereal_MeanGreenwichSiderealTime(double JD); -double KPCAASidereal_ApparentGreenwichSiderealTime(double JD); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAStellarMagnitudes.h b/SwiftAA.framework/Headers/KPCAAStellarMagnitudes.h deleted file mode 100644 index dadcac9..0000000 --- a/SwiftAA.framework/Headers/KPCAAStellarMagnitudes.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// KPCAAStellarMagnitudes.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAStellarMagnitudes_CombinedMagnitude(double m1, double m2); -double KPCAAStellarMagnitudes_BrightnessRatio(double m1, double m2); -double KPCAAStellarMagnitudes_MagnitudeDifference(double brightnessRatio); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAASun.h b/SwiftAA.framework/Headers/KPCAASun.h deleted file mode 100644 index 91f3e69..0000000 --- a/SwiftAA.framework/Headers/KPCAASun.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// KPCAASun.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import -#import "KPCAA3DCoordinate.h" - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAASun_GeometricEclipticLongitude(double JD, BOOL highPrecision); -double KPCAASun_GeometricEclipticLatitude(double JD, BOOL highPrecision); -double KPCAASun_GeometricEclipticLongitudeJ2000(double JD, BOOL highPrecision); -double KPCAASun_GeometricEclipticLatitudeJ2000(double JD, BOOL highPrecision); -double KPCAASun_GeometricFK5EclipticLongitude(double JD, BOOL highPrecision); -double KPCAASun_GeometricFK5EclipticLatitude(double JD, BOOL highPrecision); -double KPCAASun_ApparentEclipticLongitude(double JD, BOOL highPrecision); -double KPCAASun_ApparentEclipticLatitude(double JD, BOOL highPrecision); - -KPCAA3DCoordinateComponents KPCAASun_EquatorialRectangularCoordinatesMeanEquinox(double JD, BOOL highPrecision); -KPCAA3DCoordinateComponents KPCAASun_EclipticRectangularCoordinatesJ2000(double JD, BOOL highPrecision); -KPCAA3DCoordinateComponents KPCAASun_EquatorialRectangularCoordinatesJ2000(double JD, BOOL highPrecision); -KPCAA3DCoordinateComponents KPCAASun_EquatorialRectangularCoordinatesB1950(double JD, BOOL highPrecision); -KPCAA3DCoordinateComponents KPCAASun_EquatorialRectangularCoordinatesAnyEquinox(double JD, double JDEquinox, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAASwiftAdditions.h b/SwiftAA.framework/Headers/KPCAASwiftAdditions.h deleted file mode 100644 index 71b7852..0000000 --- a/SwiftAA.framework/Headers/KPCAASwiftAdditions.h +++ /dev/null @@ -1,44 +0,0 @@ -// -// KPCAASwiftAdditions.h -// SwiftAA -// -// Created by Cédric Foellmi on 26/06/16. -// Copyright © 2016 onekiloparsec. All rights reserved. -// - -#ifndef KPCAASwiftAdditions_h -#define KPCAASwiftAdditions_h - -#import "KPCAAPlanetaryPhenomena.h" - -// SwiftAA Aditions -// The trick here is that CAPITALS are used in the C++ code for PlanetaryObject -// The Obj-C code respects that. To extend it here to include Earth and Pluto, -// We use the normal case. - -typedef NS_ENUM(NSInteger, KPCAAPlanetStrict) { - mercury = MERCURY, - venus = VENUS, - earth = 99, - mars = MARS, - jupiter = JUPITER, - saturn = SATURN, - uranus = URANUS, - neptune = NEPTUNE, - undefined = -1 -}; - -typedef NS_ENUM(NSInteger, KPCAAPlanet) { - Mercury = mercury, - Venus = venus, - Earth = earth, - Mars = mars, - Jupiter = jupiter, - Saturn = saturn, - Uranus = uranus, - Neptune = neptune, - Pluto = 999, - Undefined = -1 -}; - -#endif /* KPCAASwiftAdditions_h */ diff --git a/SwiftAA.framework/Headers/KPCAAUranus.h b/SwiftAA.framework/Headers/KPCAAUranus.h deleted file mode 100644 index a8beef3..0000000 --- a/SwiftAA.framework/Headers/KPCAAUranus.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// KPCAAUranus.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAUranus_EclipticLongitude(double JD, BOOL highPrecision); -double KPCAAUranus_EclipticLatitude(double JD, BOOL highPrecision); -double KPCAAUranus_RadiusVector(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/KPCAAVenus.h b/SwiftAA.framework/Headers/KPCAAVenus.h deleted file mode 100644 index beae433..0000000 --- a/SwiftAA.framework/Headers/KPCAAVenus.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// KPCAAVenus.h -// SwiftAA -// -// Created by Cédric Foellmi on 10/07/15. -// Licensed under the MIT License (see LICENSE file) -// - -#import - -#ifdef __cplusplus -extern "C" { -#endif - -double KPCAAVenus_EclipticLongitude(double JD, BOOL highPrecision); -double KPCAAVenus_EclipticLatitude(double JD, BOOL highPrecision); -double KPCAAVenus_RadiusVector(double JD, BOOL highPrecision); - -#if __cplusplus -} -#endif diff --git a/SwiftAA.framework/Headers/SwiftAA-Swift.h b/SwiftAA.framework/Headers/SwiftAA-Swift.h deleted file mode 100644 index 5f90aeb..0000000 --- a/SwiftAA.framework/Headers/SwiftAA-Swift.h +++ /dev/null @@ -1,187 +0,0 @@ -// Generated by Apple Swift version 4.0 (swiftlang-900.0.65 clang-900.0.37) -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_attribute(external_source_symbol) -# define SWIFT_STRINGIFY(str) #str -# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) _Pragma(SWIFT_STRINGIFY(clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in=module_name, generated_declaration))), apply_to=any(function, enum, objc_interface, objc_category, objc_protocol)))) -# define SWIFT_MODULE_NAMESPACE_POP _Pragma("clang attribute pop") -#else -# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) -# define SWIFT_MODULE_NAMESPACE_POP -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) || __cplusplus < 201103L -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open))) -# else -# define SWIFT_ENUM_ATTR -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if __has_feature(modules) -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -SWIFT_MODULE_NAMESPACE_PUSH("SwiftAA") -SWIFT_MODULE_NAMESPACE_POP -#pragma clang diagnostic pop diff --git a/SwiftAA.framework/Headers/SwiftAA.h b/SwiftAA.framework/Headers/SwiftAA.h deleted file mode 100644 index c51dc78..0000000 --- a/SwiftAA.framework/Headers/SwiftAA.h +++ /dev/null @@ -1,75 +0,0 @@ -// -// SwiftAA.h -// SwiftAA -// -// Created by Cédric Foellmi on 20/12/15. -// Copyright © 2015 onekiloparsec. All rights reserved. -// - -#import - -//! Project version number for SwiftAA. -FOUNDATION_EXPORT double SwiftAAVersionNumber; - -//! Project version string for SwiftAA. -FOUNDATION_EXPORT const unsigned char SwiftAAVersionString[]; - -#import - -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - diff --git a/SwiftAA.framework/Info.plist b/SwiftAA.framework/Info.plist deleted file mode 100644 index a550979..0000000 Binary files a/SwiftAA.framework/Info.plist and /dev/null differ diff --git a/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm.swiftdoc b/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm.swiftdoc deleted file mode 100644 index e14344e..0000000 Binary files a/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm.swiftdoc and /dev/null differ diff --git a/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm.swiftmodule b/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm.swiftmodule deleted file mode 100644 index 5036d3f..0000000 Binary files a/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm.swiftmodule and /dev/null differ diff --git a/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm64.swiftdoc b/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 5ec8963..0000000 Binary files a/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm64.swiftmodule b/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 4681523..0000000 Binary files a/SwiftAA.framework/Modules/SwiftAA.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/SwiftAA.framework/Modules/module.modulemap b/SwiftAA.framework/Modules/module.modulemap deleted file mode 100644 index 8c1f676..0000000 --- a/SwiftAA.framework/Modules/module.modulemap +++ /dev/null @@ -1,11 +0,0 @@ -framework module SwiftAA { - umbrella header "SwiftAA.h" - - export * - module * { export * } -} - -module SwiftAA.Swift { - header "SwiftAA-Swift.h" - requires objc -} diff --git a/SwiftAA.framework/SwiftAA b/SwiftAA.framework/SwiftAA deleted file mode 100755 index cce8221..0000000 Binary files a/SwiftAA.framework/SwiftAA and /dev/null differ