com.supermap.analyst.spatialanalyst
Class DistanceAnalystParameter
- java.lang.Object
-
- com.supermap.analyst.spatialanalyst.DistanceAnalystParameter
-
public class DistanceAnalystParameter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description DistanceAnalystParameter()Default constructorDistanceAnalystParameter(DistanceAnalystParameter parameter)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DatasetVectorgetBarrierRegion()Gets the obstacle polygonDatasetGridgetCostGrid()Get a raster dataset that consumes moneydoublegetMaxDistance()Get the maximum distancedoublegetMaxDownslopeDegree()Get the maximum downhill angledoublegetMaxUpslopeDegree()Get the maximum uphill angleintgetPathLineSmoothDegree()Get the smoothness factorSmoothMethodgetPathLineSmoothMethod()Get a smooth methodDatasetgetSourceDataset()Get the source dataDatasetGridgetSurfaceGrid()Get a surface raster datasetDatasourcegetTargetDatasource()Get the target data sourcevoidsetBarrierRegion(DatasetVector value)Set up the obstacle facevoidsetCostGrid(DatasetGrid costGrid)Set up a cost-intensive raster datasetvoidsetMaxDistance(double maxDistance)Set the maximum distancevoidsetMaxDownslopeDegree(double value)Sets the maximum downhill anglevoidsetMaxUpslopeDegree(double value)Sets the maximum uphill anglevoidsetPathLineSmoothDegree(int value)Sets the smoothness factorvoidsetPathLineSmoothMethod(SmoothMethod value)Set the smooth methodvoidsetSourceDataset(Dataset sourceDataset)Set up the source datavoidsetSurfaceGrid(DatasetGrid surfaceGrid)Set up a surface raster datasetvoidsetTargetDatasource(Datasource targetDatasource)Set the target data source
-
-
-
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
-
-