Class Edge
- java.lang.Object
-
- com.itextpdf.text.pdf.parser.clipper.Edge
-
class Edge extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
Edge.Side
-
Field Summary
Fields Modifier and Type Field Description private Point.LongPoint
bot
private Point.LongPoint
current
private Point.LongPoint
delta
(package private) double
deltaX
protected static double
HORIZONTAL
private static java.util.logging.Logger
LOGGER
(package private) Edge
next
(package private) Edge
nextInAEL
(package private) Edge
nextInLML
(package private) Edge
nextInSEL
(package private) int
outIdx
(package private) Clipper.PolyType
polyTyp
(package private) Edge
prev
(package private) Edge
prevInAEL
(package private) Edge
prevInSEL
(package private) Edge.Side
side
protected static int
SKIP
private Point.LongPoint
top
protected static int
UNASSIGNED
(package private) int
windCnt
(package private) int
windCnt2
(package private) int
windDelta
-
Constructor Summary
Constructors Constructor Description Edge()
-
Method Summary
-
-
-
Field Detail
-
bot
private final Point.LongPoint bot
-
current
private final Point.LongPoint current
-
top
private final Point.LongPoint top
-
delta
private final Point.LongPoint delta
-
deltaX
double deltaX
-
polyTyp
Clipper.PolyType polyTyp
-
side
Edge.Side side
-
windDelta
int windDelta
-
windCnt
int windCnt
-
windCnt2
int windCnt2
-
outIdx
int outIdx
-
next
Edge next
-
prev
Edge prev
-
nextInLML
Edge nextInLML
-
nextInAEL
Edge nextInAEL
-
prevInAEL
Edge prevInAEL
-
nextInSEL
Edge nextInSEL
-
prevInSEL
Edge prevInSEL
-
SKIP
protected static final int SKIP
- See Also:
- Constant Field Values
-
UNASSIGNED
protected static final int UNASSIGNED
- See Also:
- Constant Field Values
-
HORIZONTAL
protected static final double HORIZONTAL
- See Also:
- Constant Field Values
-
LOGGER
private static final java.util.logging.Logger LOGGER
-
-
Method Detail
-
topX
static long topX(Edge edge, long currentY)
-
findNextLocMin
public Edge findNextLocMin()
-
getBot
public Point.LongPoint getBot()
-
getCurrent
public Point.LongPoint getCurrent()
-
getDelta
public Point.LongPoint getDelta()
-
getMaximaPair
public Edge getMaximaPair()
-
getNextInAEL
public Edge getNextInAEL(Clipper.Direction direction)
-
getTop
public Point.LongPoint getTop()
-
isContributing
public boolean isContributing(Clipper.PolyFillType clipFillType, Clipper.PolyFillType subjFillType, Clipper.ClipType clipType)
-
isEvenOddAltFillType
public boolean isEvenOddAltFillType(Clipper.PolyFillType clipFillType, Clipper.PolyFillType subjFillType)
-
isEvenOddFillType
public boolean isEvenOddFillType(Clipper.PolyFillType clipFillType, Clipper.PolyFillType subjFillType)
-
isHorizontal
public boolean isHorizontal()
-
isIntermediate
public boolean isIntermediate(double y)
-
isMaxima
public boolean isMaxima(double Y)
-
reverseHorizontal
public void reverseHorizontal()
-
setBot
public void setBot(Point.LongPoint bot)
-
setCurrent
public void setCurrent(Point.LongPoint current)
-
setTop
public void setTop(Point.LongPoint top)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
updateDeltaX
public void updateDeltaX()
-
-