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 DatasetVector
getBarrierRegion()
Gets the obstacle polygonDatasetGrid
getCostGrid()
Get a raster dataset that consumes moneydouble
getMaxDistance()
Get the maximum distancedouble
getMaxDownslopeDegree()
Get the maximum downhill angledouble
getMaxUpslopeDegree()
Get the maximum uphill angleint
getPathLineSmoothDegree()
Get the smoothness factorSmoothMethod
getPathLineSmoothMethod()
Get a smooth methodDataset
getSourceDataset()
Get the source dataDatasetGrid
getSurfaceGrid()
Get a surface raster datasetDatasource
getTargetDatasource()
Get the target data sourcevoid
setBarrierRegion(DatasetVector value)
Set up the obstacle facevoid
setCostGrid(DatasetGrid costGrid)
Set up a cost-intensive raster datasetvoid
setMaxDistance(double maxDistance)
Set the maximum distancevoid
setMaxDownslopeDegree(double value)
Sets the maximum downhill anglevoid
setMaxUpslopeDegree(double value)
Sets the maximum uphill anglevoid
setPathLineSmoothDegree(int value)
Sets the smoothness factorvoid
setPathLineSmoothMethod(SmoothMethod value)
Set the smooth methodvoid
setSourceDataset(Dataset sourceDataset)
Set up the source datavoid
setSurfaceGrid(DatasetGrid surfaceGrid)
Set up a surface raster datasetvoid
setTargetDatasource(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
-
-