Package com.aspose.threed
Class FVector2
- java.lang.Object
-
- com.aspose.threed.FVector2
-
- All Implemented Interfaces:
com.aspose.csporter.helpers.Struct<FVector2>
,java.io.Serializable
,java.lang.Cloneable
public final class FVector2 extends java.lang.Object implements com.aspose.csporter.helpers.Struct<FVector2>, java.io.Serializable
A float vector with two components.- See Also:
- Serialized Form
-
-
Method Summary
Modifier and Type Method Description FVector2
clone()
void
copyFrom(FVector2 src)
boolean
equals(FVector2 rhs)
Check if two vectors are equalboolean
equals(java.lang.Object obj)
Check if two vectors are equalint
hashCode()
Gets the hash code of this instancestatic boolean
op_eq(FVector2 a, FVector2 b)
== Operator overloadingstatic boolean
op_ne(FVector2 a, FVector2 b)
!= Operator overloadingstatic FVector2
sub(FVector2 a, FVector2 b)
- Operator overloadingjava.lang.String
toString()
Returns a string that represents theFVector2
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns a string that represents theFVector2
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(FVector2 rhs)
Check if two vectors are equal- Parameters:
rhs
-
-
equals
public boolean equals(java.lang.Object obj)
Check if two vectors are equal- Overrides:
equals
in classjava.lang.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 interfacecom.aspose.csporter.helpers.Struct<FVector2>
- Overrides:
clone
in classjava.lang.Object
-
copyFrom
public void copyFrom(FVector2 src)
- Specified by:
copyFrom
in interfacecom.aspose.csporter.helpers.Struct<FVector2>
-
hashCode
public int hashCode()
Gets the hash code of this instance- Overrides:
hashCode
in classjava.lang.Object
-
-