public class SpatialAnalyst3DImpl extends java.lang.Object implements SpatialAnalyst3D, ComponentContextAware, Disposable
The three-dimensional analysis service interface (SpatialAnalyst3D
) implementation class.
The 3D analysis service component is a kind of GIS service component, which encapsulates the 3D function related to the spatial analysis.
Constructor and Description |
---|
SpatialAnalyst3DImpl() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases the resources that the current 3D analysis service component occupies.
|
java.util.List<java.lang.String> |
getSceneNames()
Gets the names of all available 3D scenes in the current 3D analysis service.
|
void |
setComponentContext(ComponentContext context)
Sets the 3D analysis service component context.
|
ViewShedResult3D |
viewShed(java.lang.String sceneName, Point3D viewPoint, Point3D targetPoint, double headingAngle, double pitchAngle, java.lang.String resultDataset, boolean deleteExistResultDataset, boolean buildPyramid)
Three - dimensional visual field analysis.
|
VisibleResult3D[] |
visible(java.lang.String sceneName, Point3D[] viewPoints, Point3D[] targetPoints)
Visibility Analysis To determine whether the two can be between the two views.
|
public java.util.List<java.lang.String> getSceneNames()
getSceneNames
in interface SpatialAnalyst3D
public VisibleResult3D[] visible(java.lang.String sceneName, Point3D[] viewPoints, Point3D[] targetPoints)
Visibility Analysis To determine whether the two can be between the two views. If there are m observation points and n observation points, there will be m * n kinds of observation combinations.
visible
in interface SpatialAnalyst3D
sceneName
- Name of 3D scene.viewPoints
- specifies the set of watchpoint objects.targetPoints
- specifies the set of target point objects. An array of analysis results.public ViewShedResult3D viewShed(java.lang.String sceneName, Point3D viewPoint, Point3D targetPoint, double headingAngle, double pitchAngle, java.lang.String resultDataset, boolean deleteExistResultDataset, boolean buildPyramid)
Three - dimensional visual field analysis.
viewShed
in interface SpatialAnalyst3D
sceneName
- Name of 3D scene.viewPoint
- specifies the watchpoint object.targetPoint
- specifies the set of target point objects.headingAngle
- horizontal view side angle.pitchAngle
- vertical view side angle.resultDataset
- result raster dataset ID.deleteExistResultDataset
- If the result data set 's name which the user named is the same as the existing dataset name, whether to delete the existing dataset.buildPyramid
- Whether to create a pyramid for the result raster dataset.public void dispose()
Releases the resources that the current 3D analysis service component occupies.
dispose
in interface Disposable
public void setComponentContext(ComponentContext context)
Sets the 3D analysis service component context.
setComponentContext
in interface ComponentContextAware
context
- 3D analysis service component context.