Class Point<T extends java.lang.Number & java.lang.Comparable<T>>
- java.lang.Object
-
- com.itextpdf.text.pdf.parser.clipper.Point<T>
-
- Direct Known Subclasses:
Point.DoublePoint,Point.LongPoint
public abstract class Point<T extends java.lang.Number & java.lang.Comparable<T>> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPoint.DoublePointstatic classPoint.LongPoint
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)protected static booleanisPt2BetweenPt1AndPt3(Point.LongPoint pt1, Point.LongPoint pt2, Point.LongPoint pt3)voidset(Point<T> other)voidsetX(T x)voidsetY(T y)voidsetZ(T z)protected static booleanslopesEqual(Point.LongPoint pt1, Point.LongPoint pt2, Point.LongPoint pt3, boolean useFullRange)protected static booleanslopesEqual(Point.LongPoint pt1, Point.LongPoint pt2, Point.LongPoint pt3, Point.LongPoint pt4, boolean useFullRange)java.lang.StringtoString()
-
-
-
Method Detail
-
isPt2BetweenPt1AndPt3
protected static boolean isPt2BetweenPt1AndPt3(Point.LongPoint pt1, Point.LongPoint pt2, Point.LongPoint pt3)
-
slopesEqual
protected static boolean slopesEqual(Point.LongPoint pt1, Point.LongPoint pt2, Point.LongPoint pt3, boolean useFullRange)
-
slopesEqual
protected static boolean slopesEqual(Point.LongPoint pt1, Point.LongPoint pt2, Point.LongPoint pt3, Point.LongPoint pt4, boolean useFullRange)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
setX
public void setX(T x)
-
setY
public void setY(T y)
-
setZ
public void setZ(T z)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-