Rectangle

platdb.Rectangle
case class Rectangle(min: Array[Double], max: Array[Double])

A spatial rectangle used to describe the boundary range of a spatial object.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def -(r: Rectangle): Double

Attributes

def >=(r: Rectangle): Boolean

Attributes

def area: Double

Attributes

def areaDifference(r: Rectangle): Double

Attributes

def beCoverd(r: Rectangle): Boolean

whether current rectangle be corverd by r.

whether current rectangle be corverd by r.

Attributes

def cover(r: Rectangle): Boolean

whether current rectangle can corver r.

whether current rectangle can corver r.

Attributes

def dimension: Int

Attributes

要覆盖r所需要的最小面积扩张

要覆盖r所需要的最小面积扩张

Attributes

def intersect(r: Rectangle): Boolean

Attributes

def isPoint: Boolean

whether current rectangle is a point.

whether current rectangle is a point.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product