public class UGCSpatialAnalyst3DProvider extends java.lang.Object implements ProviderContextAware, Disposable
3D analysis service provider.
Constructor and Description |
---|
UGCSpatialAnalyst3DProvider() |
UGCSpatialAnalyst3DProvider(UGCSpatialAnalyst3DProviderSetting setting) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Release the resource object.
|
java.util.List<java.lang.String> |
getSceneNames()
Gets the name of all available 3D scenes for the current service provider.
|
void |
setProviderContext(ProviderContext context)
Set the SuperMap 3D analysis service provider context.
|
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.
|
VisibleResult3D[] |
visible(java.lang.String sceneName, Point3D[] viewPoints, Point3D[] targetPoints)
Visibility Analysis To determine whether the two can be between the two views.
|
public UGCSpatialAnalyst3DProvider()
public UGCSpatialAnalyst3DProvider(UGCSpatialAnalyst3DProviderSetting setting)
public void setProviderContext(ProviderContext context)
Set the SuperMap 3D analysis service provider context.
setProviderContext
in interface ProviderContextAware
context
- SuperMap 3D analysis service provider context object.public java.util.List<java.lang.String> getSceneNames()
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.
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.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.
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.public void dispose()
Disposable
Release the resource object.
dispose
in interface Disposable