BoundingBox

scalafx.geometry.BoundingBox
See theBoundingBox companion object
class BoundingBox(val delegate: BoundingBox) extends Bounds, SFXDelegate[BoundingBox]

Attributes

Companion
object
Graph
Supertypes
class Bounds
trait SFXDelegate[BoundingBox]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(minX: Double, minY: Double, width: Double, height: Double)

Creates a new instance of 2D BoundingBox.

Creates a new instance of 2D BoundingBox.

Attributes

def this(minX: Double, minY: Double, minZ: Double, width: Double, height: Double, depth: Double)

Creates a new instance of 3D BoundingBox.

Creates a new instance of 3D BoundingBox.

Attributes

Inherited methods

The central x coordinate of this Bounds.

The central x coordinate of this Bounds.

Attributes

Returns

the central x coordinate This call is equivalent to (getMaxX() + getMinX())/2.0.

Since

11

Inherited from:
Bounds

The central y coordinate of this Bounds.

The central y coordinate of this Bounds.

Attributes

Returns

the central y coordinate This call is equivalent to (getMaxY() + getMinY())/2.0.

Since

11

Inherited from:
Bounds

The central z coordinate of this Bounds.

The central z coordinate of this Bounds.

Attributes

Returns

the central z coordinate This call is equivalent to (getMaxZ() + getMinZ())/2.0.

Since

11

Inherited from:
Bounds

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

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

Attributes

Inherited from:
Bounds

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

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

Attributes

Inherited from:
Bounds
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.

Attributes

Inherited from:
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.

Attributes

Inherited from:
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.

Attributes

Inherited from:
Bounds
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.

Attributes

Inherited from:
Bounds

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.

Attributes

Inherited from:
Bounds
def depth: Double

The depth of this Bounds.

The depth of this Bounds.

Attributes

Inherited from:
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.

Attributes

Inherited from:
Bounds
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 parameters

ref

Object to be compared.

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
def height: Double

The height of this Bounds.

The height of this Bounds.

Attributes

Inherited from:
Bounds
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.

Attributes

Inherited from:
Bounds
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.

Attributes

Inherited from:
Bounds

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.

Attributes

Inherited from:
Bounds
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.

Attributes

Inherited from:
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.

Attributes

Inherited from:
Bounds
def maxZ: Double

The maximum z coordinate of this Bounds.

The maximum z coordinate of this Bounds.

Attributes

Inherited from:
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.

Attributes

Inherited from:
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.

Attributes

Inherited from:
Bounds
def minZ: Double

The minimum z coordinate of this Bounds.

The minimum z coordinate of this Bounds.

Attributes

Inherited from:
Bounds
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
def width: Double

The width of this Bounds.

The width of this Bounds.

Attributes

Inherited from:
Bounds

Concrete fields

override val delegate: BoundingBox

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes