case class Bezier(a: Vec, ca: Vec, cb: Vec, b: Vec) extends Segment with Open with Product with Serializable
- Source
- geom.scala
- Alphabetic
- By Inheritance
- Bezier
- Serializable
- Product
- Equals
- Open
- Shape
- Segment
- Lerp
- AnyRef
- Any
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
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): (Bezier, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val a: Vec
- def applyIf(t: Boolean, f: (Bezier) => Bezier): Bezier
- Implicit
- This member is added by an implicit conversion from Bezier toDrxAny[Bezier] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Bezier) => Boolean)(f: (Bezier) => Bezier): Bezier
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Bezier toDrxAny[Bezier] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyNonLinear(t: Double): Vec
parametric evaluation to get the location point
- def arrowHead(size: Double): Tri
- Definition Classes
- Segment
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val b: Vec
- val ca: Vec
- val cb: Vec
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val dist: Double
- def draw(implicit g: DrawContext): Unit
generic draw method
- def elementOf(xs: Set[Bezier]): Boolean
- Implicit
- This member is added by an implicit conversion from Bezier toDrxAny[Bezier] 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: (Bezier) => Boolean, msg: => Any): Bezier
- def ensuring(cond: (Bezier) => Boolean): Bezier
- def ensuring(cond: Boolean, msg: => Any): Bezier
- def ensuring(cond: Boolean): Bezier
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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 grad(td: Double): Vec
- def gradNonLinear(t: Double): Vec
parametric evaluation of to get the slope at a point
- def hh: Bezier
- def hv: Bezier
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def last: Vec
- def lerp(td: Double): Vec
required methods
- 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: (Bezier) => Boolean): Option[Bezier]
- Implicit
- This member is added by an implicit conversion from Bezier toDrxAny[Bezier] 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: (Bezier) => Boolean): Option[Bezier]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Bezier toDrxAny[Bezier] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (Bezier) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Bezier toDrxAny[Bezier] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def pulse(period: Time): Vec
- Definition Classes
- Lerp
- def ramp(t: Time)(implicit t0: Date): Vec
- Definition Classes
- Lerp
- def sideEffect(f: (Bezier) => Unit): Bezier
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Bezier toDrxAny[Bezier] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Bezier) => Boolean): Option[Bezier]
- Implicit
- This member is added by an implicit conversion from Bezier toDrxAny[Bezier] 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]
- Definition Classes
- Segment
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def take(n: Int): Iterable[Vec]
- Definition Classes
- Lerp
- val thisAny: Bezier
- Implicit
- This member is added by an implicit conversion from Bezier toDrxAny[Bezier] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def tickCount(stepDist: Double): Int
- Definition Classes
- Segment
- def toBound(implicit b: Boundable[Vec]): Bound[Vec]
- Definition Classes
- Lerp
- def uniform(implicit rand: Rand): Vec
- Definition Classes
- Lerp
- def vh: Bezier
- def vv: Bezier
- 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
- def ~(color: Color): Styled
provide a quick automatic way to set a fill or stroke all shapes have a stroke even if they can be filled (but the ClosedShape overrides this to provide a fill color)
- def ~(property: Property): Styled
initialize shape with a style
initialize shape with a style
- Definition Classes
- Shape
- def ~(style: Style): Styled
Attach a style to a shape
Attach a style to a shape
- Definition Classes
- Shape
Deprecated Value Members
- def ?>(f: (Bezier) => Boolean): Option[Bezier]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Bezier toDrxAny[Bezier] 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 apply(t: Double): Vec
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) since this extends lerp, the apply doesn't do what you may think use applyNonLinear to be more specific
- 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: (Bezier) => B): B
- Implicit
- This member is added by an implicit conversion from Bezier toDrxAny[Bezier] 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): (Bezier, B)
- Implicit
- This member is added by an implicit conversion from Bezier toArrowAssoc[Bezier] 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.