The hatching analysis class selects the starting point and the ending point in the scene for analysis, and obtains the hatching analysis effect chart.
Name | Type | Description |
---|---|---|
scene |
Object | optional Specifies the scene object to use for the analysis. |
Throws:
-
DeveloperError : Scene scene must be specified.
Example:
//Create a hatch analysis
var profile= new Cesium.Profile(scene);
Demo:
Members
-
Gets or sets the end point of the profile analysis. This point is represented by an array of longitude, latitude, and elevation.
-
Gets or sets the span height of the profile analysis in 3D space in meters.
-
Gets or sets the starting point of the profile analysis. This point is represented by an array of longitude, latitude, and elevation.
Methods
-
Perform a hatch analysis.
-
Clear the analysis results.
-
Get the results of the profile analysis.
Name Type Description func
function The callback function whose parameters are the result of the profile analysis (the profile rgba byte stream).