Class Triangle
java.lang.Object
org.openpatch.scratch.Shape
org.openpatch.scratch.Triangle
A triangle.
-
Constructor Details
-
Triangle
public Triangle(double x1, double y1, double x2, double y2, double x3, double y3) - Parameters:
x1- x of the first cornery1- y of the first cornerx2- x of the second cornery2- y of the second cornerx3- x of the third cornery3- y of the third corner
-