trait Segment extends Lerp[Vec]
- Alphabetic
- By Inheritance
- Segment
- Lerp
- AnyRef
- Any
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Segment, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val a: Vec
- def applyIf(t: Boolean, f: (Segment) => Segment): Segment
- Implicit
- This member is added by an implicit conversion from Segment toDrxAny[Segment] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Segment) => Boolean)(f: (Segment) => Segment): Segment
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Segment toDrxAny[Segment] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def arrowHead(size: Double): Tri
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val b: Vec
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def elementOf(xs: Set[Segment]): Boolean
- Implicit
- This member is added by an implicit conversion from Segment toDrxAny[Segment] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def end: Vec
alias for max
alias for max
- Definition Classes
- Lerp
- def ensuring(cond: (Segment) => Boolean, msg: => Any): Segment
- def ensuring(cond: (Segment) => Boolean): Segment
- def ensuring(cond: Boolean, msg: => Any): Segment
- def ensuring(cond: Boolean): Segment
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def max: Vec
- Definition Classes
- Lerp
- def mid: Vec
convenience of the mid value
convenience of the mid value
- Definition Classes
- Lerp
- def min: Vec
- Definition Classes
- Lerp
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (Segment) => Boolean): Option[Segment]
- Implicit
- This member is added by an implicit conversion from Segment toDrxAny[Segment] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def normal(implicit rand: Rand): Vec
- Definition Classes
- Lerp
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (Segment) => Boolean): Option[Segment]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Segment toDrxAny[Segment] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (Segment) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Segment toDrxAny[Segment] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def pulse(period: Time): Vec
- Definition Classes
- Lerp
- def ramp(t: Time)(implicit t0: Date): Vec
- Definition Classes
- Lerp
- def sideEffect(f: (Segment) => Unit): Segment
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Segment toDrxAny[Segment] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Segment) => Boolean): Option[Segment]
- Implicit
- This member is added by an implicit conversion from Segment toDrxAny[Segment] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def start: Vec
alias for min
alias for min
- Definition Classes
- Lerp
- def step(stepDist: Double): Iterable[Vec]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def take(n: Int): Iterable[Vec]
- Definition Classes
- Lerp
- val thisAny: Segment
- Implicit
- This member is added by an implicit conversion from Segment toDrxAny[Segment] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def tickCount(stepDist: Double): Int
- def toBound(implicit b: Boundable[Vec]): Bound[Vec]
- Definition Classes
- Lerp
- def toString(): String
- Definition Classes
- AnyRef → Any
- def uniform(implicit rand: Rand): Vec
- Definition Classes
- Lerp
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def zip[B](xs: Iterable[B]): Iterable[(Vec, B)]
- Definition Classes
- Lerp
Deprecated Value Members
- def ?>(f: (Segment) => Boolean): Option[Segment]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Segment toDrxAny[Segment] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def mean: Vec
- Definition Classes
- Lerp
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
mid
instead since 0.5 may not be the mean
- def steps(N: Int): Seq[Vec]
- Definition Classes
- Lerp
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.4) use take(N:Int) for a more scala semantic
- def |>[B](f: (Segment) => B): B
- Implicit
- This member is added by an implicit conversion from Segment toDrxAny[Segment] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (Segment, B)
- Implicit
- This member is added by an implicit conversion from Segment toArrowAssoc[Segment] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.