Shadow rate analysis class, specify the analysis range, set the shadow type, and set the analysis time period to obtain the shadow rate analysis results.
Name | Type | Description |
---|---|---|
scene |
Scene | optional scene object. |
Throws:
-
DeveloperError : The scene scene must be specified.
Example:
//Create Shading Ratio Analysis
var shadowQueryPoints= new SuperMap3D.ShadowQueryPoints(scene);
Members
-
colorTable : ColorTable
-
Set the colormap.
-
endTime : JulianDate
-
Gets or sets the end time of the analysis.
-
queryPointsEvent : Event
-
Get the set of points and the shading rate event for each point.
-
Get or set the spacing of shadow rate points.
-
startTime : JulianDate
-
Gets or sets the start time of the analysis.
-
Get or set the time interval.
-
It is used to obtain voxel data, set it to the S3M layer, and express the sunshine rate in the form of volume coverage.
Methods
-
Perform shadow analysis.
-
Get the shadow rate.
Name Type Description cartographic
Object latitude and longitude. Returns:
shadow rate. -
Obtain shadow rate asynchronously, this asynchronous interface must be used under the webgpu model
Name Type Description cartographic
Object latitude and longitude Returns:
shadow rate -
Gets the visibility of the shadow ratio analysis in the specified viewport.
Name Type Description index
Number The specified viewport index. Returns:
visibleThrows:
-
DeveloperError : index value range from 0-3。
-
-
Added area for shading rate analysis.
Name Type Description options
Object Objects have the following properties. Name Type Description position
Array Specify 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 extrusion height of the analysis area. Throws:
-
ShadowType : Shading shows the range type.
-
-
Sets the visibility of the shadow rate analysis in the specified viewport.
Name Type Description index
Number The specified viewport index. Throws:
-
DeveloperError : index value range from 0-3。
-