Class Triangle
- java.lang.Object
-
- com.openhtmltopdf.pdfboxout.quads.Triangle
-
public class Triangle extends Object
- Author:
- Sunshine A class to represent a triangle Note that all three points should be different in order to work properly Source: https://www.sunshine2k.de/coding/java/Polygon/Kong/Kong.html
-
-
Field Summary
Fields Modifier and Type Field Description Point2D.Float
a
Point2D.Float
b
Point2D.Float
c
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isInside(Point2D.Float x, Point2D.Float y, Point2D.Float z, Point2D.Float p)
-
-
-
Field Detail
-
a
public final Point2D.Float a
-
b
public final Point2D.Float b
-
c
public final Point2D.Float c
-
-
Method Detail
-
isInside
public static boolean isInside(Point2D.Float x, Point2D.Float y, Point2D.Float z, Point2D.Float p)
-
-