Class KongAlgo
java.lang.Object
com.openhtmltopdf.pdfboxout.quads.KongAlgo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final booleanprivate final List<Point2D.Float> private final List<Point2D.Float> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate intgetIndex(int index, int offset) private booleanisConvex(Point2D.Float p1, Point2D.Float p2, Point2D.Float p3) private booleanisEar(Point2D.Float p1, Point2D.Float p2, Point2D.Float p3) voidrunKong()
-
Field Details
-
isDebug
private static final boolean isDebug- See Also:
-
points
-
nonconvexPoints
-
triangles
-
isCw
private boolean isCw
-
-
Constructor Details
-
KongAlgo
-
-
Method Details
-
calcNonConvexPoints
private void calcNonConvexPoints() -
calcPolyOrientation
private void calcPolyOrientation() -
isEar
-
isConvex
-
getIndex
private int getIndex(int index, int offset) -
runKong
public void runKong() -
getTriangles
-