Profile

new Cesium.Profile(scene)

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:
Example:
//Create a hatch analysis
var profile= new Cesium.Profile(scene);
Demo:

Members

endPoint : Array

Gets or sets the end point of the profile analysis. This point is represented by an array of longitude, latitude, and elevation.

extendHeight : Number

Gets or sets the span height of the profile analysis in 3D space in meters.

startPoint : Array

Gets or sets the starting point of the profile analysis. This point is represented by an array of longitude, latitude, and elevation.

Methods

build()

Perform a hatch analysis.

destroy()

Clear the analysis results.

getBuffer(func)

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).