Pt2M

final class Pt2M(val xMetresNum: Double, val yMetresNum: Double) extends Show2Dbls

A 2 dimensional point specified in Metres as units rather than pure scalar numbers.

Companion
object
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): Pt2M
def +(op: Vec2M): Pt2M
def -(op: Pt2M): Pt2M
def /(operator: Double): Pt2M
def addX(adj: Metres): Pt2M
def addXY(otherX: Metres, otherY: Metres): Pt2M
def addY(adj: Metres): Pt2M
override def name1: String
Definition Classes
override def name2: String
Definition Classes
def rotate(a: AngleVec): Pt2M
def rotateRadians(r: Double): Pt2M
override def show1: Double
Definition Classes
override def show2: Double
Definition Classes
def subX(adj: Metres): Pt2M
def subXY(otherX: Metres, otherY: Metres): Pt2M
def subY(adj: Metres): Pt2M

Currently not working for angles greater than Pi / 2

Currently not working for angles greater than Pi / 2

override def typeStr: String
Definition Classes
def x: Metres
def xNeg: Boolean
def xPos: Boolean
def y: Metres
def yNeg: Boolean
def yPos: Boolean

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