Bounds.BoundingCircle
Description: Defines a circle that can be used to detect intersections.
Constructors
Fields
Radius: number
Gets or sets the Radius of the circle.
Inherited from: Bounds.Bounds2d
Rotation: number
Gets or sets the Rotation of the bounds.
Methods
Scale()
Scales the radius of the BoundingCircle.
Area()
Calculates the area of the BoundingCircle.
Circumference()
Calculates the circumference of the BoundingCircle.
IntersectsCircle()
Determines if the current BoundingCircle is intersecting the provided BoundingCircle.
IntersectsRectangle()
Determines if the current BoundingCircle is intersecting the provided BoundingRectangle.
ContainsPoint()
Determines if the current BoundingCircle contains the provided Vector2d.
ContainsCircle()
Determines if the current BoundingCircle completely contains the provided BoundingCircle.
ContainsRectangle()
Determines if the current BoundingCircle completely contains the provided BoundingRectangle.
Inherited from: Bounds.Bounds2d
Contains()
Abstract: Determines if the current bounded object contains the provided Vector2d.
Intersects()
Determines if the current bounded object intersects another bounded object.
Examples
There's currently no example available for this page. If you'd like to suggest one send me an containing a description, code, and link to the page for the suggested example. As a thanks I'll associate the code snippet with your name directly below the example if approved.