Triangle

  • The Triangle class represents a triangle with 3 generic points and extends Object.

  • The getAllPoints() method returns a List of all points inside the Triangle.

  • The Triangle class inherits standard methods from the java.lang.Object class such as equals(), hashCode(), and toString().

public class Triangle extends Object

Represents a triangle with 3 generic points.

Public Method Summary

List<T>
getAllPoints()
Gets all points inside the Triangle.

Inherited Method Summary

Public Methods

public List<T> getAllPoints ()

Gets all points inside the Triangle.