PtMetre3

final
class PtMetre3(val xMetres: Double, val yMetres: Double, val zMetres: Double) extends ElemDbl3

3 dimensional point specified using metres as units rather than pure numbers.

Companion
object
trait ElemDbl3
trait ElemDblN
trait SpecialT
class Object
trait Matchable
class Any

Value members

Concrete methods

def /(operator: Metres): Pt3
def dbl1: Double
def dbl2: Double
def dbl3: Double
@inline
def dot(operand: PtMetre3): 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.

def ifZPos[A](vPos: => A, vNeg: => A): A
override
def toString: String
Definition Classes
Any

Converts this Metres3 point to a Some[Metres2] point of the X and Y values, returns None if the Z value is negative.

Converts this Metres3 point to a Some[Metres2] point of the X and Y values, returns None if the Z value is negative.

def typeStr: String
def x: Metres
def xNeg: Boolean
def xPos: Boolean
def xRotateRadians(rotationRadians: Double): PtMetre3

Rotate this 3D point defined in metres around the X Axis by the given parameter given in radians. Returns a new PtMetre3 point.

Rotate this 3D point defined in metres around the X Axis by the given parameter given in radians. Returns a new PtMetre3 point.

def y: Metres
def yNeg: Boolean
def yPos: Boolean
def z: Metres
def zNeg: Boolean
def zPos: Boolean

Inherited methods

def dblsApprox(that: ElemDbl3, delta: Double): Boolean
Inherited from
ElemDbl3
def dblsEqual(that: ElemDbl3): Boolean
Inherited from
ElemDbl3

Concrete fields

val xMetres: Double
val yMetres: Double
val zMetres: Double