# BoundingCircle

indigo.shared.geometry.BoundingCircle
See theBoundingCircle companion object
final case class BoundingCircle(position: Vertex, radius: Double)

## Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

## Members list

### Value members

#### Concrete methods

def *(d: Double): BoundingCircle
def +(d: Double): BoundingCircle
def -(d: Double): BoundingCircle
def /(d: Double): BoundingCircle
def contains(vertex: Vertex): Boolean
def contains(x: Double, y: Double): Boolean
def contains(vector: Vector2): Boolean
def contract(by: Double): BoundingCircle
def distanceToBoundary(vertex: Vertex): Double
def distanceToBoundary(vector: Vector2): Double
def encompasses(other: BoundingCircle): Boolean
def encompasses(other: BoundingBox): Boolean
def expand(by: Double): BoundingCircle
def lineIntersects(line: LineSegment): Boolean
def moveBy(amount: Vertex): BoundingCircle
def moveBy(x: Double, y: Double): BoundingCircle
def moveBy(amount: Vector2): BoundingCircle
def moveTo(newPosition: Vertex): BoundingCircle
def moveTo(x: Double, y: Double): BoundingCircle
def moveTo(newPosition: Vector2): BoundingCircle
def overlaps(other: BoundingCircle): Boolean
def overlaps(other: BoundingBox): Boolean
def overlaps(other: LineSegment): Boolean
def reflect(ray: LineSegment): Option[ReflectionData]

Reflects the incoming 'ray' off of the BoundingCircle.

Reflects the incoming 'ray' off of the BoundingCircle.

## Attributes

def resizeBy(amount: Double): BoundingCircle
def sdf(vertex: Vertex): Double
def sdf(vector: Vector2): Double
def ~==(other: BoundingCircle): Boolean

Deprecated
true

## Attributes

Deprecated
true

#### Inherited methods

def productElementNames: Iterator[String]

## Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

## Attributes

Inherited from:
Product

#### Concrete fields

lazy val bottom: Double
lazy val center: Vertex
lazy val diameter: Double
lazy val left: Double
lazy val right: Double
lazy val top: Double
lazy val x: Double
lazy val y: Double