Documentation of 'georegression.struct.point.Vector2D_F64' Java class
Vector2D_F64
georegression.struct.point

Class Vector2D_F64

    • Constructor Detail

      • Vector2D_F64

        public Vector2D_F64(double x,
                            double y)
      • Vector2D_F64

        public Vector2D_F64()
    • Method Detail

      • copy

        public Vector2D_F64 copy()
        Description copied from class: GeoTuple_F64
        Generic copy routine. It is recommended that this be overridden with a faster implementation.
        Overrides:
        copy in class GeoTuple_F64<Vector2D_F64>
        Returns:
        An exact copy of this GeoTuple.
      • normalize

        public void normalize()
      • minus

        public void minus(Point2D_F64 a,
                          Point2D_F64 b)
        In-place minus operation. this = a - b.
        Parameters:
        a - Point
        b - Point
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • dot

        public double dot(Vector2D_F64 a)
        Dot product between this and 'a' = this.x * a.x + this.y * a.y
        Parameters:
        a - A vector
        Returns:
        dot product.
      • acute

        public double acute(Vector2D_F64 a)
        Returns the acute angle between the two vectors. Computed using the dot product.
        Parameters:
        a - Vector
        Returns:
        Acute angle in radians between 'this' and 'a'.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.