Description: Define a triangle class Triangle2D, contains set and get the three coordinates of the point, to create a triangular object constructor. You can calculate the area and perimeter of a triangle and a given point, it is determined that the relationship between the point and the triangle (in the triangle, triangle overlap, outside the triangle). Please write the test program.
To Search:
File list (Check if you may need any files):
Triangle2D\Triangle2D.java
..........\UML.mgc
Triangle2D
..........\MyPoint.java