Vec2M

final class Vec2M extends Show2Dbls

A 2 dimensional vector specified in metres as units rather than pure scalar numbers.

trait Show2Dbls
trait Dbl2Elem
trait DblNElem
trait SpecialT
trait Show2[Double, Double]
trait Show
class Object
trait Matchable
class Any

Value members

Concrete methods

def *(operator: Double): Vec2M
def +(op: Vec2M): Vec2M
def -(op: Vec2M): Vec2M
def /(operator: Double): Vec2M
@inline
def dot(operand: Vec2M): Area

Produces the dot product of this 2 dimensional distance Vector and the operand.

Produces the dot product of this 2 dimensional distance Vector and the operand.

override def name1: String

the name of the 1st element of this 2 element product.

the name of the 1st element of this 2 element product.

Definition Classes
override def name2: String

the name of the 2nd element of this 2 element product.

the name of the 2nd element of this 2 element product.

Definition Classes
override def show1: Double

Element 1 of this Show 2 element product.

Element 1 of this Show 2 element product.

Definition Classes
override def show2: Double

Element 2 of this Show 2 element product.

Element 2 of this Show 2 element product.

Definition Classes
override def typeStr: String
Definition Classes
def x: Metres

The X component of this 2 dimensional Metres vector.

The X component of this 2 dimensional Metres vector.

def y: Metres

The Y component of this 2 dimensional Metres vector.

The Y component of this 2 dimensional Metres vector.

Inherited methods

override def dbl1: Double
Definition Classes
Inherited from
Show2Dbls
override def dbl2: Double
Definition Classes
Inherited from
Show2Dbls
def dblsApprox(that: Dbl2Elem, delta: Double): Boolean
Inherited from
Dbl2Elem
def dblsEqual(that: Dbl2Elem): Boolean
Inherited from
Dbl2Elem
Inherited from
Show2
Inherited from
Show2
override def show(way: Way, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from
ShowProduct
def shows(way: Way, decimalPlaces: Int): Strings
Inherited from
Show2
override def str: String
Definition Classes
Inherited from
ShowProduct
final override def syntaxdepth: Int
Definition Classes
Inherited from
Show2Dbls
final override def toString: String
Definition Classes
Show -> Any
Inherited from
Show

Concrete fields

val xMetresNum: Double
val yMetresNum: Double

Implicits

Inherited implicits

final implicit override def showT1: ShowT[Double]
Definition Classes
Inherited from
Show2Dbls
final implicit override def showT2: ShowT[Double]
Definition Classes
Inherited from
Show2Dbls