Class ContourPlot.TranslatedPoint2D

java.lang.Object
java.awt.geom.Point2D
gov.nih.mipav.model.algorithms.ContourPlot.TranslatedPoint2D
All Implemented Interfaces:
Cloneable
Enclosing class:
ContourPlot

public class ContourPlot.TranslatedPoint2D extends Point2D
The TranslatedPoint2D is an implementation of Point2D that references another Point2D and has a certain fixed translation from that point. When changing the location of the referenced point, this point will change accordingly.
Author:
hageldave
  • Field Details

    • tx

      public final double tx
    • ty

      public final double ty
    • origin

      public final Point2D origin
  • Constructor Details

    • TranslatedPoint2D

      public TranslatedPoint2D(Point2D origin, double xt, double yt)
      Creates a new ContourPlot.TranslatedPoint2D from the specified point with specified translation.
      Parameters:
      origin - the point from which the created point is translated
      xt - translation in x direction
      yt - translation in y direction
  • Method Details