Vector2

object Vector2
Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

@inline
def add(vec1: Vector2, vec2: Vector2): Vector2
def apply(d: Double): Vector2
def distance(v1: Vector2, v2: Vector2): Double
@inline
def divide(vec1: Vector2, vec2: Vector2): Vector2
def dotProduct(vec1: Vector2, vec2: Vector2): Double
def fromPoint(point: Point): Vector2
def fromPoints(start: Point, end: Point): Vector2
@inline
def multiply(vec1: Vector2, vec2: Vector2): Vector2
@inline
def subtract(vec1: Vector2, vec2: Vector2): Vector2

Concrete fields

lazy val derived$CanEqual: CanEqual[Vector2, Vector2]
val one: Vector2