Class PolygonSurvey


public class PolygonSurvey extends BoxSurvey
The PolygonSurvey class holds survey information for a polygon of data values.
Since:
3.1.7
Author:
Peter Hollemans
  • Constructor Details

    • PolygonSurvey

      public PolygonSurvey(DataVariable variable, EarthTransform trans, Shape shape)
      Creates a new polygon survey.
      Parameters:
      variable - the survey variable.
      trans - the survey variable earth transform.
      shape - the polygon shape.
  • Method Details

    • getSurveyType

      protected String getSurveyType()
      Gets the survey type for results reporting.
      Overrides:
      getSurveyType in class BoxSurvey
    • getSampleSize

      protected double getSampleSize()
      Gets the sample size (total values sampled divided by the total values in the area) in percent.
      Overrides:
      getSampleSize in class BoxSurvey
    • getShape

      public Shape getShape()
      Gets the shape defining this polygon.