Packages

case class Ellipse(c: Vec, r: Vec, rotation: Angle = Angle(0)) extends Closed with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ellipse
  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 Ellipse(c: Vec, r: Vec, rotation: Angle = Angle(0))

Value Members

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

    better chaining for types

    better chaining for types

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

    generic draw method

    generic draw method

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

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Ellipse toDrxAny[Ellipse] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  37. def pdf(t: Vec): Double
  38. lazy val perimeter: Double
  39. def preApply[B](f: (Ellipse) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Ellipse toDrxAny[Ellipse] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  40. def productElementNames: Iterator[String]
    Definition Classes
    Product
  41. val r: Vec
  42. def relativeDist(p: Vec): Double
  43. def relativeDist2(p: Vec): Double
  44. val rotation: Angle
  45. def rz(a: Angle): Ellipse
  46. def sampleNormal(implicit rand: Rand): Vec
  47. def sideEffect(f: (Ellipse) => Unit): Ellipse

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Ellipse toDrxAny[Ellipse] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  48. def someIf(f: (Ellipse) => Boolean): Option[Ellipse]
    Implicit
    This member is added by an implicit conversion from Ellipse toDrxAny[Ellipse] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. val thisAny: Ellipse
    Implicit
    This member is added by an implicit conversion from Ellipse toDrxAny[Ellipse] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  51. def toPath: Path

    represent the ellipse as a path (bezier curves) useful for drawing contexts that don't have circ or arc 2bez: crude approx: https://stackoverflow.com/a/22035723/622016 4bez: https://stackoverflow.com/a/2173084/622016 book: interactive bezier book: https://pomax.github.io/bezierinfo/#circles_cubic

  52. lazy val w: Double
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  56. 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
  57. def ~(property: Property): Styled

    initialize shape with a style

    initialize shape with a style

    Definition Classes
    Shape
  58. 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 Ellipse toany2stringadd[Ellipse] 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:
    (ellipse: any2stringadd[Ellipse]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

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

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Ellipse toDrxAny[Ellipse] 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: (Ellipse) => B): B
    Implicit
    This member is added by an implicit conversion from Ellipse toDrxAny[Ellipse] 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): (Ellipse, B)
    Implicit
    This member is added by an implicit conversion from Ellipse toArrowAssoc[Ellipse] 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 fromEllipse to DrxAny[Ellipse]

Inherited by implicit conversion any2stringadd fromEllipse to any2stringadd[Ellipse]

Inherited by implicit conversion StringFormat fromEllipse to StringFormat[Ellipse]

Inherited by implicit conversion Ensuring fromEllipse to Ensuring[Ellipse]

Inherited by implicit conversion ArrowAssoc fromEllipse to ArrowAssoc[Ellipse]

Ungrouped