Rect

bearlyb.rect.Rect
See theRect companion object
case class Rect[T](x: T, y: T, w: T, h: T)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def equalsEpsilon(other: Rect[T], epsilon: T): Boolean
Extension method from Rect
def hasIntersection(other: Rect[T]): Boolean
Extension method from Rect
def intersection(other: Rect[T]): Rect[T]
Extension method from Rect
def intersection(x1: T, y1: T, x2: T, y2: T): Option[(near: Point[T], far: Point[T])]
Extension method from Rect
def isEmpty: Boolean
Extension method from Rect
def toDoubleRect: Rect[Double]
Extension method from Rect
def toFloatRect: Rect[Float]
Extension method from Rect
def toIntRect: Rect[Int]
Extension method from Rect
def toLongRect: Rect[Long]
Extension method from Rect
def union(other: Rect[T]): Rect[T]
Extension method from Rect
def xmax: T
Extension method from Rect
def ymax: T
Extension method from Rect
def ~==(other: Rect[T]): Boolean
Extension method from Rect

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product