Class PolygonalMap2.LiangBarsky

java.lang.Object
zombie.vehicles.PolygonalMap2.LiangBarsky
Enclosing class:
PolygonalMap2

public static final class PolygonalMap2.LiangBarsky extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    lineRectIntersect(float x, float y, float dx, float dy, float left, float top, float right, float bottom)
     
    boolean
    lineRectIntersect(float x, float y, float dx, float dy, float left, float top, float right, float bottom, double[] t1t2)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LiangBarsky

      public LiangBarsky()
  • Method Details

    • lineRectIntersect

      public boolean lineRectIntersect(float x, float y, float dx, float dy, float left, float top, float right, float bottom)
    • lineRectIntersect

      public boolean lineRectIntersect(float x, float y, float dx, float dy, float left, float top, float right, float bottom, double[] t1t2)