Options
All
  • Public
  • Public/Protected
  • All
Menu

Vector of three integer numbers

since

5.0

Hierarchy

Implements

Index

Constructors

  • new Vec3i(x: number, y: number, z: number): Vec3i
  • Constructs a new Vec3i instance of given three integer coordinates

    since

    5.0

    Parameters

    • x: number
    • y: number
    • z: number

    Returns Vec3i

Properties

x: number
y: number
z: number
NULL_VECTOR: Vec3i
new Vec3i(0, 0, 0);
since

5.0

class: Class<Object>

Methods

  • clone(): any
  • Returns any

  • compareTo(otherVec: Vec3i): number
  • distanceSq(x: number, y: number, z: number): number
  • distanceSq(to: Vec3i): number
  • distanceSqToCenter(x: number, y: number, z: number): number
  • since

    5.0

    Parameters

    • x: number
    • y: number
    • z: number

    Returns number

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

  • finalize(): void
  • Returns void

  • Returns Class<any>

  • getDistance(x: number, y: number, z: number): number
  • since

    5.0

    Parameters

    • x: number
    • y: number
    • z: number

    Returns number

  • getX(): number
  • since

    5.0

    Returns number

    X coordinate of the following vector

  • getY(): number
  • since

    5.0

    Returns number

    Y coordinate of the following vector

  • getZ(): number
  • since

    5.0

    Returns number

    Z coordinate of the following vector

  • hashCode(): number
  • Returns number

  • notify(): void
  • Returns void

  • notifyAll(): void
  • Returns void

  • toString(): string
  • Returns string

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

  • Parameters

    • param0: number

    Returns void

  • Parameters

    • param0: number
    • param1: number

    Returns void

Generated using TypeDoc