Package com.artifex.mupdf.fitz
Class Quad
java.lang.Object
com.artifex.mupdf.fitz.Quad
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(float x, float y) booleanprotected floatcross(float ax, float ay, float bx, float by, float px, float py) booleaninthashCode()static QuadInfinite()static QuadInvalid()booleanbooleanisValid()toRect()toString()protected booleantriangleContainsPoint(float x, float y, float ax, float ay, float bx, float by, float cx, float cy)
-
Field Details
-
ul_x
public float ul_x -
ul_y
public float ul_y -
ur_x
public float ur_x -
ur_y
public float ur_y -
ll_x
public float ll_x -
ll_y
public float ll_y -
lr_x
public float lr_x -
lr_y
public float lr_y
-
-
Constructor Details
-
Quad
public Quad(float ul_x, float ul_y, float ur_x, float ur_y, float ll_x, float ll_y, float lr_x, float lr_y) -
Quad
-
-
Method Details
-
toRect
-
transformed
-
transform
-
cross
protected float cross(float ax, float ay, float bx, float by, float px, float py) -
triangleContainsPoint
protected boolean triangleContainsPoint(float x, float y, float ax, float ay, float bx, float by, float cx, float cy) -
contains
public boolean contains(float x, float y) -
contains
-
toString
-
equals
-
hashCode
public int hashCode() -
isValid
public boolean isValid() -
isInfinite
public boolean isInfinite() -
Infinite
-
Invalid
-