BoundingCircle

indigo.shared.geometry.BoundingCircle
See theBoundingCircle companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self 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: Double, y: Double, radius: Double): BoundingCircle
def circumcircle(a: Vertex, b: Vertex, c: Vertex): Option[BoundingCircle]

Creates a BoundingCircle from three vertices such that all of the vertices lie on the circles circumference.

Creates a BoundingCircle from three vertices such that all of the vertices lie on the circles circumference.

Attributes

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

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

Attributes

def encompassing(a: BoundingCircle, b: BoundingBox): Boolean

Creates a BoundingCircle from three vertices such that all of the vertices lie on the circles circumference.

Creates a BoundingCircle from three vertices such that all of the vertices lie on the circles circumference.

Attributes

def fromTwoVertices(center: Vertex, boundary: Vertex): BoundingCircle

Creates a BoundingCircle from two vertices where the first represents the center of the circle and the second is used to calculate the radius by measuring the distance to the center.

Creates a BoundingCircle from two vertices where the first represents the center of the circle and the second is used to calculate the radius by measuring the distance to the center.

Attributes

Creates a BoundingCircle that contains all of the points provided.

Creates a BoundingCircle that contains all of the points provided.

Attributes

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

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

Attributes

def lineIntersects(boundingCircle: BoundingCircle, line: LineSegment): Boolean
def overlapping(a: BoundingCircle, b: BoundingBox): Boolean
def signedDistanceFunction(point: Vertex, radius: Double): Double

Deprecated methods

Attributes

Deprecated
true

Attributes

Deprecated
true

Concrete fields

Givens