Bounds

abstract class Bounds extends SFXDelegate[Bounds]
Companion
object
trait SFXDelegate[Bounds]
class Object
trait Matchable
class Any

Value members

Concrete methods

def centerX: Double

The central x coordinate of this Bounds.

The central x coordinate of this Bounds.

Returns

the central x coordinate This call is equivalent to

(getMaxX() + getMinX())/2.0
Since

11

def centerY: Double

The central y coordinate of this Bounds.

The central y coordinate of this Bounds.

Returns

the central y coordinate This call is equivalent to

(getMaxY() + getMinY())/2.0
Since

11

def centerZ: Double

The central z coordinate of this Bounds.

The central z coordinate of this Bounds.

Returns

the central z coordinate This call is equivalent to

(getMaxZ() + getMinZ())/2.0
Since

11

def contains(b: Bounds): Boolean

Tests if the interior of this Bounds entirely contains the specified Bounds, b.

Tests if the interior of this Bounds entirely contains the specified Bounds, b.

def contains(x: Double, y: Double): Boolean

Tests if the specified (x, y) coordinates are inside the boundary of Bounds.

Tests if the specified (x, y) coordinates are inside the boundary of Bounds.

def contains(x: Double, y: Double, z: Double): Boolean

Tests if the specified (x, y, z) coordinates are inside the boundary of Bounds.

Tests if the specified (x, y, z) coordinates are inside the boundary of Bounds.

def contains(x: Double, y: Double, w: Double, h: Double): Boolean

Tests if the interior of this Bounds entirely contains the specified rectangular area.

Tests if the interior of this Bounds entirely contains the specified rectangular area.

def contains(x: Double, y: Double, z: Double, w: Double, h: Double, d: Double): Boolean

Tests if the interior of this Bounds entirely contains the specified rectangular area.

Tests if the interior of this Bounds entirely contains the specified rectangular area.

def contains(p: Point2D): Boolean

Tests if the specified point is inside the boundary of Bounds.

Tests if the specified point is inside the boundary of Bounds.

def contains(p: Point3D): Boolean

Tests if the specified point is inside the boundary of Bounds.

Tests if the specified point is inside the boundary of Bounds.

def depth: Double

The depth of this Bounds.

The depth of this Bounds.

def empty: Boolean

Indicates whether any of the dimensions(width, height or depth) of this bounds is less than zero.

Indicates whether any of the dimensions(width, height or depth) of this bounds is less than zero.

def height: Double

The height of this Bounds.

The height of this Bounds.

def intersects(b: Bounds): Boolean

Tests if the interior of this Bounds intersects the interior of a specified Bounds, b.

Tests if the interior of this Bounds intersects the interior of a specified Bounds, b.

def intersects(x: Double, y: Double, w: Double, h: Double): Boolean

Tests if the interior of this Bounds intersects the interior of a specified rectangular area.

Tests if the interior of this Bounds intersects the interior of a specified rectangular area.

def intersects(x: Double, y: Double, z: Double, w: Double, h: Double, d: Double): Boolean

Tests if the interior of this Bounds intersects the interior of a specified rectangular area.

Tests if the interior of this Bounds intersects the interior of a specified rectangular area.

def maxX: Double

The x coordinate of the lower-right corner of this Bounds.

The x coordinate of the lower-right corner of this Bounds.

def maxY: Double

The y coordinate of the lower-right corner of this Bounds.

The y coordinate of the lower-right corner of this Bounds.

def maxZ: Double

The maximum z coordinate of this Bounds.

The maximum z coordinate of this Bounds.

def minX: Double

The x coordinate of the upper-left corner of this Bounds.

The x coordinate of the upper-left corner of this Bounds.

def minY: Double

The y coordinate of the upper-left corner of this Bounds.

The y coordinate of the upper-left corner of this Bounds.

def minZ: Double

The minimum z coordinate of this Bounds.

The minimum z coordinate of this Bounds.

def width: Double

The width of this Bounds.

The width of this Bounds.

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: Bounds