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