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

Class Vector2D_F32

    • Constructor Detail

      • Vector2D_F32

        public Vector2D_F32(float x,
                            float y)
      • Vector2D_F32

        public Vector2D_F32()
    • Method Detail

      • copy

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

        public void normalize()
      • minus

        public void minus(Point2D_F32 a,
                          Point2D_F32 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 float dot(Vector2D_F32 a)
        Dot product between this and 'a' = this.x * a.x + this.y * a.y
        Parameters:
        a - A vector
        Returns:
        dot product.
      • acute

        public float acute(Vector2D_F32 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.