Section line analysis class, select the starting point and end point in the scene for analysis, and obtain the section line analysis effect diagram.
Name | Type | Description |
---|---|---|
scene |
Object | optional Specify the scene object for analysis. |
Throws:
-
DeveloperError : The scene must be specified.
Example:
//Create a section line analysis
var profile= new Cesium.Profile(scene);
Demo:
Members
-
Gets or sets the end point of the profile analysis. The point is represented by an array of longitude, latitude, and elevation.
-
Gets or sets the span height of the profile analysis in 3D space, the unit is meter.
-
Get or set the starting point of the profile analysis. The point is represented by an array of longitude, latitude, and elevation.
Methods
-
Perform hatch analysis.
-
Clear the analysis results.
-
Obtain the results of the profile analysis.
Name Type Description func
function Callback function, its parameter is the result of profile analysis (profile rgba byte stream). -
Get the actual geographic coordinates of the point set of the analysis result.
Name Type Description func
function Callback function, its parameter is the result of profile analysis.