HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
|
A solid circle. More...
Public Member Functions | |
Circle (Vec2 center, float radius) | |
Construct a circle shape with a center and radius. | |
MassData | ComputeMass (float density) |
Compute mass properties of this circle. | |
AABB | ComputeAABB (in Transform transform) |
Compute the bounding box of this transformed circle. | |
bool | TestPoint (in Vec2 point) |
Test a point for overlap with this circle in local space. | |
CastOutput | RayCast (in RayCastInput input) |
Ray cast versus this circle shape in local space. Initial overlap is treated as a miss. | |
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.