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