# Package net.axay.kspigot.extensions.geometry

## Types

LocationArea
Link copied to clipboard
class LocationArea(loc1: Location, loc2: Location)
Content copied to clipboard
SimpleChunkLocation
Link copied to clipboard
data class SimpleChunkLocation(x: Int, z: Int)
Content copied to clipboard
SimpleLocation2D
Link copied to clipboard
data class SimpleLocation2D(x: Double, y: Double)
Content copied to clipboard
SimpleLocation3D
Link copied to clipboard
data class SimpleLocation3D(x: Double, y: Double, z: Double, direction: Vector)
Content copied to clipboard
SimpleLocationPair
Link copied to clipboard
class SimpleLocationPair(loc1: Location, loc2: Location)
Content copied to clipboard

## Functions

add
Link copied to clipboard
fun Location.add(x: Number, y: Number, z: Number): Location
Content copied to clipboard
increase
Link copied to clipboard
infix fun Location.increase(distance: Number): Location
Content copied to clipboard
infix fun Location.increase(loc: SimpleLocation3D): Location
Content copied to clipboard
infix fun Location.increase(loc: Location): Location
Content copied to clipboard
infix fun Location.increase(vec: Vector): Location
Content copied to clipboard
infix fun Vector.increase(vec: Vector): Vector
Content copied to clipboard
increaseX
Link copied to clipboard
infix fun Location.increaseX(distance: Number): Location
Content copied to clipboard
increaseXY
Link copied to clipboard
infix fun Location.increaseXY(distance: Number): Location
Content copied to clipboard
increaseXZ
Link copied to clipboard
infix fun Location.increaseXZ(distance: Number): Location
Content copied to clipboard
increaseY
Link copied to clipboard
infix fun Location.increaseY(distance: Number): Location
Content copied to clipboard
increaseYZ
Link copied to clipboard
infix fun Location.increaseYZ(distance: Number): Location
Content copied to clipboard
increaseZ
Link copied to clipboard
infix fun Location.increaseZ(distance: Number): Location
Content copied to clipboard
minus
Link copied to clipboard
operator fun Location.minus(loc: SimpleLocation3D): Location
Content copied to clipboard
operator fun Location.minus(loc: Location): Location
Content copied to clipboard
operator fun Location.minus(vec: Vector): Location
Content copied to clipboard
operator fun Vector.minus(vec: Vector): Vector
Content copied to clipboard
minusAssign
Link copied to clipboard
operator fun Location.minusAssign(loc: SimpleLocation3D)
Content copied to clipboard
operator fun Location.minusAssign(loc: Location)
Content copied to clipboard
operator fun Location.minusAssign(vec: Vector)
Content copied to clipboard
operator fun Vector.minusAssign(vec: Vector)
Content copied to clipboard
multiply
Link copied to clipboard
infix fun Vector.multiply(num: Number): Vector
Content copied to clipboard
infix fun Vector.multiply(vec: Vector): Vector
Content copied to clipboard
plus
Link copied to clipboard
operator fun Location.plus(loc: SimpleLocation3D): Location
Content copied to clipboard
operator fun Location.plus(loc: Location): Location
Content copied to clipboard
operator fun Location.plus(vec: Vector): Location
Content copied to clipboard
operator fun Vector.plus(vec: Vector): Vector
Content copied to clipboard
plusAssign
Link copied to clipboard
operator fun Location.plusAssign(loc: SimpleLocation3D)
Content copied to clipboard
operator fun Location.plusAssign(loc: Location)
Content copied to clipboard
operator fun Location.plusAssign(vec: Vector)
Content copied to clipboard
operator fun Vector.plusAssign(vec: Vector)
Content copied to clipboard
reduce
Link copied to clipboard
infix fun Location.reduce(distance: Number): Location
Content copied to clipboard
infix fun Location.reduce(loc: SimpleLocation3D): Location
Content copied to clipboard
infix fun Location.reduce(loc: Location): Location
Content copied to clipboard
infix fun Location.reduce(vec: Vector): Location
Content copied to clipboard
infix fun Vector.reduce(vec: Vector): Vector
Content copied to clipboard
reduceX
Link copied to clipboard
infix fun Location.reduceX(distance: Number): Location
Content copied to clipboard
reduceXY
Link copied to clipboard
infix fun Location.reduceXY(distance: Number): Location
Content copied to clipboard
reduceXZ
Link copied to clipboard
infix fun Location.reduceXZ(distance: Number): Location
Content copied to clipboard
reduceY
Link copied to clipboard
infix fun Location.reduceY(distance: Number): Location
Content copied to clipboard
reduceYZ
Link copied to clipboard
infix fun Location.reduceYZ(distance: Number): Location
Content copied to clipboard
reduceZ
Link copied to clipboard
infix fun Location.reduceZ(distance: Number): Location
Content copied to clipboard
relationTo
Link copied to clipboard
infix fun Location.relationTo(loc: Location): SimpleLocation3D
Content copied to clipboard
substract
Link copied to clipboard
fun Location.substract(x: Number, y: Number, z: Number): Location
Content copied to clipboard
subtract
Link copied to clipboard
fun Location.subtract(x: Number, y: Number, z: Number): Location
Content copied to clipboard
times
Link copied to clipboard
operator fun Vector.times(num: Number): Vector
Content copied to clipboard
operator fun Vector.times(vec: Vector): Vector
Content copied to clipboard
timesAssign
Link copied to clipboard
operator fun Vector.timesAssign(num: Number)
Content copied to clipboard
operator fun Vector.timesAssign(vec: Vector)
Content copied to clipboard
toSimple
Link copied to clipboard
fun Chunk.toSimple(): SimpleChunkLocation
Content copied to clipboard
fun Location.toSimple(): SimpleLocation3D
Content copied to clipboard
toSimpleLoc
Link copied to clipboard
fun Vector.toSimpleLoc(): SimpleLocation3D
Content copied to clipboard
toVector
Link copied to clipboard
fun SimpleLocation3D.toVector(): Vector
Content copied to clipboard
vec
Link copied to clipboard
fun vec(x: Number = 0.0, y: Number = 0.0, z: Number = 0.0): Vector
Content copied to clipboard
vecX
Link copied to clipboard
fun vecX(x: Number): Vector
Content copied to clipboard
vecXY
Link copied to clipboard
fun vecXY(x: Number, y: Number): Vector
Content copied to clipboard
vecXZ
Link copied to clipboard
fun vecXZ(x: Number, z: Number): Vector
Content copied to clipboard
vecY
Link copied to clipboard
fun vecY(y: Number): Vector
Content copied to clipboard
vecYZ
Link copied to clipboard
fun vecYZ(y: Number, z: Number): Vector
Content copied to clipboard
vecZ
Link copied to clipboard
fun vecZ(z: Number): Vector
Content copied to clipboard
withWorld
Link copied to clipboard
fun SimpleChunkLocation.withWorld(world: World): Chunk
Content copied to clipboard
fun SimpleLocation3D.withWorld(world: World): Location
Content copied to clipboard

## Properties

blockLoc
Link copied to clipboard
val Location.blockLoc: Location
Content copied to clipboard
isFinite
Link copied to clipboard
val Vector.isFinite: Boolean
Content copied to clipboard