FVector3

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.threed.Struct, java.io.Serializable

public final class FVector3 implements Struct<FVector3>, Serializable

متجه float مكوّن من ثلاثة عناصر.

المنشئات

منشئالوصف
FVector3(float x, float y, float z)ينشئ نسخة جديدة من FVector3.
FVector3(Vector3 vec)ينشئ نسخة جديدة من FVector3.
FVector3(Vector4 vec)ينشئ مثيلًا جديدًا من FVector4.
FVector3()

الحقول

حقلالوصف
xالمكوّن x.
yالمكوّن y.
zالمكوّن y.

الطرق

طريقةالوصف
add(FVector3 a, FVector3 b)+ تحميل المشغل
clone()
copyFrom(FVector3 src)
create(FVector3 v)عامل تحويل صريح لتحويل FVector3 إلى Vector3
cross(FVector3 rhs)حاصل الضرب المتقاطع لمتجهين.
equals(Object obj)
getClass()
getOne()متجه مقياس الوحدة حيث جميع المكونات تساوي 1
getZero()متجه الصفر.
hashCode()
mul(FVector3 a, float b)* تحميل المشغل
negative(FVector3 a)- تحميل المشغل
normalize()يقوم بتطبيع هذه الحالة.
notify()
notifyAll()
sub(FVector3 a, FVector3 b)- تحميل المشغل
toString()يرجع سلسلة تمثل FVector3
wait()
wait(long arg0)
wait(long arg0, int arg1)

FVector3(float x, float y, float z)

public FVector3(float x, float y, float z)

ينشئ نسخة جديدة من FVector3.

Parameters:

معاملنوعالوصف
xfloatالمكوّن X للمتجه
yfloatالمكوّن Y للمتجه
zfloatالمكوّن Z للمتجه

FVector3(Vector3 vec)

public FVector3(Vector3 vec)

ينشئ نسخة جديدة من FVector3.

Parameters:

معاملنوعالوصف
vecVector3Vector3 بنوع double

FVector3(Vector4 vec)

public FVector3(Vector4 vec)

ينشئ مثيلًا جديدًا من FVector4.

Parameters:

معاملنوعالوصف
vecVector4Vector4 بنوع double

FVector3()

public FVector3()

x

public float x

المكوّن x.

y

public float y

المكوّن y.

z

public float z

المكوّن y.

add(FVector3 a, FVector3 b)

public static FVector3 add(FVector3 a, FVector3 b)

+ تحميل المشغل

Parameters:

معاملنوعالوصف
aFVector3المتجه الأول
bFVector3المتجه الثاني

Returns: FVector3

clone()

public FVector3 clone()

استنساخ النسخة الحالية

Returns: FVector3

copyFrom(FVector3 src)

public void copyFrom(FVector3 src)

Parameters:

معاملنوعالوصف
srcFVector3

create(FVector3 v)

public static Vector3 create(FVector3 v)

عامل تحويل صريح لتحويل FVector3 إلى Vector3

Parameters:

معاملنوعالوصف
vFVector3Vector3 بنوع float

Returns: Vector3

cross(FVector3 rhs)

public FVector3 cross(FVector3 rhs)

حاصل الضرب المتقاطع لمتجهين.

Parameters:

معاملنوعالوصف
rhsFVector3قيمة الطرف الأيمن.

Returns: FVector3 - Cross product of two FVector3s.

equals(Object obj)

public boolean equals(Object obj)

Parameters:

معاملنوعالوصف
objjava.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getOne()

public static FVector3 getOne()

متجه مقياس الوحدة حيث جميع المكونات تساوي 1

Returns: FVector3 - The unit scale vector with all components are all 1

getZero()

public static FVector3 getZero()

متجه الصفر.

Returns: FVector3 - The Zero vector.

hashCode()

public int hashCode()

Returns: int

mul(FVector3 a, float b)

public static FVector3 mul(FVector3 a, float b)

* تحميل المشغل

Parameters:

معاملنوعالوصف
aFVector3المتجه الأول
bfloatالمتجه الثاني

Returns: FVector3 - The product of two vectors

negative(FVector3 a)

public static FVector3 negative(FVector3 a)

- تحميل المشغل

Parameters:

معاملنوعالوصف
aFVector3متجه الإدخال

Returns: FVector3 - The negative vector

normalize()

public FVector3 normalize()

يقوم بتطبيع هذه الحالة.

Returns: FVector3 - Normalized vector.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

sub(FVector3 a, FVector3 b)

public static FVector3 sub(FVector3 a, FVector3 b)

- تحميل المشغل

Parameters:

معاملنوعالوصف
aFVector3المتجه الأول
bFVector3المتجه الثاني

Returns: FVector3 - The difference of two vectors

toString()

public String toString()

يرجع سلسلة تمثل FVector3

Returns: java.lang.String - تمثيل النص لهذا المتجه.

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

معاملنوعالوصف
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

معاملنوعالوصف
arg0long
arg1int