Package one.empty3.library
Class Point2D
java.lang.Object
one.empty3.library.Point2D
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doubledoublebooleandistanceEntre(Point2D p2a, double d, double e) booleandoubleget(int axe) get3D()doublegetX()doublegetY()inthashCode()mult(double d) doublenorme()norme1()static Point2DdoubleprodScalaire(Point2D v2) voidsetLocation(double x, double y) voidsetX(double x) voidsetY(double y)
-
Field Details
-
x
public double x -
y
public double y
-
-
Constructor Details
-
Point2D
public Point2D() -
Point2D
public Point2D(double x, double y) -
Point2D
-
Point2D
-
-
Method Details
-
dist
-
plus
-
distance
-
distanceEntre
-
prodScalaire
-
prodVect
-
getX
public double getX() -
setX
public void setX(double x) -
getY
public double getY() -
setY
public void setY(double y) -
moins
-
mult
-
norme
public double norme() -
norme1
-
plus
-
setLocation
public void setLocation(double x, double y) -
get3D
-
get
public double get(int axe) -
equals
-
hashCode
public int hashCode()
-