FVector2

خلاصه ای

FVector2 یک کلاس در Aspose.3D FOSS برای جاوا است. وارثان از: Struct<FVector2>, Serializable, Comparable<FVector2>.

این کلاس 17 روش برای کار با اشیاء FVector2 در برنامه های جاوا را فراهم می کند. روش های موجود شامل: FVector2, add, clone, compareTo, copyFrom, create, equals, hashCode, mul, op_eq, op_ne, sub,، و یک روش اضافی. همه اعضای عمومی پس از نصب بسته Aspose.3D FOSS for Java به هر برنامه جاوا قابل دسترسی هستند.

روش ها

Signatureشرح:
FVector2()در این نمونه FVector2 به F Vector 2 میگه.
FVector2(x: float, y: float)FVector2 ((x, y) را در این نمونه از F Vector 2 صدا می کند.
FVector2(vec: FVector3)FVector2 ((vec) را در این نمونه از F Vector 2 صدا می کند.
FVector2(vec: Vector2)FVector2 ((vec) را در این نمونه از F Vector 2 صدا می کند.
create(v: FVector2)Vector2تماس create(v) در این نمونه FVector2 است.
compareTo(other: FVector2)intتماس با compareTo(other) در این نمونه FVector2 است.
equals(rhs: FVector2)booleanدر این نمونه FVector2 مساوی است.
equals(obj: Object)booleanدر این نمونه FVector2 مساوی است.
hashCode()intبه این نمونه FVector2 هش کد میگه.
toString()Stringبه String در این FVector2 تماس می گیرد.
add(a: FVector2, b: FVector2)FVector2تماس add ((a, b) در این نمونه FVector2 است.
sub(a: FVector2, b: FVector2)FVector2در این نمونه FVector2 sub ((a، b) را فرا می خواند.
mul(a: FVector2, b: float)FVector2در این نمونه FVector2 mul ((a، b) را فرا می خواند.
op_eq(a: FVector2, b: FVector2)booleanدر این نمونه FVector2 op_eq ((a, b) را فرا می خواند.
op_ne(a: FVector2, b: FVector2)booleanدر این نمونه FVector2 op_ne ((a, b) را فرا می خواند.
clone()FVector2در این نمونه FVector2 کلون تماس می گیرد.
copyFrom(src: FVector2)در این نمونه FVector2 copyFrom ((src) را فرا می خواند.

همچنین ببینید:

 فارسی