Packages

case class Tri(a: Vec, b: Vec, c: Vec) extends Closed with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tri
  2. Serializable
  3. Product
  4. Equals
  5. Closed
  6. Shape
  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 Tri(a: Vec, b: Vec, c: Vec)

Value Members

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

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Tri toDrxAny[Tri] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  10. def area: Double
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. val b: Vec
  13. val c: Vec
  14. def circ: Circ
  15. def circCenter: Vec
  16. def circContains(t: Vec): Boolean

    an optimized faster way of using circ.contains(t) without the sqrt

  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 including segments

  19. def colinear: Boolean
  20. def contains(t: Vec): Boolean

    a fast barycentric test with short circuiting

  21. def draw(implicit g: DrawContext): Unit

    generic draw method

    generic draw method

    Definition Classes
    TriShape
  22. def elementOf(xs: Set[Tri]): Boolean
    Implicit
    This member is added by an implicit conversion from Tri toDrxAny[Tri] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  23. def ensuring(cond: (Tri) => Boolean, msg: => Any): Tri
    Implicit
    This member is added by an implicit conversion from Tri toEnsuring[Tri] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: (Tri) => Boolean): Tri
    Implicit
    This member is added by an implicit conversion from Tri toEnsuring[Tri] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: Boolean, msg: => Any): Tri
    Implicit
    This member is added by an implicit conversion from Tri toEnsuring[Tri] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: Boolean): Tri
    Implicit
    This member is added by an implicit conversion from Tri toEnsuring[Tri] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  29. def flip: Tri
  30. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Tri toStringFormat[Tri] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  31. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def noneIf(f: (Tri) => Boolean): Option[Tri]
    Implicit
    This member is added by an implicit conversion from Tri toDrxAny[Tri] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def optionIf(f: (Tri) => Boolean): Option[Tri]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Tri toDrxAny[Tri] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  38. def preApply[B](f: (Tri) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Tri toDrxAny[Tri] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  39. def productElementNames: Iterator[String]
    Definition Classes
    Product
  40. def sideEffect(f: (Tri) => Unit): Tri

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Tri toDrxAny[Tri] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  41. def someIf(f: (Tri) => Boolean): Option[Tri]
    Implicit
    This member is added by an implicit conversion from Tri toDrxAny[Tri] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. val thisAny: Tri
    Implicit
    This member is added by an implicit conversion from Tri toDrxAny[Tri] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  44. lazy val toPoly: Poly
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. 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
    ClosedShape
  49. def ~(property: Property): Styled

    initialize shape with a style

    initialize shape with a style

    Definition Classes
    Shape
  50. 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 Tri toany2stringadd[Tri] 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:
    (tri: any2stringadd[Tri]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

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

    alias for option if

    alias for option if

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

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

Inherited from Product

Inherited from Equals

Inherited from Closed

Inherited from Shape

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromTri to DrxAny[Tri]

Inherited by implicit conversion any2stringadd fromTri to any2stringadd[Tri]

Inherited by implicit conversion StringFormat fromTri to StringFormat[Tri]

Inherited by implicit conversion Ensuring fromTri to Ensuring[Tri]

Inherited by implicit conversion ArrowAssoc fromTri to ArrowAssoc[Tri]

Ungrouped