The shadow rate analysis class specifies the analysis range, sets the shadow type, and sets the analysis time period to obtain the shadow rate analysis result.
Name | Type | Description |
---|---|---|
scene |
Scene | optional Scene object. |
Throws:
-
DeveloperError : Scene scene must be specified.
Example:
//Create a shadow rate analysis
var shadowQueryPoints= new Cesium.ShadowQueryPoints(scene);
Members
-
endTime : JulianDate
-
Gets or sets the end time of the analysis.
-
Get the point set and the shadow rate event for each point.
-
Gets or sets the spacing of the shadow rate points.
-
startTime : JulianDate
-
Gets or sets the start time of the analysis.
-
Get or set the time interval.
Methods
-
Perform a shadow analysis.
-
Get the shadow rate.
Name Type Description cartographic
Object Latitude and longitude. Returns:
Shadow rate. -
Get the visibility of the specified viewport by the shadow rate analysis.
Name Type Description index
Number The specified viewport index. Returns:
visibleThrows:
-
DeveloperError : The range of index values is: 0-3.
-
-
Add the area of the shadow rate analysis.
Name Type Description options
Object The object has the following properties. Name Type Description position
Array Specifies the location information of the analysis area, represented by an array containing longitude and latitude. bottom
String Specifies the bottom elevation of the analysis area. extend
String Specifies the stretch height of the analysis area. -
Set the visibility of the specified viewport by the shadow rate analysis.
Name Type Description index
Number The specified viewport index. Throws:
-
DeveloperError : The range of index values is: 0-3.
-