Top Fields Constructors Methods
com.openhtmltopdf.pdfboxout.quads

public Class Triangle

extends Object
Class Inheritance
Imports
java.awt.geom.Point2D

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

Modifier and TypeField and Description
public final Point2D.Float
a

public final Point2D.Float
b

public final Point2D.Float
c

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aback to summary
public final Point2D.Float a
bback to summary
public final Point2D.Float b
cback to summary
public final Point2D.Float c

Constructor Detail

Triangleback to summary
pack-priv Triangle(Point2D.Float a, Point2D.Float b, Point2D.Float c)

Method Detail

isInsideback to summary
public static boolean isInside(Point2D.Float x, Point2D.Float y, Point2D.Float z, Point2D.Float p)