Pt3M

final class Pt3M(val xMetres: Double, val yMetres: Double, val zMetres: Double) extends Dbl3Elem

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

Companion
object
trait Dbl3Elem
trait DblNElem
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: Pt3M): 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
def toXYIfZPositive: Option[Pt2M]

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): Pt3M

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

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

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

Inherited methods

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

Concrete fields

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