com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class FVector3

    • Field Detail

      • ZERO

        public static final FVector3 ZERO
        The Zero vector.
      • UNIT_SCALE

        public static final FVector3 UNIT_SCALE
        The unit scale vector with all components are all 1
      • x

        public float x
        The x component.
      • y

        public float y
        The y component.
      • z

        public float z
        The y component.
    • Constructor Detail

      • FVector3

        public FVector3(float x,
                        float y,
                        float z)
        Initializes a new instance of the FVector3.
      • FVector3

        public FVector3(Vector3 vec)
        Initializes a new instance of the FVector3.
      • FVector3

        public FVector3(Vector4 vec)
        Initializes a new instance of the FVector4.
      • FVector3

        public FVector3()
    • Method Detail

      • normalize

        public FVector3 normalize()
        Normalizes this instance.
        Returns:
        Normalized vector.
      • cross

        public FVector3 cross(FVector3 rhs)
        Cross product of two vectors
        Parameters:
        rhs - Right hand side value.
        Returns:
        Cross product of two FVector3s.
      • negative

        public static FVector3 negative(FVector3 a)
        - Operator overloading
        Parameters:
        a -
      • mul

        public static FVector3 mul(FVector3 a,
                                   float b)
        * Operator overloading
        Parameters:
        a -
        b -
      • clone

        public FVector3 clone()
        Specified by:
        clone in interface com.aspose.threed.Struct<FVector3>
        Overrides:
        clone in class Object
      • copyFrom

        public void copyFrom(FVector3 src)
        Specified by:
        copyFrom in interface com.aspose.threed.Struct<FVector3>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object