Class Point2D

java.lang.Object
net.finmath.plots.Point2D

public class Point2D extends Object
Class representing a point in F^2 where F is the set of double floating point numbers.
Author:
Christian Fries
  • Constructor Summary

    Constructors
    Constructor
    Description
    Point2D​(double x, double y)
    Create object representing a point in F^2 where F is the set of double floating point numbers.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the x value of (x,y).
    double
    Returns the y value of (x,y).

    Methods inherited from class java.lang.Object

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

    • Point2D

      public Point2D(double x, double y)
      Create object representing a point in F^2 where F is the set of double floating point numbers.
      Parameters:
      x - The x value of (x,y).
      y - The y value of (x,y).
  • Method Details

    • getX

      public double getX()
      Returns the x value of (x,y).
      Returns:
      the x value of (x,y).
    • getY

      public double getY()
      Returns the y value of (x,y).
      Returns:
      the y value of (x,y).