withRelativeZ

fun withRelativeZ(deltaZ: Int): Position3D

Creates a new Position3D object representing a position on the same x and y, but with a y offset by the supplied deltaZ. Calling this method with deltaZ 0 will returnThis this. A positive deltaZ will be added, a negative will be subtracted from the original x.

Sources

(source)
Link copied to clipboard