content: // ===============================================================================
  // Authors: AFRL/RQQD
  // Organization: Air Force Research Laboratory, Aerospace Systems Directorate, Power and Control Division
  // 
  // Copyright (c) 2017 Government of the United State of America, as represented by
  // the Secretary of the Air Force.  No copyright is claimed in the United States under
  // Title 17, U.S. Code.  All Other Rights Reserved.
  // ===============================================================================
  
  /*
   * GRAL: GRAphing Library for Java(R)
   *
   * (C) Copyright 2009-2013 Erich Seifert <dev[at]erichseifert.de>,
   * Michael Seifert <mseifert[at]error-reports.org>
   *
   * This file is part of GRAL.
   *
   * GRAL is free software: you can redistribute it and/or modify
   * it under the terms of the GNU Lesser General Public License as published by
   * the Free Software Foundation, either version 3 of the License, or
   * (at your option) any later version.
   *
   * GRAL is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU Lesser General Public License for more details.
   *
   * You should have received a copy of the GNU Lesser General Public License
   * along with GRAL.  If not, see <http://www.gnu.org/licenses/>.
   */
  package de.erichseifert.gral.plots;
  
  import java.awt.Shape;
  
  import de.erichseifert.gral.graphics.Drawable;
  import de.erichseifert.gral.plots.points.PointData;
  import de.erichseifert.gral.util.PointND;
  
  
  /**
   * Class for storing points of a plot.
   */
  public class DataPoint {
  	/** Axes and data values that were used to create the data point. */
  	public final PointData data;
  	/** Position of the data point (n-dimensional). */
  	public final PointND<Double> position;
  	/** Drawable that will be used to render the data point. */
  	public final Drawable drawable;
  	/** Shape describing the data point. */
  	public final Shape shape;
  	/** Drawable that will be used to render the value label. */
  	public final Drawable labelDrawable;
  
  	/**
  	 * Creates a new {@code DataPoint} object with the specified position,
  	 * {@code Drawable}, and shape.
  	 * @param data Data that this point was created from.
  	 * @param position Coordinates in view/screen units.
  	 * @param drawable Visual representation.
  	 * @param shape Geometric shape of the point.
  	 * @param labelDrawable Visual representation of the value label.
  	 */
  	public DataPoint(PointData data, PointND<Double> position,
  			Drawable drawable, Shape shape, Drawable labelDrawable) {
  		this.data = data;
  		this.position = position;
  		this.drawable = drawable;
  		this.shape = shape;
  		this.labelDrawable = labelDrawable;
  	}
  }
  