BoundingCircle

final case
class BoundingCircle(position: Vertex, radius: Double)
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

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 distanceToBoundary(vertex: Vertex): Double
def distanceToBoundary(vector: Vector2): Double
def encompasses(other: BoundingCircle): Boolean
def lineIntersects(line: LineSegment): Boolean
def moveBy(x: Double, y: Double): BoundingCircle
def moveTo(newPosition: Vertex): BoundingCircle
def moveTo(x: Double, y: Double): BoundingCircle
def moveTo(newPosition: Vector2): BoundingCircle
def overlaps(other: BoundingCircle): Boolean
def resize(newRadius: Double): BoundingCircle
def sdf(vertex: Vertex): Double
def sdf(vector: Vector2): Double

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

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