Methods
Create an altitude crossing event function.
Returns positive when the entity is above the given altitude.
| Name | Type | Description |
|---|---|---|
entity |
Entity | Entity with a position property. |
altitudeMeters |
number | Altitude threshold in meters. |
Returns:
(JulianDate) → number. Positive = above threshold.
Create an ascending node crossing event function.
Detects when the satellite crosses the equator going northward.
Returns positive when latitude is positive (northern hemisphere).
| Name | Type | Description |
|---|---|---|
entity |
Entity | Entity with a position property. |
Returns:
(JulianDate) → number.
Create an eclipse event function for a satellite entity.
Returns a function that computes shadow state at any time:
> 0 means the satellite is in eclipse (umbra or penumbra).
Uses conical shadow model with Earth as the occulting body and
Sun position from Simon1994 analytical ephemeris.
| Name | Type | Description |
|---|---|---|
entity |
Entity | Entity with a position property. |
Returns:
(JulianDate) → number. Positive = in eclipse.
Create a latitude crossing event function.
Returns positive when the entity's latitude is above the given threshold.
| Name | Type | Description |
|---|---|---|
entity |
Entity | Entity with a position property. |
latitudeRadians |
number | Latitude threshold in radians. |
Returns:
(JulianDate) → number. Positive = above threshold.
static Cesium.EventDetector.scan(eventFn, start, stop, stepSeconds, options) → TimeIntervalCollection
Scan a time window for sign-change transitions of an event function.
Returns intervals where eventFn returns a value > 0 (the "active" state).
The scan steps through time at `stepSeconds` intervals, then uses bisection
to refine transition boundaries to `tolerance` precision.
| Name | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
eventFn |
function | (JulianDate) → number. Positive = event active. | ||||||||
start |
JulianDate | Start of scan window. | ||||||||
stop |
JulianDate | End of scan window. | ||||||||
stepSeconds |
number | Coarse scan step size in seconds. | ||||||||
options |
Object |
optional
Options.
|
Returns:
Intervals where eventFn > 0.