X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fmodel%2Fcomponents%2FOrientationCalculator.java;h=06621bafa0b459518841af46742a914b60887f94;hb=8bed58cd47f4e53a0a83e066d38864aa6875502f;hp=f16eaa9b79dc2b0c6047c5e7ac939ff10380dd9f;hpb=21ffb2a7f764069fb3c55b71647b43e8803e668c;p=Mograsim.git diff --git a/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/OrientationCalculator.java b/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/OrientationCalculator.java index f16eaa9b..06621baf 100644 --- a/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/OrientationCalculator.java +++ b/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/OrientationCalculator.java @@ -1,13 +1,13 @@ package net.mograsim.logic.model.model.components; /** - * This class simplifies the calculation of coordinates, especially for GUI components. + * This class simplifies the calculation of coordinates, especially for model components. *

* Supply it with the original width and height and an orientation, and use the methods {@link #newX(double, double)} and * {@link #newY(double, double)} to retrieve the new coordinates, relative to the upper left corner of {@link Orientation#RIGHT}. The * {@link #height()} and {@link #width()} methods return the width and height in the new orientation. *

- * This is meant to be used in the context of a a classic display coordinate system, as done in the {@link GUIComponent}s. + * This is meant to be used in the context of a a classic display coordinate system, as done in the {@link ModelComponent}s. * * @see Orientation * @author Christian Femers