com.supermap.services.providers

Class UGCSpatialAnalyst3DProvider

  • java.lang.Object
    • com.supermap.services.providers.UGCSpatialAnalyst3DProvider
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UGCSpatialAnalyst3DProvider

        public UGCSpatialAnalyst3DProvider()
        
    • Method Detail

      • setProviderContext

        public void setProviderContext(ProviderContext context)
        

        Set the SuperMap 3D analysis service provider context.

        Specified by:
        setProviderContext in interface ProviderContextAware
        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: Disposable

        Release the resource object.

        Specified by:
        dispose in interface Disposable