Skip to main content

Scene3DVector Class

A three-dimensional vector in space.

Declaration

public final class Scene3DVector extends Struct<Scene3DVector> implements IEquatable<Scene3DVector>

Implements

com.devexpress.system.IEquatable<com.devexpress.docs.office.Scene3DVector>

Inherited Members

com.devexpress.system.Struct.equals(java.lang.Object)
com.devexpress.system.Struct.getHashCode()
com.devexpress.system.Struct.hashCode()
java.lang.Object.clone()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.Struct
Scene3DVector

Constructors

Scene3DVector() Constructor

Initializes a new instance of the Scene3DVector class.

Declaration

public Scene3DVector()

Scene3DVector(float x, float y, float z) Constructor

Initializes a new instance of the Scene3DVector class with specified settings.

Declaration

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

Parameters

Name Type Description
x float

The X-coordinate of the 3D vector.

y float

The Y-coordinate of the 3D vector.

z float

The Z coordinate of the 3D vector.

Fields

DEFAULT Field

A default 3D vector with all coordinates set to 0.

Declaration

public static final Scene3DVector DEFAULT

Field Value

Type Description
Scene3DVector

A default 3D vector with all coordinates set to 0.

Methods

equals(Object obj) Method

Determines whether the specified object is equal to the current Scene3DVector object.

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

The object used in comparison with the current Scene3DVector object.

Returns

Type Description
boolean

true if the specified object is equal to the current Scene3DVector object; otherwise, false.

equals(Scene3DVector other) Method

Determines whether the specified 3D vector is equal to this instance.

Declaration

public boolean equals(Scene3DVector other)

Parameters

Name Type Description
other Scene3DVector

The 3D vector to compare with this instance.

Returns

Type Description
boolean

true if the specified 3D vector is equal to this instance; otherwise, false.

getX() Method

Returns the X-coordinate of the 3D vector.

Declaration

public float getX()

Returns

Type Description
float

The X-coordinate of the 3D vector.

getY() Method

Returns the Y-coordinate of the 3D vector.

Declaration

public float getY()

Returns

Type Description
float

The Y-coordinate of the 3D vector.

getZ() Method

Returns the Z coordinate of the 3D vector.

Declaration

public float getZ()

Returns

Type Description
float

The Z coordinate of the 3D vector.

hashCode() Method

Returns a hash code value for this 3D vector.

Declaration

public int hashCode()

Returns

Type Description
int

A hash code value for this 3D vector.