
Triangular facet of the surface.

## Constructors

| Constructor | Description |
| --- | --- |
| [TriangularFacet()](#TriangularFacet) |  |

## Methods

| Method | Description |
| --- | --- |
| [getNormal()](#getNormal) | Gets or sets the surface normal to the triangular facet. |
| [setNormal(NormalDataUnit value)](#setNormal-com.aspose.cad.fileformats.stl.stllibrary.core.models.NormalDataUnit) | Gets or sets the surface normal to the triangular facet. |
| [getVertex1()](#getVertex1) | Gets or sets the coordinates of the first vertex. |
| [setVertex1(VertexDataUnit value)](#setVertex1-com.aspose.cad.fileformats.stl.stllibrary.core.models.VertexDataUnit) | Gets or sets the coordinates of the first vertex. |
| [getVertex2()](#getVertex2) | Gets or sets the coordinates of the second vertex. |
| [setVertex2(VertexDataUnit value)](#setVertex2-com.aspose.cad.fileformats.stl.stllibrary.core.models.VertexDataUnit) | Gets or sets the coordinates of the second vertex. |
| [getVertex3()](#getVertex3) | Gets or sets the coordinates of the third vertex. |
| [setVertex3(VertexDataUnit value)](#setVertex3-com.aspose.cad.fileformats.stl.stllibrary.core.models.VertexDataUnit) | Gets or sets the coordinates of the third vertex. |
| [getColorData()](#getColorData) | Gets or sets the surface color. |
| [setColorData(ColorDataUnit value)](#setColorData-com.aspose.cad.fileformats.stl.stllibrary.core.models.ColorDataUnit) | Gets or sets the surface color. |

### TriangularFacet() {#TriangularFacet}
```java
public TriangularFacet()
```

### getNormal() {#getNormal}
```java
public final NormalDataUnit getNormal()
```

Gets or sets the surface normal to the triangular facet.

**Returns:** NormalDataUnit

### setNormal(NormalDataUnit value) {#setNormal-com.aspose.cad.fileformats.stl.stllibrary.core.models.NormalDataUnit}
```java
public final void setNormal(NormalDataUnit value)
```

Gets or sets the surface normal to the triangular facet.

### getVertex1() {#getVertex1}
```java
public final VertexDataUnit getVertex1()
```

Gets or sets the coordinates of the first vertex.

**Returns:** VertexDataUnit

### setVertex1(VertexDataUnit value) {#setVertex1-com.aspose.cad.fileformats.stl.stllibrary.core.models.VertexDataUnit}
```java
public final void setVertex1(VertexDataUnit value)
```

Gets or sets the coordinates of the first vertex.

### getVertex2() {#getVertex2}
```java
public final VertexDataUnit getVertex2()
```

Gets or sets the coordinates of the second vertex.

**Returns:** VertexDataUnit

### setVertex2(VertexDataUnit value) {#setVertex2-com.aspose.cad.fileformats.stl.stllibrary.core.models.VertexDataUnit}
```java
public final void setVertex2(VertexDataUnit value)
```

Gets or sets the coordinates of the second vertex.

### getVertex3() {#getVertex3}
```java
public final VertexDataUnit getVertex3()
```

Gets or sets the coordinates of the third vertex.

**Returns:** VertexDataUnit

### setVertex3(VertexDataUnit value) {#setVertex3-com.aspose.cad.fileformats.stl.stllibrary.core.models.VertexDataUnit}
```java
public final void setVertex3(VertexDataUnit value)
```

Gets or sets the coordinates of the third vertex.

### getColorData() {#getColorData}
```java
public final ColorDataUnit getColorData()
```

Gets or sets the surface color.

**Returns:** ColorDataUnit

### setColorData(ColorDataUnit value) {#setColorData-com.aspose.cad.fileformats.stl.stllibrary.core.models.ColorDataUnit}
```java
public final void setColorData(ColorDataUnit value)
```

Gets or sets the surface color.

