# Tuple2d

open class Tuple2d

#### Inheritors

Point2d
Vector2d

## Constructors

Tuple2d
Link copied to clipboard
constructor()
constructor(x: Double, y: Double)
constructor(tuple2d: Tuple2d)

## Properties

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

## Functions

add
Link copied to clipboard
fun add(otherTuple: Tuple2d)
scale
Link copied to clipboard
fun scale(scale: Double)
set
Link copied to clipboard
fun set(value: Tuple2d)
operator fun set(x: Double, y: Double)
sub
Link copied to clipboard
fun sub(otherTuple: Tuple2d)
fun sub(t1: Tuple2d, t2: Tuple2d)
toString
Link copied to clipboard
open override fun toString(): String