Circle
namespace Griff;
public struct CircleA circle in world space.
Properties
Section titled “Properties”Bounds
Section titled “Bounds”public Box Bounds { get; }The smallest box around the circle.
Center
Section titled “Center”public Vector2 Center { get; init; }Radius
Section titled “Radius”public float Radius { get; init; }Methods
Section titled “Methods”Contains
Section titled “Contains”public bool Contains(Vector2 point)Deconstruct
Section titled “Deconstruct”public void Deconstruct(out Vector2 Center, out float Radius)Equals
Section titled “Equals”public override bool Equals(object obj)Equals
Section titled “Equals”public bool Equals(Circle other)GetHashCode
Section titled “GetHashCode”public override int GetHashCode()Overlaps
Section titled “Overlaps”public bool Overlaps(Circle other)Overlaps
Section titled “Overlaps”public bool Overlaps(Box box)ToString
Section titled “ToString”public override string ToString()