com.supermap.services.components.impl
Class SpatialAnalyst3DImpl
- java.lang.Object
-
- com.supermap.services.components.impl.SpatialAnalyst3DImpl
-
- All Implemented Interfaces:
- ComponentContextAware, SpatialAnalyst3D, Disposable
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 Summary
Constructors Constructor and Description SpatialAnalyst3DImpl()
-
Method Summary
Methods Modifier and Type Method and Description voiddispose()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.voidsetComponentContext(ComponentContext context)Sets the 3D analysis service component context.ViewShedResult3DviewShed(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.
-
-
-
Method Detail
-
getSceneNames
public java.util.List<java.lang.String> getSceneNames()
Gets the names of all available 3D scenes in the current 3D analysis service.- Specified by:
getSceneNamesin interfaceSpatialAnalyst3D- Returns:
- List of available scene names.
-
visible
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.
- Specified by:
visiblein interfaceSpatialAnalyst3D- Parameters:
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.
-
viewShed
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.
- Specified by:
viewShedin interfaceSpatialAnalyst3D- Parameters:
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.- Returns:
- Three-dimensional visual field analysis results.
-
dispose
public void dispose()
Releases the resources that the current 3D analysis service component occupies.
- Specified by:
disposein interfaceDisposable
-
setComponentContext
public void setComponentContext(ComponentContext context)
Sets the 3D analysis service component context.
- Specified by:
setComponentContextin interfaceComponentContextAware- Parameters:
context- 3D analysis service component context.
-
-