com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class FVector2

    • Field Detail

      • x

        public float x
        The x component.
      • y

        public float y
        The y component.
    • Constructor Detail

      • FVector2

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

        public FVector2(Vector2 vec)
        Initializes a new instance of the FVector2.
      • FVector2

        public FVector2()
    • Method Detail

      • equals

        public boolean equals(FVector2 rhs)
        Check if two vectors are equal
        Parameters:
        rhs -
      • equals

        public boolean equals(Object obj)
        Check if two vectors are equal
        Overrides:
        equals in class Object
        Parameters:
        obj -
      • op_eq

        public static boolean op_eq(FVector2 a,
                                    FVector2 b)
        == Operator overloading
        Parameters:
        a -
        b -
      • op_ne

        public static boolean op_ne(FVector2 a,
                                    FVector2 b)
        != Operator overloading
        Parameters:
        a -
        b -
      • clone

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

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

        public int hashCode()
        Gets the hash code of this instance
        Overrides:
        hashCode in class Object