
**All Implemented Interfaces:** com.aspose.ms.System.IEquatable

The OBJ vertex.

## Constructors

| Constructor | Description |
| --- | --- |
| [ObjVertex(float x, float y, float z)](#ObjVertex-float-float-float) | Initializes a new instance of the ObjVertex class. |

## Methods

| Method | Description |
| --- | --- |
| [getX()](#getX) | Gets the x coordinate. |
| [getY()](#getY) | Gets the y coordinate. |
| [getZ()](#getZ) | Gets the z coordinate. |
| [op_Equality(ObjVertex a, ObjVertex b)](#op_Equality-com.aspose.cad.fileformats.obj.vertexdata.ObjVertex-com.aspose.cad.fileformats.obj.vertexdata.ObjVertex) | Overloading the equality operator. |
| [op_Inequality(ObjVertex a, ObjVertex b)](#op_Inequality-com.aspose.cad.fileformats.obj.vertexdata.ObjVertex-com.aspose.cad.fileformats.obj.vertexdata.ObjVertex) | Overloading the inequality operator. |
| [equals(Object obj)](#equals-java.lang.Object) | Indicates whether the current object is equal to another object. |
| [equals(ObjVertex other)](#equals-com.aspose.cad.fileformats.obj.vertexdata.ObjVertex) | Indicates whether the current object is equal to another object of the same type. |
| [hashCode()](#hashCode) | Gets hash code. |

### ObjVertex(float x, float y, float z) {#ObjVertex-float-float-float}
```java
public ObjVertex(float x, float y, float z)
```

Initializes a new instance of the ObjVertex class.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| x | float | The x coordinate. |
| y | float | The y coordinate. |
| z | float | The z coordinate. |

### getX() {#getX}
```java
public final float getX()
```

Gets the x coordinate.

**Returns:** float

### getY() {#getY}
```java
public final float getY()
```

Gets the y coordinate.

**Returns:** float

### getZ() {#getZ}
```java
public final float getZ()
```

Gets the z coordinate.

**Returns:** float

### op_Equality(ObjVertex a, ObjVertex b) {#op_Equality-com.aspose.cad.fileformats.obj.vertexdata.ObjVertex-com.aspose.cad.fileformats.obj.vertexdata.ObjVertex}
```java
public static boolean op_Equality(ObjVertex a, ObjVertex b)
```

Overloading the equality operator.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| a | ObjVertex | The first instance. |
| b | ObjVertex | The second instance. |

**Returns:** boolean - The value indicating whether instances are equal.

### op_Inequality(ObjVertex a, ObjVertex b) {#op_Inequality-com.aspose.cad.fileformats.obj.vertexdata.ObjVertex-com.aspose.cad.fileformats.obj.vertexdata.ObjVertex}
```java
public static boolean op_Inequality(ObjVertex a, ObjVertex b)
```

Overloading the inequality operator.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| a | ObjVertex | The first instance. |
| b | ObjVertex | The second instance. |

**Returns:** boolean - The value indicating whether instances are not equal.

### equals(Object obj) {#equals-java.lang.Object}
```java
public boolean equals(Object obj)
```

Indicates whether the current object is equal to another object.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| obj | Object | An object to compare with this object. |

**Returns:** boolean - true if the current object is equal to the obj parameter; otherwise, false.

### equals(ObjVertex other) {#equals-com.aspose.cad.fileformats.obj.vertexdata.ObjVertex}
```java
public final boolean equals(ObjVertex other)
```

Indicates whether the current object is equal to another object of the same type.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| other | ObjVertex | An object to compare with this object. |

**Returns:** boolean - true if the current object is equal to the other parameter; otherwise, false.

### hashCode() {#hashCode}
```java
public int hashCode()
```

Gets hash code.

**Returns:** int - The int .

