VectorBounds

slash.vector.VectorBounds
case class VectorBounds[N <: Int](min: Vec[N], MAX: Vec[N])(using x$3: ValueOf[N])

Attributes

Source
VectorBounds.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def contains(v: Vec[N]): Boolean

Attributes

Source
VectorBounds.scala
def copy: VectorBounds[N]

Attributes

Source
VectorBounds.scala

Determines if this VectorBounds intersects another VectorBounds.

Determines if this VectorBounds intersects another VectorBounds.

Value parameters

that

another VectorBounds.

Attributes

Returns

true if this VectorBounds intersects that VectorBounds.

Source
VectorBounds.scala
def intersectsSphere(v: Vec[N], radiusSquared: Double): Boolean

Determines if the given sphere intersects this VectorBounds.

Determines if the given sphere intersects this VectorBounds.

Value parameters

radiusSquared

the radius of the sphere.

v

the center vector of the sphere.

Attributes

Returns

true if this VectorBounds intersects the sphere.

Source
VectorBounds.scala

Attributes

Source
VectorBounds.scala
def random(r: Random): Vec[N]

Attributes

Source
VectorBounds.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
VectorBounds.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

Attributes

Source
VectorBounds.scala
lazy val center: Vec[N]

Attributes

Source
VectorBounds.scala
lazy val dimension: Int

Attributes

Source
VectorBounds.scala