Files
astro/moon/occultation_path.go
T

16 lines
505 B
Go
Raw Permalink Normal View History

package moon
import (
"time"
"b612.me/astro/basic"
)
// FindStarOccultationPaths 搜索单颗点源恒星月掩的全球掩带 / global paths of a point-source stellar occultation.
func (module *Moon) FindStarOccultationPaths(start, end time.Time, star StarCoordinate, options OccultationPathOptions) ([]StarOccultationPath, error) {
if options.LunarLimb == nil {
options.LunarLimb = module.lunarLimb
}
return basic.FindStarOccultationPathsWithInstance(start, end, star, options, module.inst)
}