mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-01-05 22:17:48 -05:00
Added the following iterator functions that wrap
search/next pairs of functions:
globalSolarEclipsesAfter
localSolarEclipsesAfter
lunarApsidesAfter
lunarEclipsesAfter
moonNodesAfter
moonQuartersAfter
planetApsidesAfter
transitsAfter
I updated the following Kotlin demos:
MoonPhase.kt ==> moonQuartersAfter
LunarEclipse.kt ==> lunarEclipsesAfter
However, I have not yet figured out how to use these
functions in the corresponding Java demos.
18 lines
735 B
Markdown
18 lines
735 B
Markdown
//[astronomy](../../index.md)/[io.github.cosinekitty.astronomy](index.md)/[nextMoonNode](next-moon-node.md)
|
|
|
|
# nextMoonNode
|
|
|
|
fun [nextMoonNode](next-moon-node.md)(prevNode: [NodeEventInfo](-node-event-info/index.md)): [NodeEventInfo](-node-event-info/index.md)
|
|
|
|
Searches for the next time when the Moon's center crosses through the ecliptic plane.
|
|
|
|
Call [searchMoonNode](search-moon-node.md) to find the first of a series of nodes. Then call nextMoonNode to find as many more consecutive nodes as desired.
|
|
|
|
See [moonNodesAfter](moon-nodes-after.md) for convenient iteration of consecutive nodes.
|
|
|
|
## Parameters
|
|
|
|
| | |
|
|
|---|---|
|
|
| prevNode | The previous node found from calling [searchMoonNode](search-moon-node.md) or nextMoonNode. |
|