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

Class Vector3D_F32

    • Constructor Detail

      • Vector3D_F32

        public Vector3D_F32(float x,
                            float y,
                            float z)
      • Vector3D_F32

        public Vector3D_F32()
    • Method Detail

      • minus

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

        public Vector3D_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<Vector3D_F32>
        Returns:
        An exact copy of this GeoTuple.
      • cross

        public void cross(Vector3D_F32 a,
                          Vector3D_F32 b)
        In-place cross product operation. this = a cross b
        Parameters:
        a - Vector
        b - Vector
      • toString

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

        public void normalize()
      • dot

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

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