Box

abstract class Box<T : Vec<T>, U : Box<T, U>>(source)

Author

ztellman

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val isEmpty: Boolean

Functions

Link copied to clipboard
fun clamp(v: T): T
Link copied to clipboard
operator fun contains(v: T): Boolean
Link copied to clipboard
fun distance(point: T): Double
Link copied to clipboard
fun distanceSquared(point: T): Double
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun expand(v: T): U
fun expand(t: Double): U
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun intersection(b: U): U
Link copied to clipboard
open fun intersects(b: U): Boolean
Link copied to clipboard
fun lerp(v: T): T
fun lerp(t: Double): T
Link copied to clipboard
abstract fun lower(): T
Link copied to clipboard
fun normalize(v: T): T
Link copied to clipboard
fun nth(idx: Int): Interval
Link copied to clipboard
fun scale(v: T): U
Link copied to clipboard
fun size(): T
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun translate(v: T): U
Link copied to clipboard
fun union(b: U): U
fun union(v: T): U
Link copied to clipboard
abstract fun upper(): T