FVector3

Inheritance: java.lang.Object

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

public final class FVector3 implements Struct<FVector3>, Serializable

Un vecteur flottant à trois composants.

Constructeurs

ConstructeurDescription
FVector3(float x, float y, float z)Initialise une nouvelle instance de FVector3.
FVector3(Vector3 vec)Initialise une nouvelle instance de FVector3.
FVector3(Vector4 vec)Initialise une nouvelle instance de FVector4.
FVector3()

Champs

ChampDescription
xLe composant x.
yLe composant y.
zLe composant y.

Méthodes

MéthodeDescription
add(FVector3 a, FVector3 b)+ Surcharge d’opérateur
clone()
copyFrom(FVector3 src)
create(FVector3 v)Opérateur de conversion explicite pour convertir FVector3 en Vector3
cross(FVector3 rhs)Produit vectoriel de deux vecteurs.
equals(Object obj)
getClass()
getOne()Le vecteur d’échelle unité avec tous les composants égaux à 1
getZero()Le vecteur zéro.
hashCode()
mul(FVector3 a, float b)* Surcharge d’opérateur
negative(FVector3 a)- Surcharge d’opérateur
normalize()Normalise cette instance.
notify()
notifyAll()
sub(FVector3 a, FVector3 b)- Surcharge d’opérateur
toString()Renvoie une chaîne qui représente le 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)

Initialise une nouvelle instance de FVector3.

Parameters:

ParamètreTypeDescription
xfloatComposante X du vecteur
yfloatComposante Y du vecteur
zfloatComposante Z du vecteur

FVector3(Vector3 vec)

public FVector3(Vector3 vec)

Initialise une nouvelle instance de FVector3.

Parameters:

ParamètreTypeDescription
vecVector3Vector3 en type double

FVector3(Vector4 vec)

public FVector3(Vector4 vec)

Initialise une nouvelle instance de FVector4.

Parameters:

ParamètreTypeDescription
vecVector4Vector4 en type double

FVector3()

public FVector3()

x

public float x

Le composant x.

y

public float y

Le composant y.

z

public float z

Le composant y.

add(FVector3 a, FVector3 b)

public static FVector3 add(FVector3 a, FVector3 b)

+ Surcharge d’opérateur

Parameters:

ParamètreTypeDescription
aFVector3Premier vecteur
bFVector3Deuxième vecteur

Returns: FVector3

clone()

public FVector3 clone()

Cloner l’instance actuelle

Returns: FVector3

copyFrom(FVector3 src)

public void copyFrom(FVector3 src)

Parameters:

ParamètreTypeDescription
srcFVector3

create(FVector3 v)

public static Vector3 create(FVector3 v)

Opérateur de conversion explicite pour convertir FVector3 en Vector3

Parameters:

ParamètreTypeDescription
vFVector3Vector3 en type float

Returns: Vector3

cross(FVector3 rhs)

public FVector3 cross(FVector3 rhs)

Produit vectoriel de deux vecteurs.

Parameters:

ParamètreTypeDescription
rhsFVector3Valeur du côté droit.

Returns: FVector3 - Cross product of two FVector3s.

equals(Object obj)

public boolean equals(Object obj)

Parameters:

ParamètreTypeDescription
objjava.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getOne()

public static FVector3 getOne()

Le vecteur d’échelle unité avec tous les composants égaux à 1

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

getZero()

public static FVector3 getZero()

Le vecteur zéro.

Returns: FVector3 - The Zero vector.

hashCode()

public int hashCode()

Returns: int

mul(FVector3 a, float b)

public static FVector3 mul(FVector3 a, float b)

* Surcharge d’opérateur

Parameters:

ParamètreTypeDescription
aFVector3Premier vecteur
bfloatDeuxième vecteur

Returns: FVector3 - The product of two vectors

negative(FVector3 a)

public static FVector3 negative(FVector3 a)

- Surcharge d’opérateur

Parameters:

ParamètreTypeDescription
aFVector3Vecteur d’entrée

Returns: FVector3 - The negative vector

normalize()

public FVector3 normalize()

Normalise cette instance.

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)

- Surcharge d’opérateur

Parameters:

ParamètreTypeDescription
aFVector3Premier vecteur
bFVector3Deuxième vecteur

Returns: FVector3 - The difference of two vectors

toString()

public String toString()

Renvoie une chaîne qui représente le FVector3

Returns: java.lang.String - Représentation sous forme de chaîne de ce vecteur.

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParamètreTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParamètreTypeDescription
arg0long
arg1int