public class PolygonSurvey extends BoxSurvey
PolygonSurvey
class holds survey information for a
polygon of data values.Constructor and Description |
---|
PolygonSurvey(DataVariable variable,
EarthTransform trans,
java.awt.Shape shape)
Creates a new polygon survey.
|
Modifier and Type | Method and Description |
---|---|
protected double |
getSampleSize()
Gets the sample size (total values sampled divided by the total
values in the area) in percent.
|
java.awt.Shape |
getShape()
Gets the shape defining this polygon.
|
protected java.lang.String |
getSurveyType()
Gets the survey type for results reporting.
|
getResults
getExtents, getStatistics, getTransform, getVariableFormat, getVariableName, getVariableUnits, init
public PolygonSurvey(DataVariable variable, EarthTransform trans, java.awt.Shape shape)
variable
- the survey variable.trans
- the survey variable earth transform.shape
- the polygon shape.protected java.lang.String getSurveyType()
getSurveyType
in class BoxSurvey
protected double getSampleSize()
getSampleSize
in class BoxSurvey
public java.awt.Shape getShape()