Class XYZDataPoint

java.lang.Object
com.compomics.util.XYZDataPoint

public class XYZDataPoint extends Object
Object that stores data about one data point in an XYZ plot.
Author:
Harald Barsnes
  • Constructor Summary

    Constructors
    Constructor
    Description
    Empty default constructor
    XYZDataPoint(double x, double y, double z)
    Create a new XYZDataPoint.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the x value.
    double
    Returns the y value.
    double
    Returns the z value.
    void
    setX(double x)
    Sets the x value.
    void
    setY(double y)
    Sets the y value.
    void
    setZ(double z)
    Sets the z value.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XYZDataPoint

      public XYZDataPoint()
      Empty default constructor
    • XYZDataPoint

      public XYZDataPoint(double x, double y, double z)
      Create a new XYZDataPoint.
      Parameters:
      x - the x value
      y - the y value
      z - the z value
  • Method Details

    • getX

      public double getX()
      Returns the x value.
      Returns:
      the x
    • setX

      public void setX(double x)
      Sets the x value.
      Parameters:
      x - the x to set
    • getY

      public double getY()
      Returns the y value.
      Returns:
      the y
    • setY

      public void setY(double y)
      Sets the y value.
      Parameters:
      y - the y to set
    • getZ

      public double getZ()
      Returns the z value.
      Returns:
      the z
    • setZ

      public void setZ(double z)
      Sets the z value.
      Parameters:
      z - the z to set