File tree Expand file tree Collapse file tree
Sources/SwiftAstro/StarCatalog Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,32 @@ extension SwiftAstro {
3434 public let dateApproved : String
3535 public let hrNumber : Int ?
3636 public let hdNumber : Int ?
37+
38+ public init (
39+ name: String ,
40+ designations: [ Designation ] ,
41+ bayerGreek: String ? ,
42+ constellation: String ,
43+ magnitude: Double ,
44+ band: Band ,
45+ rightAscension: Double ,
46+ declination: Double ,
47+ dateApproved: String ,
48+ hrNumber: Int ? ,
49+ hdNumber: Int ?
50+ ) {
51+ self . name = name
52+ self . designations = designations
53+ self . bayerGreek = bayerGreek
54+ self . constellation = constellation
55+ self . magnitude = magnitude
56+ self . band = band
57+ self . rightAscension = rightAscension
58+ self . declination = declination
59+ self . dateApproved = dateApproved
60+ self . hrNumber = hrNumber
61+ self . hdNumber = hdNumber
62+ }
3763 }
3864
3965}
You can’t perform that action at this time.
0 commit comments