Vec2M

final class Vec2M(val xMetresNum: Double, val yMetresNum: Double) extends length2M

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

Companion:
object
trait length2M
trait ElemDbl2
trait ElemDblN
trait SpecialT
trait ShowDbl2
trait ShowN
trait ShowDec
trait Show
trait TypeStr
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
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: Length

The X component of this 2 dimensional Length vector.

The X component of this 2 dimensional Length vector.

def y: Length

The Y component of this 2 dimensional Length vector.

The Y component of this 2 dimensional Length vector.

Inherited methods

final override def dbl1: Double
Definition Classes
Inherited from:
ShowElemDbl2
final override def dbl2: Double
Definition Classes
Inherited from:
ShowElemDbl2
def dblsApprox(that: ElemDbl2, delta: Double): Boolean
Inherited from:
ElemDbl2
Inherited from:
ElemDbl2
def el1Show(style: ShowStyle, maxPlaces: Int): String
Inherited from:
Show2
def el2Show(style: ShowStyle, maxPlaces: Int): String
Inherited from:
Show2
Inherited from:
Show2
Inherited from:
Show2
override def opt1: Option[Double]

The optional default value for parameter 1.

The optional default value for parameter 1.

Definition Classes
Inherited from:
Show2
override def opt2: Option[Double]

The optional default value for parameter 2.

The optional default value for parameter 2.

Definition Classes
Inherited from:
Show2
override def show(style: ShowStyle): String
Definition Classes
Inherited from:
ShowN
override def showDec(style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from:
ShowN
def showDec(style: ShowStyle, maxPlaces: Int): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Inherited from:
Show
def showElemStrDecs(way: ShowStyle, decimalPlaces: Int): Strings
Inherited from:
Show2
Inherited from:
ShowN
def showSemisNameDecs(maxPlaces: Int, minPlaces: Int): String
Inherited from:
ShowN

A Strings Arr collection of the show methods return values of the elements of this Show Product class.

A Strings Arr collection of the show methods return values of the elements of this Show Product class.

Inherited from:
ShowN
override def str: String
Definition Classes
Inherited from:
ShowN

Show with decimal precision of 0 places.

Show with decimal precision of 0 places.

Inherited from:
ShowDec

Show with decimal precision of 1 place padding with a zero if necessary.

Show with decimal precision of 1 place padding with a zero if necessary.

Inherited from:
ShowDec

Show with decimal precision of 2 places padding with zeros if necessary.

Show with decimal precision of 2 places padding with zeros if necessary.

Inherited from:
ShowDec

Show with decimal precision of 3 places padding with zeros if necessary.

Show with decimal precision of 3 places padding with zeros if necessary.

Inherited from:
ShowDec
final override def syntaxDepth: Int
Definition Classes
Inherited from:
ShowDbl2
override def toString: String
Definition Classes
Show -> Any
Inherited from:
Show

Concrete fields

Implicits

Inherited implicits

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