Packages

case class Poly(vertices: Seq[Vec]) extends Closed with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Poly
  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 Poly(vertices: Seq[Vec])

Type Members

  1. sealed trait Kind extends AnyRef
  2. case class V(v: Vec, k: Kind) extends Product with Serializable

Value Members

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

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Poly toDrxAny[Poly] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  9. lazy val area: Double
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clip(that: Poly): Seq[Poly]
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def closest(p: Vec): Vec
  14. lazy val cm: Vec
  15. def contains(t: Vec): Boolean
  16. lazy val convex: Poly
  17. def dist(p: Vec): Double
  18. def draw(implicit g: DrawContext): Unit

    generic draw method

    generic draw method

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

    optionally wrap an object

    optionally wrap an object

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

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Poly toDrxAny[Poly] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  37. def productElementNames: Iterator[String]
    Definition Classes
    Product
  38. lazy val rect: Rect
  39. lazy val segments: Seq[Line]
  40. def sideEffect(f: (Poly) => Unit): Poly

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Poly toDrxAny[Poly] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  41. def someIf(f: (Poly) => Boolean): Option[Poly]
    Implicit
    This member is added by an implicit conversion from Poly toDrxAny[Poly] 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: Poly
    Implicit
    This member is added by an implicit conversion from Poly toDrxAny[Poly] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  44. val valid: Boolean
  45. val vertices: Seq[Vec]
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. def weiler_atherton(that: Poly, merge: Boolean): (Seq[Poly], Seq[V], Seq[V])
  50. def ~(that: Poly): Polys
  51. def ~(v: Vec): Poly
  52. 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
  53. def ~(property: Property): Styled

    initialize shape with a style

    initialize shape with a style

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

    Attach a style to a shape

    Attach a style to a shape

    Definition Classes
    Shape
  55. case object Clip extends Kind with Product with Serializable
  56. case object Enter extends Kind with Product with Serializable
  57. case object Exit extends Kind with Product with Serializable
  58. case object Subj extends Kind with Product with Serializable

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Poly toany2stringadd[Poly] 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:
    (poly: any2stringadd[Poly]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

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

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Poly toDrxAny[Poly] 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 ^(that: Poly): Seq[Poly]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.1) use clip instead

  3. lazy val bounds: Rect
    Annotations
    @deprecated
    Deprecated

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

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

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

Inherited by implicit conversion any2stringadd fromPoly to any2stringadd[Poly]

Inherited by implicit conversion StringFormat fromPoly to StringFormat[Poly]

Inherited by implicit conversion Ensuring fromPoly to Ensuring[Poly]

Inherited by implicit conversion ArrowAssoc fromPoly to ArrowAssoc[Poly]

Ungrouped