FVector3
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.threed.Struct, java.io.Serializable
public final class FVector3 implements Struct<FVector3>, Serializable
Üç bileşenli bir float vektör.
Yapıcılar
| Yapıcı | Açıklama |
|---|---|
| FVector3(float x, float y, float z) | Yeni bir FVector3 örneği başlatır. |
| FVector3(Vector3 vec) | Yeni bir FVector3 örneği başlatır. |
| FVector3(Vector4 vec) | Yeni bir FVector4 örneği başlatır. |
| FVector3() |
Alanlar
| Alan | Açıklama |
|---|---|
| x | x bileşeni. |
| y | y bileşeni. |
| z | y bileşeni. |
Yöntemler
| Yöntem | Açıklama |
|---|---|
| add(FVector3 a, FVector3 b) | + Operatör aşırı yükleme |
| clone() | |
| copyFrom(FVector3 src) | |
| create(FVector3 v) | FVector3’ü Vector3’e dönüştürmek için açık dönüşüm operatörü |
| cross(FVector3 rhs) | İki vektörün çapraz çarpımı |
| equals(Object obj) | |
| getClass() | |
| getOne() | Tüm bileşenleri 1 olan birim ölçek vektörü |
| getZero() | Sıfır vektör. |
| hashCode() | |
| mul(FVector3 a, float b) | * Operatör aşırı yükleme |
| negative(FVector3 a) | - Operatör aşırı yükleme |
| normalize() | Bu örneği normallaştırır. |
| notify() | |
| notifyAll() | |
| sub(FVector3 a, FVector3 b) | - Operatör aşırı yükleme |
| toString() | Bir dize döndürür; bu dize FVector3 öğesini temsil eder. |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
FVector3(float x, float y, float z)
public FVector3(float x, float y, float z)
Yeni bir FVector3 örneği başlatır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| x | float | Vektörün X bileşeni |
| y | float | Vektörün Y bileşeni |
| z | float | Vektörün Z bileşeni |
FVector3(Vector3 vec)
public FVector3(Vector3 vec)
Yeni bir FVector3 örneği başlatır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| vec | Vector3 | Vector3 çift tipinde |
FVector3(Vector4 vec)
public FVector3(Vector4 vec)
Yeni bir FVector4 örneği başlatır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| vec | Vector4 | Vector4 çift tipinde |
FVector3()
public FVector3()
x
public float x
x bileşeni.
y
public float y
y bileşeni.
z
public float z
y bileşeni.
add(FVector3 a, FVector3 b)
public static FVector3 add(FVector3 a, FVector3 b)
+ Operatör aşırı yükleme
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| a | FVector3 | İlk vektör |
| b | FVector3 | İkinci vektör |
Returns: FVector3
clone()
public FVector3 clone()
Mevcut örneği kopyala
Returns: FVector3
copyFrom(FVector3 src)
public void copyFrom(FVector3 src)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| src | FVector3 |
create(FVector3 v)
public static Vector3 create(FVector3 v)
FVector3’ü Vector3’e dönüştürmek için açık dönüşüm operatörü
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| v | FVector3 | Vector3 float tipinde |
Returns: Vector3
cross(FVector3 rhs)
public FVector3 cross(FVector3 rhs)
İki vektörün çapraz çarpımı
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| rhs | FVector3 | Sağ taraf değeri. |
Returns: FVector3 - Cross product of two FVector3s.
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getOne()
public static FVector3 getOne()
Tüm bileşenleri 1 olan birim ölçek vektörü
Returns: FVector3 - The unit scale vector with all components are all 1
getZero()
public static FVector3 getZero()
Sıfır vektör.
Returns: FVector3 - The Zero vector.
hashCode()
public int hashCode()
Returns: int
mul(FVector3 a, float b)
public static FVector3 mul(FVector3 a, float b)
* Operatör aşırı yükleme
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| a | FVector3 | İlk vektör |
| b | float | İkinci vektör |
Returns: FVector3 - The product of two vectors
negative(FVector3 a)
public static FVector3 negative(FVector3 a)
- Operatör aşırı yükleme
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| a | FVector3 | Giriş vektörü |
Returns: FVector3 - The negative vector
normalize()
public FVector3 normalize()
Bu örneği normallaştırır.
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)
- Operatör aşırı yükleme
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| a | FVector3 | İlk vektör |
| b | FVector3 | İkinci vektör |
Returns: FVector3 - The difference of two vectors
toString()
public String toString()
Bir dize döndürür; bu dize FVector3 öğesini temsil eder.
Returns: java.lang.String - Bu vektörün dize temsili.
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long | |
| arg1 | int |