Circle

indigo.shared.datatypes.Circle
See theCircle companion class
object Circle

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Circle.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(x: Int, y: Int, radius: Int): Circle
def circumcircle(rectangle: Rectangle): Circle

Creates a Circle from a square (rectangles are squared off by the max width/height) such that all of the corners lie on the circle's circumference.

Creates a Circle from a square (rectangles are squared off by the max width/height) such that all of the corners lie on the circle's circumference.

Attributes

def circumcircle(a: Point, b: Point, c: Point): Option[Circle]

Creates a Circle from three points such that all of the points lie on the circle's circumference.

Creates a Circle from three points such that all of the points lie on the circle's circumference.

Attributes

def encompassing(a: Circle, b: Circle): Boolean
def encompassing(a: Circle, b: Rectangle): Boolean
def fromPoint(points: Batch[Point]): Circle
def fromPointCloud(points: Batch[Point]): Circle
def fromTwoPoints(center: Point, boundary: Point): Circle
def incircle(rectangle: Rectangle): Circle

Creates a Circle from a square (rectangles are squared off by the max width/height) where the circle fits inside the square.

Creates a Circle from a square (rectangles are squared off by the max width/height) where the circle fits inside the square.

Attributes

def overlapping(a: Circle, b: Circle): Boolean
def overlapping(a: Circle, b: Rectangle): Boolean
def signedDistanceFunction(point: Point, radius: Int): Int

Deprecated methods

def fromRectangle(rectangle: Rectangle): Circle

Attributes

Deprecated
true

Concrete fields

val zero: Circle

Givens

Givens

given derived$CanEqual: CanEqual[Circle, Circle]