# PtM3

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

3 dimensional point specified using metres Length as units rather than pure numbers. The Letter M was used rather L for Length to avoid confusion with the LL ending which is short for Latitude-longitude.

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

## Value members

### Concrete methods

def /(operator: Length): Pt3
def dbl1
def dbl2
def dbl3
def dot(operand: PtM3): 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

Rotate around the X axis, viewed from positive X. A positive angle is anti clockwise.

Rotate around the X axis, viewed from positive X. A positive angle is anti clockwise.

Rotates this vector around the Y axis, viewed form positive Y through the given angle around the origin.

Rotates this vector around the Y axis, viewed form positive Y through the given angle around the origin.

Rotates the vector around the Y axis 180 degrees or Pi radians.

Rotates the vector around the Y axis 180 degrees or Pi radians.

rotates the vector around the Y axis 90 degrees or Pi/2 radians, clockwise.

rotates the vector around the Y axis 90 degrees or Pi/2 radians, clockwise.

rotates the vector around the Y axis, 90 degrees or Pi/2 radians, anticlockwise.

rotates the vector around the Y axis, 90 degrees or Pi/2 radians, anticlockwise.

Rotate around the Z axis, viewed from positive Z. A positive angle is anti clockwise.

Rotate around the Z axis, viewed from positive Z. A positive angle is anti clockwise.

Rotates the vector around the Z axis 180 degrees or Pi radians.

Rotates the vector around the Z axis 180 degrees or Pi radians.

rotates the vector around the Z axis 270 degrees anti clockwise or, 90 degrees or Pi/2 radians, clockwise.

rotates the vector around the Z axis 270 degrees anti clockwise or, 90 degrees or Pi/2 radians, clockwise.

rotates the vector around the Z axis, 90 degrees or Pi/2 radians, anticlockwise.

rotates the vector around the Z axis, 90 degrees or Pi/2 radians, anticlockwise.

override def toString
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 x
def xNeg
def xPos

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

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

def xy: PtM2
def y
def yNeg
def yPos
def z
def zNeg
def zPos

### Inherited methods

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