Skip to content

Circle

namespace Griff;
public struct Circle

A circle in world space.

public Box Bounds { get; }

The smallest box around the circle.

public Vector2 Center { get; init; }
public float Radius { get; init; }
public bool Contains(Vector2 point)
public void Deconstruct(out Vector2 Center, out float Radius)
public override bool Equals(object obj)
public bool Equals(Circle other)
public override int GetHashCode()
public bool Overlaps(Circle other)
public bool Overlaps(Box box)
public override string ToString()