Uses of Class
edu.ntnu.stud.chaosgame.model.data.Vector2D
Packages that use Vector2D
Package
Description
-
Uses of Vector2D in edu.ntnu.stud.chaosgame.controller.game
Fields in edu.ntnu.stud.chaosgame.controller.game declared as Vector2DModifier and TypeFieldDescriptionprivate Vector2D
ChaosGame.currentPoint
The current point in the chaos game.Methods in edu.ntnu.stud.chaosgame.controller.game that return Vector2DModifier and TypeMethodDescriptionChaosGame.findValidPoint
(Vector2D point) If the point is out of bounds, iterate until it is within bounds.ChaosGame.getCurrentPoint()
Get the current point in the chaos game.Methods in edu.ntnu.stud.chaosgame.controller.game with parameters of type Vector2DModifier and TypeMethodDescriptionChaosGame.findValidPoint
(Vector2D point) If the point is out of bounds, iterate until it is within bounds. -
Uses of Vector2D in edu.ntnu.stud.chaosgame.model.data
Subclasses of Vector2D in edu.ntnu.stud.chaosgame.model.dataMethods in edu.ntnu.stud.chaosgame.model.data that return Vector2DModifier and TypeMethodDescriptionAdd another vector to this vector.Multiply the matrix by a vector., i.e.Subtract another vector from this vector.Methods in edu.ntnu.stud.chaosgame.model.data with parameters of type Vector2D -
Uses of Vector2D in edu.ntnu.stud.chaosgame.model.game
Fields in edu.ntnu.stud.chaosgame.model.game declared as Vector2DModifier and TypeFieldDescriptionprivate final Vector2D
ChaosCanvas.maxCoords
The maximum coordinates of the canvas.private final Vector2D
ChaosGameDescription.maxCoords
The maximum coordinates.private final Vector2D
ChaosCanvas.minCoords
The minimum coordinates of the canvas.private final Vector2D
ChaosGameDescription.minCoords
The minimum coordinates.Methods in edu.ntnu.stud.chaosgame.model.game that return Vector2DModifier and TypeMethodDescriptionChaosCanvas.getMaxCoords()
Get the vector storing the maximum coordinates.ChaosGameDescription.getMaxCoords()
Getter method for maximum coordinates.ChaosCanvas.getMinCoords()
Get the vector storing the minimum coordinates.ChaosGameDescription.getMinCoords()
Getter method for minimum coordinates.Methods in edu.ntnu.stud.chaosgame.model.game with parameters of type Vector2DModifier and TypeMethodDescriptionint
ChaosCanvas.getIntensityPixel
(Vector2D point) Get the intensity of a pixel located at a point.int
Get a pixel located at a point.boolean
ChaosCanvas.isPointInCanvasRange
(Vector2D point) Checks whether a given point is within the current subsection of the coordinate space.void
Place a pixel on the canvas.Constructors in edu.ntnu.stud.chaosgame.model.game with parameters of type Vector2DModifierConstructorDescriptionChaosCanvas
(int width, int height, Vector2D minCoords, Vector2D maxCoords) Parameterized constructor for the class.ChaosGameDescription
(Vector2D minCoords, Vector2D maxCoords, List<Transform2D> transforms) Constructor for ChaosGameDescription.ChaosGameDescription
(Vector2D minCoords, Vector2D maxCoords, List<Transform2D> transforms, String name) Parameterised constructor for ChaosGameDescription with name. -
Uses of Vector2D in edu.ntnu.stud.chaosgame.model.transformations
Fields in edu.ntnu.stud.chaosgame.model.transformations declared as Vector2DModifier and TypeFieldDescriptionprivate Vector2D
AffineTransform2D.vector
The vectorVector2D
which is added as part of the affine transformation.Methods in edu.ntnu.stud.chaosgame.model.transformations that return Vector2DModifier and TypeMethodDescriptionAffineTransform2D.getVector()
Getter method to use withChaosGameFileHandler
.Performs a Julia-transformation on a point defined by the vector point.abstract Vector2D
Abstract method defining transformation in a 2D-plane.Methods in edu.ntnu.stud.chaosgame.model.transformations with parameters of type Vector2DModifier and TypeMethodDescriptionPerforms a Julia-transformation on a point defined by the vector point.abstract Vector2D
Abstract method defining transformation in a 2D-plane.Constructors in edu.ntnu.stud.chaosgame.model.transformations with parameters of type Vector2DModifierConstructorDescriptionAffineTransform2D
(Matrix2x2 inputMatrix, Vector2D inputVector) Create a type of affine transformation.