Coords

open class Coords : Point(source)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var x: Double
Link copied to clipboard
var y: Double
Link copied to clipboard
var z: Double

Functions

Link copied to clipboard
fun add(otherPoint: Point): Point

non-destructive, returns a new point

Link copied to clipboard
fun ceil(): Point
Link copied to clipboard
fun clone(): Point
Link copied to clipboard
fun contains(otherPoint: Point): Boolean
Link copied to clipboard
fun distanceTo(otherPoint: Point): Double
Link copied to clipboard
fun divideBy(num: Double): Point
Link copied to clipboard
fun equals(otherPoint: Point): Boolean
Link copied to clipboard
fun floor(): Point
Link copied to clipboard
Link copied to clipboard
fun round(): Point
Link copied to clipboard
fun scaleBy(scale: Point): Point
Link copied to clipboard
fun subtract(otherPoint: Point): Point
Link copied to clipboard
fun trunc(): Point
Link copied to clipboard
fun unscaleBy(scale: Point): Point