com.supermap.services.providers
Class UGCSpatialAnalyst3DProvider
- java.lang.Object
-
- com.supermap.services.providers.UGCSpatialAnalyst3DProvider
-
- All Implemented Interfaces:
- Disposable, ProviderContextAware
public class UGCSpatialAnalyst3DProvider extends java.lang.Object implements ProviderContextAware, Disposable
3D analysis service provider.
-
-
Constructor Summary
Constructors Constructor and Description UGCSpatialAnalyst3DProvider()UGCSpatialAnalyst3DProvider(UGCSpatialAnalyst3DProviderSetting setting)
-
Method Summary
Methods Modifier and Type Method and Description voiddispose()Release the resource object.java.util.List<java.lang.String>getSceneNames()Gets the name of all available 3D scenes for the current service provider.voidsetProviderContext(ProviderContext context)Set the SuperMap 3D analysis service provider context.ViewShedResult3DviewShed(java.lang.String sceneName, Point3D viewPoint, Point3D targetPoint, double headingAngle, double pitchAngle, java.lang.String resultDataset, boolean deleteExistResultDataset, boolean buildPyramid)3D 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.
-
-
-
Constructor Detail
-
UGCSpatialAnalyst3DProvider
public UGCSpatialAnalyst3DProvider()
-
UGCSpatialAnalyst3DProvider
public UGCSpatialAnalyst3DProvider(UGCSpatialAnalyst3DProviderSetting setting)
-
-
Method Detail
-
setProviderContext
public void setProviderContext(ProviderContext context)
Set the SuperMap 3D analysis service provider context.
- Specified by:
setProviderContextin interfaceProviderContextAware- Parameters:
context- SuperMap 3D analysis service provider context object.
-
getSceneNames
public java.util.List<java.lang.String> getSceneNames()
Gets the name of all available 3D scenes for the current service provider.- 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.
- Parameters:
sceneName- the name of the 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)
3D visual field analysis.
- Parameters:
sceneName- the name of the 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()
Description copied from interface:DisposableRelease the resource object.
- Specified by:
disposein interfaceDisposable
-
-