|
HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.1
|
A solid circle. More...
Public Member Functions | |
| Circle (Vec2 center, float radius) | |
| Construct a circle shape with a center and radius. | |
| unsafe MassData | ComputeMass (float density) |
| Compute mass properties of this circle. | |
| unsafe AABB | ComputeAABB (in Transform transform) |
| Compute the bounding box of this transformed circle. | |
| unsafe bool | TestPoint (in Vec2 point) |
| Test a point for overlap with this circle in local space. | |
| unsafe CastOutput | RayCast (in RayCastInput input) |
| Ray cast versus this circle shape in local space. Initial overlap is treated as a miss. | |
| unsafe CastOutput | ShapeCast (in ShapeCastInput input) |
| Shape cast versus this circle. Initial overlap is treated as a miss. | |
Public Attributes | |
| Vec2 | Center |
| The local center. | |
| float | Radius |
| The radius. | |
A solid circle.