czm_isEmpty
Determines if a time interval is empty.
Parameters:
Name | Type | Description |
---|---|---|
interval |
czm_raySegment | The interval to test. |
Returns:
bool
true
if the time interval is empty; otherwise, false
.
Example
bool b0 = czm_isEmpty(czm_emptyRaySegment); // true bool b1 = czm_isEmpty(czm_raySegment(0.0, 1.0)); // false bool b2 = czm_isEmpty(czm_raySegment(1.0, 1.0)); // false, contains 1.0.