- set(double, double) - Method in class lab1package2.Point2
-
Sets the x-coordinate and y-coordinate of this point to newX
and newY
, respectively.
- set(double, double) - Method in class lab1package2.Vector2
-
Sets the x and y component of the vector.
- setAddress(String) - Method in class lab1package.Student
-
Set the address of student
- setH(int) - Method in class lab1package2.Rectangle
-
- setName(String) - Method in class lab1package3.Attraction
-
- setPrice(double) - Method in class lab1package3.Attraction
-
- setW(int) - Method in class lab1package2.Rectangle
-
- setX(double) - Method in class lab1package2.Point2
-
Sets the x-coordinate of this point to newX
.
- setX(double) - Method in class lab1package2.Vector2
-
Sets the x component of the vector.
- setY(double) - Method in class lab1package2.Point2
-
Sets the y-coordinate of this point to newY
.
- setY(double) - Method in class lab1package2.Vector2
-
Sets the y component of the vector.
- similarTo(Point2, double) - Method in class lab1package2.Point2
-
Determines if two points are almost equal (similar).
- similarTo(Vector2, double) - Method in class lab1package2.Vector2
-
Determines if two vectors are almost equal (similar).
- Student - Class in lab1package
-
- Student(String, String) - Constructor for class lab1package.Student
-
- subtract(Vector2) - Method in class lab1package2.Vector2
-
Subtract a vector from this vector changing the components of this
vector.
- subtract(Vector2, Vector2) - Static method in class lab1package2.Vector2
-
Returns a new Vector2D
equal to a - b
.