Projektteil 2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Koordinaten.java 560B

123456789101112131415161718192021222324252627282930313233343536
  1. package de.edotzlaff.detection.detektion.berechnung.mathObjekte;
  2. public class Koordinaten {
  3. public double x;
  4. public double y;
  5. public double getX() {
  6. return x;
  7. }
  8. public void setX(double x) {
  9. this.x = x;
  10. }
  11. public double getY() {
  12. return y;
  13. }
  14. public void setY(double y) {
  15. this.y = y;
  16. }
  17. public Koordinaten(double x, double y)
  18. {
  19. this.x = x;
  20. this.y = y;
  21. }
  22. public void setLocation(double x, double y)
  23. {
  24. this.x = x;
  25. this.y = y;
  26. }
  27. }