Vec3

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

A 3 dimensional vector. This is similar data to Pt3. The purpose of this separate type is to encode the relative nature of the Vec3 as opposed to the absolute nature of a point. So usually you will want and need to add the vector to an absolute point to return to the absolute realm of points. Thanks to René Descartes for this great idea.

Companion:
object
trait Vec3Like
trait ApproxDbl
trait Approx[Double]
trait Equals
trait ElemDbl3
trait ElemDblN
trait SpecialT
trait ShowDbl3
trait ShowN
trait ShowDec
trait Show
trait TypeStr
class Object
trait Matchable
class Any

Value members

Concrete methods

override def approx(that: Any, precision: Double): Boolean
Definition Classes
override def canEqual(that: Any): Boolean
Definition Classes
override def equals(that: Any): Boolean
Definition Classes
Equals -> Any
override def typeStr: String
Definition Classes

Inherited methods

final override def dbl1: Double
Definition Classes
Inherited from:
ShowElemDbl3
final override def dbl2: Double
Definition Classes
Inherited from:
ShowElemDbl3
final override def dbl3: Double
Definition Classes
Inherited from:
ShowElemDbl3
def dblsApprox(that: ElemDbl3, delta: Double): Boolean
Inherited from:
ElemDbl3
Inherited from:
ElemDbl3
override def elemNames: Strings
Definition Classes
Inherited from:
Show3
override def elemTypeNames: Strings
Definition Classes
Inherited from:
Show3
final override def name1: String
Definition Classes
Inherited from:
Vec3Like
final override def name2: String
Definition Classes
Inherited from:
Vec3Like
final override def name3: String
Definition Classes
Inherited from:
Vec3Like
override def opt1: Option[Double]
Definition Classes
Inherited from:
Show3
override def opt2: Option[Double]
Definition Classes
Inherited from:
Show3
override def opt3: Option[Double]
Definition Classes
Inherited from:
Show3
override def precisionDefault: Double
Definition Classes
Inherited from:
ApproxDbl
override def show(style: ShowStyle): String
Definition Classes
Inherited from:
ShowN
final override def show1: Double
Definition Classes
Inherited from:
Vec3Like
final override def show2: Double
Definition Classes
Inherited from:
Vec3Like
final override def show3: Double
Definition Classes
Inherited from:
Vec3Like
override def showDec(style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from:
ShowN
def showDec(style: ShowStyle, maxPlaces: Int): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Inherited from:
Show
override def showElemStrDecs(way: ShowStyle, decimalPlaces: Int): Strings
Definition Classes
Inherited from:
Show3
override def showElemStrs(way: ShowStyle): Strings
Definition Classes
Inherited from:
Show3
def showSemisNameDecs(maxPlaces: Int, minPlaces: Int): String
Inherited from:
ShowN

A Strings Arr collection of the show methods return values of the elements of this Show Product class.

A Strings Arr collection of the show methods return values of the elements of this Show Product class.

Inherited from:
ShowN
override def str: String
Definition Classes
Inherited from:
ShowN

Show with decimal precision of 0 places.

Show with decimal precision of 0 places.

Inherited from:
ShowDec

Show with decimal precision of 1 place padding with a zero if necessary.

Show with decimal precision of 1 place padding with a zero if necessary.

Inherited from:
ShowDec

Show with decimal precision of 2 places padding with zeros if necessary.

Show with decimal precision of 2 places padding with zeros if necessary.

Inherited from:
ShowDec

Show with decimal precision of 3 places padding with zeros if necessary.

Show with decimal precision of 3 places padding with zeros if necessary.

Inherited from:
ShowDec
final override def syntaxDepth: Int
Definition Classes
Inherited from:
ShowDbl3
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: Persist[Double]
Definition Classes
Inherited from:
ShowDbl3
final implicit override def showT2: Persist[Double]
Definition Classes
Inherited from:
ShowDbl3
final implicit override def showT3: Persist[Double]
Definition Classes
Inherited from:
ShowDbl3