com.itextpdf.text.pdf.parser.clipper
Class Point<T extends Number & Comparable<T>>

java.lang.Object
  extended by com.itextpdf.text.pdf.parser.clipper.Point<T>
Direct Known Subclasses:
Point.DoublePoint, Point.LongPoint

public abstract class Point<T extends Number & Comparable<T>>
extends Object


Nested Class Summary
static class Point.DoublePoint
           
static class Point.LongPoint
           
 
Field Summary
protected  T x
           
protected  T y
           
protected  T z
           
 
Constructor Summary
protected Point(Point<T> pt)
           
protected Point(T x, T y, T z)
           
 
Method Summary
 boolean equals(Object obj)
           
protected static boolean isPt2BetweenPt1AndPt3(Point.LongPoint pt1, Point.LongPoint pt2, Point.LongPoint pt3)
           
 void set(Point<T> other)
           
 void setX(T x)
           
 void setY(T y)
           
 void setZ(T z)
           
protected static boolean slopesEqual(Point.LongPoint pt1, Point.LongPoint pt2, Point.LongPoint pt3)
           
protected static boolean slopesEqual(Point.LongPoint pt1, Point.LongPoint pt2, Point.LongPoint pt3, Point.LongPoint pt4)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

protected T extends Number & Comparable<T> x

y

protected T extends Number & Comparable<T> y

z

protected T extends Number & Comparable<T> z
Constructor Detail

Point

protected Point(Point<T> pt)

Point

protected Point(T x,
                T y,
                T z)
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)

slopesEqual

protected static boolean slopesEqual(Point.LongPoint pt1,
                                     Point.LongPoint pt2,
                                     Point.LongPoint pt3,
                                     Point.LongPoint pt4)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

set

public void set(Point<T> other)

setX

public void setX(T x)

setY

public void setY(T y)

setZ

public void setZ(T z)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All Rights Reserved.