Packages

class Arrow extends Line

Source
geom.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Arrow
  2. Line
  3. Open
  4. Shape
  5. Segment
  6. Lerp
  7. AnyRef
  8. Any
Implicitly
  1. by richDrxAny
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Arrow(a: Vec, b: Vec)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *(x: Double): Line
    Definition Classes
    Line
  4. def +(that: Vec): Line
    Definition Classes
    Line
  5. def -(that: Vec): Line
    Definition Classes
    Line
  6. def ->[B](y: B): (Arrow, B)
    Implicit
    This member is added by an implicit conversion from Arrow toArrowAssoc[Arrow] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  7. def /(x: Double): Line
    Definition Classes
    Line
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def ^(that: Line): Seq[Vec]
    Definition Classes
    Line
  10. val a: Vec
    Definition Classes
    LineSegment
  11. def applyIf(t: Boolean, f: (Arrow) => Arrow): Arrow
    Implicit
    This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  12. def applyIf(t: (Arrow) => Boolean)(f: (Arrow) => Arrow): Arrow

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  13. def arrowHead(size: Double): Tri
    Definition Classes
    Segment
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. val b: Vec
    Definition Classes
    LineSegment
  16. def bezier: Bezier
    Definition Classes
    Line
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  18. def closest(p: Vec): Vec

    point closest on a segment of two points (a to b) to point p

    point closest on a segment of two points (a to b) to point p

    Definition Classes
    Line
  19. lazy val cm: Vec
    Definition Classes
    Line
  20. lazy val delta: Vec
    Definition Classes
    Line
  21. def dist(p: Vec): Double
    Definition Classes
    Line
  22. lazy val dist: Double
    Definition Classes
    LineSegment
  23. def draw(implicit g: DrawContext): Unit

    generic draw method

    generic draw method

    Definition Classes
    ArrowLineShape
  24. def elementOf(xs: Set[Arrow]): Boolean
    Implicit
    This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  25. def end: Vec

    alias for max

    alias for max

    Definition Classes
    Lerp
  26. def ensuring(cond: (Arrow) => Boolean, msg: => Any): Arrow
    Implicit
    This member is added by an implicit conversion from Arrow toEnsuring[Arrow] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: (Arrow) => Boolean): Arrow
    Implicit
    This member is added by an implicit conversion from Arrow toEnsuring[Arrow] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: Boolean, msg: => Any): Arrow
    Implicit
    This member is added by an implicit conversion from Arrow toEnsuring[Arrow] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. def ensuring(cond: Boolean): Arrow
    Implicit
    This member is added by an implicit conversion from Arrow toEnsuring[Arrow] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  32. def extrude(v: Vec): Poly
    Definition Classes
    Line
  33. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  34. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Arrow toStringFormat[Arrow] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  35. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. def grad(t: Double): Vec
    Definition Classes
    LineSegment
  37. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. def label(text: String, offset: Double = 0): Text
    Definition Classes
    Line
  40. def last: Vec
    Definition Classes
    LineSegment
  41. def left(p: Vec): Boolean
    Definition Classes
    Line
  42. def lerp(t: Double): Vec

    required methods

    required methods

    Definition Classes
    LineSegmentLerp
  43. def max: Vec
    Definition Classes
    Lerp
  44. def mid: Vec

    convenience of the mid value

    convenience of the mid value

    Definition Classes
    Lerp
  45. def min: Vec
    Definition Classes
    Lerp
  46. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  47. def noneIf(f: (Arrow) => Boolean): Option[Arrow]
    Implicit
    This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  48. def normal(implicit rand: Rand): Vec
    Definition Classes
    Lerp
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. def optionIf(f: (Arrow) => Boolean): Option[Arrow]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  52. def orthoDist(p: Vec): Double
    Definition Classes
    Line
  53. def preApply[B](f: (Arrow) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  54. def projectedIntersection(that: Line): Option[Vec]
    Definition Classes
    Line
  55. def pulse(period: Time): Vec
    Definition Classes
    Lerp
  56. def ramp(t: Time)(implicit t0: Date): Vec
    Definition Classes
    Lerp
  57. lazy val rect: Rect
    Definition Classes
    Line
  58. def right(p: Vec): Boolean
    Definition Classes
    Line
  59. def round: Line
    Definition Classes
    Line
  60. def sideEffect(f: (Arrow) => Unit): Arrow

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  61. lazy val slope: Double
    Definition Classes
    Line
  62. def someIf(f: (Arrow) => Boolean): Option[Arrow]
    Implicit
    This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  63. def start: Vec

    alias for min

    alias for min

    Definition Classes
    Lerp
  64. def step(stepDist: Double): Iterable[Vec]
    Definition Classes
    Segment
  65. def swap: Line
    Definition Classes
    Line
  66. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  67. def take(n: Int): Iterable[Vec]
    Definition Classes
    Lerp
  68. val thisAny: Arrow
    Implicit
    This member is added by an implicit conversion from Arrow toDrxAny[Arrow] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  69. def tickCount(stepDist: Double): Int
    Definition Classes
    Segment
  70. def toArrow: Arrow
    Definition Classes
    Line
  71. def toBound: Bound[Vec]
    Definition Classes
    Line
  72. def toBound(implicit b: Boundable[Vec]): Bound[Vec]
    Definition Classes
    Lerp
  73. def toString(): String
    Definition Classes
    AnyRef → Any
  74. def toTuple: (Vec, Vec)
    Definition Classes
    Line
  75. def uniform(implicit rand: Rand): Vec
    Definition Classes
    Lerp
  76. def vertices: List[Vec]
    Definition Classes
    Line
  77. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  78. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  79. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  80. def x2d(that: Line): Double
    Definition Classes
    Line
  81. lazy val yIntercept: Double
    Definition Classes
    Line
  82. def zip[B](xs: Iterable[B]): Iterable[(Vec, B)]
    Definition Classes
    Lerp
  83. def ~(c: Vec): Poly
    Definition Classes
    Line
  84. 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)

    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)

    Definition Classes
    OpenShape
  85. def ~(property: Property): Styled

    initialize shape with a style

    initialize shape with a style

    Definition Classes
    Shape
  86. def ~(style: Style): Styled

    Attach a style to a shape

    Attach a style to a shape

    Definition Classes
    Shape

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Arrow toany2stringadd[Arrow] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (arrow: any2stringadd[Arrow]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def ?>(f: (Arrow) => Boolean): Option[Arrow]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Arrow toDrxAny[Arrow] 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

  2. lazy val bounds: Rect
    Definition Classes
    Line
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.13) use rect for a more direct meaning since bound has other meanings in drx

  3. 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

  4. 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

  5. def |>[B](f: (Arrow) => B): B
    Implicit
    This member is added by an implicit conversion from Arrow toDrxAny[Arrow] 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)

  6. def [B](y: B): (Arrow, B)
    Implicit
    This member is added by an implicit conversion from Arrow toArrowAssoc[Arrow] 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.

Inherited from Line

Inherited from Open

Inherited from Shape

Inherited from Segment

Inherited from Lerp[Vec]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromArrow to DrxAny[Arrow]

Inherited by implicit conversion any2stringadd fromArrow to any2stringadd[Arrow]

Inherited by implicit conversion StringFormat fromArrow to StringFormat[Arrow]

Inherited by implicit conversion Ensuring fromArrow to Ensuring[Arrow]

Inherited by implicit conversion ArrowAssoc fromArrow to ArrowAssoc[Arrow]

Ungrouped