Pt3

final
class Pt3(val x: Double, val y: Double, val z: Double) extends Vec3Like

A 3 dimensional point. Right-handed coordinate system is the default.

Companion
object
trait Vec3Like
trait ApproxDbl
trait Approx[Double]
trait Equals
trait Show3Dbls
trait ElemDbl3
trait ElemDblN
trait SpecialT
trait Show3[Double, Double, Double]
trait Show
class Object
trait Matchable
class Any

Value members

Concrete methods

def +(other: Pt3): Pt3
def addXYZ(otherX: Double, otherY: Double, otherZ: Double): Pt3
override
def approx(that: Any, precision: Double): Boolean
Definition Classes
override
def canEqual(other: Any): Boolean
Definition Classes
Equals
@inline
def dot(operand: Pt3): Double

The dot product of this and the operand vector.

The dot product of this and the operand vector.

override
def equals(that: Any): Boolean
Definition Classes
Equals -> Any
def str1: String
def toTriple: (Double, Double, Double)
def toXY: Pt2
def toXYIfZPositive: Option[Pt2]
override
def typeStr: String
Definition Classes
def xRotation(rotation: Double): Pt3

Inherited methods

override
def dbl1: Double
Definition Classes
Inherited from
Show3Dbls
override
def dbl2: Double
Definition Classes
Inherited from
Show3Dbls
override
def dbl3: Double
Definition Classes
Inherited from
Show3Dbls
def dblsApprox(that: ElemDbl3, delta: Double): Boolean
Inherited from
ElemDbl3
def dblsEqual(that: ElemDbl3): Boolean
Inherited from
ElemDbl3
Inherited from
Show3
Inherited from
Show3
override
def name1: String

the name of the 1st element of this 3 element Show product.

the name of the 1st element of this 3 element Show product.

Definition Classes
Inherited from
Vec3Like
override
def name2: String

the name of the 2nd element of this 3 element Show product.

the name of the 2nd element of this 3 element Show product.

Definition Classes
Inherited from
Vec3Like
override
def name3: String

the name of the 3rd element of this 3 element Show product.

the name of the 3rd element of this 3 element Show product.

Definition Classes
Inherited from
Vec3Like
override
def precisionDefault: Double
Definition Classes
Inherited from
ApproxDbl
override
def show(way: Way, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from
ShowProduct
override
def show1: Double

Element 1 of this 3 element Show product.

Element 1 of this 3 element Show product.

Definition Classes
Inherited from
Vec3Like
override
def show2: Double

Element 2 of this 3 element Show product.

Element 2 of this 3 element Show product.

Definition Classes
Inherited from
Vec3Like
override
def show3: Double

Element 3 of this 3 element Show product.

Element 3 of this 3 element Show product.

Definition Classes
Inherited from
Vec3Like
def shows(way: Way, decimalPlaces: Int): Strings
Inherited from
Show3
override
def str: String
Definition Classes
Inherited from
ShowProduct
final override
def syntaxdepth: Int
Definition Classes
Inherited from
Show3Dbls
override
def toString: String
Definition Classes
Show -> Any
Inherited from
Show

Concrete fields

val x: Double
val y: Double
val z: Double

Implicits

Inherited implicits

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