co.uk.sentinelweb.views.draw.util
Class BoundsUtil

java.lang.Object
  extended by co.uk.sentinelweb.views.draw.util.BoundsUtil

public class BoundsUtil
extends java.lang.Object


Constructor Summary
BoundsUtil()
           
 
Method Summary
static boolean checkBounds(RectF r, PointF p)
           
static boolean checkBounds(RectF r, RectF tst)
           
static boolean checkBoundsIntersect(RectF r, RectF tst)
           
static boolean checkBoundsIntersect(RectF r, RectF tst, float margin)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundsUtil

public BoundsUtil()
Method Detail

checkBounds

public static boolean checkBounds(RectF r,
                                  PointF p)

checkBounds

public static boolean checkBounds(RectF r,
                                  RectF tst)

checkBoundsIntersect

public static boolean checkBoundsIntersect(RectF r,
                                           RectF tst)

checkBoundsIntersect

public static boolean checkBoundsIntersect(RectF r,
                                           RectF tst,
                                           float margin)