## Vertex class

  Vertex reference, used to access the raw vertex in TriMesh.  @hideconstructor


## Methods

### compareTo{#compareTo}

| Name | Description |
| --- | --- |
| compareTo(other) | Compare the vertex with another vertex instance | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
|  othe | Vertex | null |

 **Result:**
Number


---


### readVector4{#readVector4}

| Name | Description |
| --- | --- |
| readVector4(field) | Read the vector4 field | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| field | VertexField | The field with a Vector4/FVector4 data type |

 **Result:**
Vector4


---


### readFVector4{#readFVector4}

| Name | Description |
| --- | --- |
| readFVector4(field) | Read the vector4 field | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| field | VertexField | The field with a Vector4/FVector4 data type |

 **Result:**
FVector4


---


### readVector3{#readVector3}

| Name | Description |
| --- | --- |
| readVector3(field) | Read the vector3 field | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| field | VertexField | The field with a Vector3/FVector3 data type |

 **Result:**
Vector3


---


### readFVector3{#readFVector3}

| Name | Description |
| --- | --- |
| readFVector3(field) | Read the vector3 field | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| field | VertexField | The field with a Vector3/FVector3 data type |

 **Result:**
FVector3


---


### readVector2{#readVector2}

| Name | Description |
| --- | --- |
| readVector2(field) | Read the vector2 field | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| field | VertexField | The field with a Vector2/FVector2 data type |

 **Result:**
Vector2


---


### readFVector2{#readFVector2}

| Name | Description |
| --- | --- |
| readFVector2(field) | Read the vector2 field | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| field | VertexField | The field with a Vector2/FVector2 data type |

 **Result:**
FVector2


---


### readDouble{#readDouble}

| Name | Description |
| --- | --- |
| readDouble(field) | Read the double field | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| field | VertexField | The field with a float/double compatible data type |

 **Result:**
Number


---


### readFloat{#readFloat}

| Name | Description |
| --- | --- |
| readFloat(field) | Read the float field | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| field | VertexField | The field with a float/double compatible data type |

 **Result:**
Number


---



