# Triangle

public class **Triangle** extends [Object](https://developer.android.com/reference/java/lang/Object.html)  
Represents a triangle with 3 generic points.

### Public Method Summary

|---|---|
| [List](https://developer.android.com/reference/java/util/List.html)\<T\> | [getAllPoints](https://developers.google.com/android/reference/com/google/mlkit/vision/common/Triangle#getAllPoints())() Gets all points inside the `https://developers.google.com/android/reference/com/google/mlkit/vision/common/Triangle`. |

### Inherited Method Summary

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## Public Methods

#### public [List](https://developer.android.com/reference/java/util/List.html)\<T\>
**getAllPoints** ()

Gets all points inside the `https://developers.google.com/android/reference/com/google/mlkit/vision/common/Triangle`.