test_class.declarator: first
test_class.modifier: private static
test_class.original_string: private static Vector2D first;
test_class.type: Vector2D
test_class.var_name: first
test_class.declarator: second
test_class.modifier: private static
test_class.original_string: private static Vector2D second;
test_class.type: Vector2D
test_class.var_name: second
test_class.declarator: scalar
test_class.modifier: private static
test_class.original_string: private static double scalar;
test_class.type: double
test_class.var_name: scalar
test_class.file: singa-mathematics/src/test/java/bio/singa/mathematics/vectors/Vector2DTest.java
test_class.identifier: Vector2DTest
test_case.body: @Test
      void testDivisionWithScalarCalculation() {
          Vector2D actual = first.divide(scalar);
          assertArrayEquals(new double[]{5.0, 10.0}, actual.getElements());
      }
test_case.class_method_signature: Vector2DTest.testDivisionWithScalarCalculation()
test_case.full_signature: @Test void testDivisionWithScalarCalculation()
test_case.identifier: testDivisionWithScalarCalculation
test_case.invocations: divide assertArrayEquals getElements
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDivisionWithScalarCalculation()
focal_class.declarator: X_INDEX = 0
focal_class.modifier: public static final
focal_class.original_string: public static final int X_INDEX = 0;
focal_class.type: int
focal_class.var_name: X_INDEX
focal_class.declarator: Y_INDEX = 1
focal_class.modifier: public static final
focal_class.original_string: public static final int Y_INDEX = 1;
focal_class.type: int
focal_class.var_name: Y_INDEX
focal_class.declarator: UNIT_VECTOR_UP = new Vector2D(0, -1)
focal_class.modifier: public static final
focal_class.original_string: public static final Vector2D UNIT_VECTOR_UP = new Vector2D(0, -1);
focal_class.type: Vector2D
focal_class.var_name: UNIT_VECTOR_UP
focal_class.declarator: UNIT_VECTOR_DOWN = new Vector2D(0, 1)
focal_class.modifier: public static final
focal_class.original_string: public static final Vector2D UNIT_VECTOR_DOWN = new Vector2D(0, 1);
focal_class.type: Vector2D
focal_class.var_name: UNIT_VECTOR_DOWN
focal_class.declarator: UNIT_VECTOR_RIGHT = new Vector2D(1, 0)
focal_class.modifier: public static final
focal_class.original_string: public static final Vector2D UNIT_VECTOR_RIGHT = new Vector2D(1, 0);
focal_class.type: Vector2D
focal_class.var_name: UNIT_VECTOR_RIGHT
focal_class.declarator: UNIT_VECTOR_LEFT = new Vector2D(-1, 0)
focal_class.modifier: public static final
focal_class.original_string: public static final Vector2D UNIT_VECTOR_LEFT = new Vector2D(-1, 0);
focal_class.type: Vector2D
focal_class.var_name: UNIT_VECTOR_LEFT
focal_class.declarator: ZERO = new Vector2D(0, 0)
focal_class.modifier: public static final
focal_class.original_string: public static final Vector2D ZERO = new Vector2D(0, 0);
focal_class.type: Vector2D
focal_class.var_name: ZERO
focal_class.file: singa-mathematics/src/main/java/bio/singa/mathematics/vectors/Vector2D.java
focal_class.identifier: Vector2D
focal_class.class_method_signature: Vector2D.Vector2D(double[] elements)
focal_class.full_signature: public  Vector2D(double[] elements)
focal_class.identifier: Vector2D
focal_class.modifiers: public
focal_class.parameters: (double[] elements)
focal_class.signature:  Vector2D(double[] elements)
focal_class.class_method_signature: Vector2D.Vector2D(double x, double y)
focal_class.full_signature: public  Vector2D(double x, double y)
focal_class.identifier: Vector2D
focal_class.modifiers: public
focal_class.parameters: (double x, double y)
focal_class.signature:  Vector2D(double x, double y)
focal_class.class_method_signature: Vector2D.Vector2D()
focal_class.full_signature: public  Vector2D()
focal_class.identifier: Vector2D
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Vector2D()
focal_class.class_method_signature: Vector2D.isVector2D(Vector vector)
focal_class.full_signature: public static boolean isVector2D(Vector vector)
focal_class.identifier: isVector2D
focal_class.modifiers: public static
focal_class.parameters: (Vector vector)
focal_class.return: boolean
focal_class.signature: boolean isVector2D(Vector vector)
focal_class.class_method_signature: Vector2D.getX()
focal_class.full_signature: public double getX()
focal_class.identifier: getX
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getX()
focal_class.class_method_signature: Vector2D.getY()
focal_class.full_signature: public double getY()
focal_class.identifier: getY
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getY()
focal_class.class_method_signature: Vector2D.additivelyInvert()
focal_class.full_signature: @Override public Vector2D additivelyInvert()
focal_class.identifier: additivelyInvert
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Vector2D
focal_class.signature: Vector2D additivelyInvert()
focal_class.class_method_signature: Vector2D.invertX()
focal_class.full_signature: public Vector2D invertX()
focal_class.identifier: invertX
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Vector2D
focal_class.signature: Vector2D invertX()
focal_class.class_method_signature: Vector2D.invertY()
focal_class.full_signature: public Vector2D invertY()
focal_class.identifier: invertY
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Vector2D
focal_class.signature: Vector2D invertY()
focal_class.class_method_signature: Vector2D.add(Vector2D vector)
focal_class.full_signature: public Vector2D add(Vector2D vector)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector)
focal_class.return: Vector2D
focal_class.signature: Vector2D add(Vector2D vector)
focal_class.class_method_signature: Vector2D.subtract(Vector2D vector)
focal_class.full_signature: public Vector2D subtract(Vector2D vector)
focal_class.identifier: subtract
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector)
focal_class.return: Vector2D
focal_class.signature: Vector2D subtract(Vector2D vector)
focal_class.class_method_signature: Vector2D.multiply(Vector2D vector)
focal_class.full_signature: public Vector2D multiply(Vector2D vector)
focal_class.identifier: multiply
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector)
focal_class.return: Vector2D
focal_class.signature: Vector2D multiply(Vector2D vector)
focal_class.class_method_signature: Vector2D.multiply(double scalar)
focal_class.full_signature: @Override public Vector2D multiply(double scalar)
focal_class.identifier: multiply
focal_class.modifiers: @Override public
focal_class.parameters: (double scalar)
focal_class.return: Vector2D
focal_class.signature: Vector2D multiply(double scalar)
focal_class.class_method_signature: Vector2D.divide(Vector2D vector)
focal_class.full_signature: public Vector2D divide(Vector2D vector)
focal_class.identifier: divide
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector)
focal_class.return: Vector2D
focal_class.signature: Vector2D divide(Vector2D vector)
focal_class.class_method_signature: Vector2D.divide(double scalar)
focal_class.full_signature: @Override public Vector2D divide(double scalar)
focal_class.identifier: divide
focal_class.modifiers: @Override public
focal_class.parameters: (double scalar)
focal_class.return: Vector2D
focal_class.signature: Vector2D divide(double scalar)
focal_class.class_method_signature: Vector2D.normalize()
focal_class.full_signature: @Override public Vector2D normalize()
focal_class.identifier: normalize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Vector2D
focal_class.signature: Vector2D normalize()
focal_class.class_method_signature: Vector2D.dotProduct(Vector2D vector)
focal_class.full_signature: public double dotProduct(Vector2D vector)
focal_class.identifier: dotProduct
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector)
focal_class.return: double
focal_class.signature: double dotProduct(Vector2D vector)
focal_class.class_method_signature: Vector2D.angleTo(Vector2D vector)
focal_class.full_signature: public double angleTo(Vector2D vector)
focal_class.identifier: angleTo
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector)
focal_class.return: double
focal_class.signature: double angleTo(Vector2D vector)
focal_class.class_method_signature: Vector2D.angleTo(Vector2D origin, Vector2D target)
focal_class.full_signature: public double angleTo(Vector2D origin, Vector2D target)
focal_class.identifier: angleTo
focal_class.modifiers: public
focal_class.parameters: (Vector2D origin, Vector2D target)
focal_class.return: double
focal_class.signature: double angleTo(Vector2D origin, Vector2D target)
focal_class.class_method_signature: Vector2D.getMidpointTo(Vector2D vector)
focal_class.full_signature: public Vector2D getMidpointTo(Vector2D vector)
focal_class.identifier: getMidpointTo
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector)
focal_class.return: Vector2D
focal_class.signature: Vector2D getMidpointTo(Vector2D vector)
focal_class.class_method_signature: Vector2D.rotate(Vector2D centreOfRotation, double angle)
focal_class.full_signature: public Vector2D rotate(Vector2D centreOfRotation, double angle)
focal_class.identifier: rotate
focal_class.modifiers: public
focal_class.parameters: (Vector2D centreOfRotation, double angle)
focal_class.return: Vector2D
focal_class.signature: Vector2D rotate(Vector2D centreOfRotation, double angle)
focal_class.class_method_signature: Vector2D.isNearVector(Vector2D vector, double radius)
focal_class.full_signature: public boolean isNearVector(Vector2D vector, double radius)
focal_class.identifier: isNearVector
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector, double radius)
focal_class.return: boolean
focal_class.signature: boolean isNearVector(Vector2D vector, double radius)
focal_class.class_method_signature: Vector2D.isInside(Polygon polygon)
focal_class.full_signature: public boolean isInside(Polygon polygon)
focal_class.identifier: isInside
focal_class.modifiers: public
focal_class.parameters: (Polygon polygon)
focal_class.return: boolean
focal_class.signature: boolean isInside(Polygon polygon)
focal_class.class_method_signature: Vector2D.isAbove(Vector2D vector)
focal_class.full_signature: public boolean isAbove(Vector2D vector)
focal_class.identifier: isAbove
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector)
focal_class.return: boolean
focal_class.signature: boolean isAbove(Vector2D vector)
focal_class.class_method_signature: Vector2D.isBelow(Vector2D vector)
focal_class.full_signature: public boolean isBelow(Vector2D vector)
focal_class.identifier: isBelow
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector)
focal_class.return: boolean
focal_class.signature: boolean isBelow(Vector2D vector)
focal_class.class_method_signature: Vector2D.isLeftOf(Vector2D vector2D)
focal_class.full_signature: public boolean isLeftOf(Vector2D vector2D)
focal_class.identifier: isLeftOf
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector2D)
focal_class.return: boolean
focal_class.signature: boolean isLeftOf(Vector2D vector2D)
focal_class.class_method_signature: Vector2D.isRightOf(Vector2D vector2D)
focal_class.full_signature: public boolean isRightOf(Vector2D vector2D)
focal_class.identifier: isRightOf
focal_class.modifiers: public
focal_class.parameters: (Vector2D vector2D)
focal_class.return: boolean
focal_class.signature: boolean isRightOf(Vector2D vector2D)
focal_class.class_method_signature: Vector2D.valueOfXIsBetween(double origin, double boundary)
focal_class.full_signature: public boolean valueOfXIsBetween(double origin, double boundary)
focal_class.identifier: valueOfXIsBetween
focal_class.modifiers: public
focal_class.parameters: (double origin, double boundary)
focal_class.return: boolean
focal_class.signature: boolean valueOfXIsBetween(double origin, double boundary)
focal_class.class_method_signature: Vector2D.valueOfYIsBetween(double origin, double boundary)
focal_class.full_signature: private boolean valueOfYIsBetween(double origin, double boundary)
focal_class.identifier: valueOfYIsBetween
focal_class.modifiers: private
focal_class.parameters: (double origin, double boundary)
focal_class.return: boolean
focal_class.signature: boolean valueOfYIsBetween(double origin, double boundary)
focal_class.class_method_signature: Vector2D.isSimilarTo(Vector2D other, double similarity)
focal_class.full_signature: public boolean isSimilarTo(Vector2D other, double similarity)
focal_class.identifier: isSimilarTo
focal_class.modifiers: public
focal_class.parameters: (Vector2D other, double similarity)
focal_class.return: boolean
focal_class.signature: boolean isSimilarTo(Vector2D other, double similarity)
focal_class.superclass: extends RegularVector
focal_method.body: public Vector2D divide(Vector2D vector) {
          return new Vector2D(getX() / vector.getX(), getY() / vector.getY());
      }
focal_method.class_method_signature: Vector2D.divide(Vector2D vector)
focal_method.full_signature: public Vector2D divide(Vector2D vector)
focal_method.identifier: divide
focal_method.invocations: getX getX getY getY
focal_method.modifiers: public
focal_method.parameters: (Vector2D vector)
focal_method.return: Vector2D
focal_method.signature: Vector2D divide(Vector2D vector)