com.supermap.analyst.spatialanalyst

Class DistanceAnalystParameter

  • java.lang.Object
    • com.supermap.analyst.spatialanalyst.DistanceAnalystParameter


  • public class DistanceAnalystParameter
    extends java.lang.Object
    • Constructor Detail

      • DistanceAnalystParameter

        public DistanceAnalystParameter()
        Default constructor
      • DistanceAnalystParameter

        public DistanceAnalystParameter(DistanceAnalystParameter parameter)
        Copy constructor
        Parameters:
        parameter - to be copied to construct the object
    • Method Detail

      • getMaxDistance

        public double getMaxDistance()
        Get the maximum distance
        Returns:
      • setMaxDistance

        public void setMaxDistance(double maxDistance)
        Set the maximum distance
        Parameters:
        maxDistance -
      • getSourceDataset

        public Dataset getSourceDataset()
        Get the source data
        Returns:
        source dataset
      • setSourceDataset

        public void setSourceDataset(Dataset sourceDataset)
        Set up the source data
        Parameters:
        sourceDataset - source dataset
      • getCostGrid

        public DatasetGrid getCostGrid()
        Get a raster dataset that consumes money
        Returns:
        Consumes raster datasets
      • setCostGrid

        public void setCostGrid(DatasetGrid costGrid)
        Set up a cost-intensive raster dataset
        Parameters:
        costGrid - consumes raster datasets
      • getSurfaceGrid

        public DatasetGrid getSurfaceGrid()
        Get a surface raster dataset
        Returns:
        Surface raster dataset
      • setSurfaceGrid

        public void setSurfaceGrid(DatasetGrid surfaceGrid)
        Set up a surface raster dataset
        Parameters:
        surfaceGrid - surface raster dataset
      • getTargetDatasource

        public Datasource getTargetDatasource()
        Get the target data source
        Returns:
        Target data source
      • setTargetDatasource

        public void setTargetDatasource(Datasource targetDatasource)
        Set the target data source
        Parameters:
        targetDatasource -
      • getMaxUpslopeDegree

        public double getMaxUpslopeDegree()
        Get the maximum uphill angle
        Returns:
        Maximum uphill angle
      • setMaxUpslopeDegree

        public void setMaxUpslopeDegree(double value)
        Sets the maximum uphill angle
        Parameters:
        value - maximum uphill angle
      • getMaxDownslopeDegree

        public double getMaxDownslopeDegree()
        Get the maximum downhill angle
        Returns:
        Maximum downhill angle
      • setMaxDownslopeDegree

        public void setMaxDownslopeDegree(double value)
        Sets the maximum downhill angle
        Parameters:
        value - maximum downhill angle
      • getPathLineSmoothMethod

        public SmoothMethod getPathLineSmoothMethod()
        Get a smooth method
        Returns:
        Smooth method
      • setPathLineSmoothMethod

        public void setPathLineSmoothMethod(SmoothMethod value)
        Set the smooth method
        Parameters:
        value - smooth method
      • getPathLineSmoothDegree

        public int getPathLineSmoothDegree()
        Get the smoothness factor
        Returns:
        Smoothness factor
      • setPathLineSmoothDegree

        public void setPathLineSmoothDegree(int value)
        Sets the smoothness factor
        Parameters:
        value - smoothness factor
      • getBarrierRegion

        public DatasetVector getBarrierRegion()
        Gets the obstacle polygon
        Returns:
        Barrier polygon dataset
      • setBarrierRegion

        public void setBarrierRegion(DatasetVector value)
        Set up the obstacle face
        Parameters:
        value - barrier polygon dataset