Package com.agisoft.metashape.tasks
Class GeneratePrescriptionMap
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.GeneratePrescriptionMap
Task class containing processing parameters.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.agisoft.metashape.tasks.Task
Task.TaskTarget -
Field Summary
Fields inherited from class com.agisoft.metashape.tasks.Task
swigCMemOwn -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()protected voidfinalize()intBoundary shape group.double[]Classification breakpoints.doubleStep of prescription grid, meters.intNumber of classes.Index values classification method.protected static longdouble[]getRates()Fertilizer rate for each class.voidsetBoundaryShapeGroup(int value) Boundary shape group.voidsetBreakpoints(double[] value) Classification breakpoints.voidsetCellSize(double value) Step of prescription grid, meters.voidsetClassCount(int value) Number of classes.voidIndex values classification method.voidsetRates(double[] value) Fertilizer rate for each class.Methods inherited from class com.agisoft.metashape.tasks.Task
apply, apply, getCPtr, getName, getParameter, getParameterNames, getTarget, getWorkitemCount, isGPUSupported, setParameter, setWorkitemCount, toNetworkTask, toNetworkTask, toNetworkTask, toNetworkTask
-
Constructor Details
-
GeneratePrescriptionMap
protected GeneratePrescriptionMap(long cPtr, boolean cMemoryOwn) -
GeneratePrescriptionMap
public GeneratePrescriptionMap()
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setBoundaryShapeGroup
public void setBoundaryShapeGroup(int value) Boundary shape group. Default: -1 -
getBoundaryShapeGroup
public int getBoundaryShapeGroup()Boundary shape group. Default: -1 -
setBreakpoints
public void setBreakpoints(double[] value) Classification breakpoints. -
getBreakpoints
public double[] getBreakpoints()Classification breakpoints. -
setCellSize
public void setCellSize(double value) Step of prescription grid, meters. Default: 1.0 -
getCellSize
public double getCellSize()Step of prescription grid, meters. Default: 1.0 -
setClassCount
public void setClassCount(int value) Number of classes. Default: 4 -
getClassCount
public int getClassCount()Number of classes. Default: 4 -
setClassificationMethod
Index values classification method. Default: ClassificationMethod.JenksNaturalBreaksClassification -
getClassificationMethod
Index values classification method. Default: ClassificationMethod.JenksNaturalBreaksClassification -
setRates
public void setRates(double[] value) Fertilizer rate for each class. -
getRates
public double[] getRates()Fertilizer rate for each class.
-