C# (CSharp) FarseerPhysics.Collision 네임스페이스

중첩된 네임스페이스

FarseerPhysics.Collision.Shapes

클래스들

이름 설명
AABB An axis aligned bounding box.
ClipVertex Used for computing contact manifolds.
Collision
Collision.EPAxis
Collision.EPCollider
ContactFeature The features that intersect to form the contact point This must be 4 bytes or less.
ContactID
Distance The Gilbert–Johnson–Keerthi distance algorithm that provides the distance between shapes.
DistanceInput Input for ComputeDistance. You have to option to use the shape radii in the computation.
DistanceOutput Output for ComputeDistance.
DistanceProxy A distance proxy is used by the GJK algorithm. It encapsulates any shape.
EPAxis This structure is used to keep track of the best separating axis.
Manifold A manifold for two touching convex Shapes. Box2D supports multiple types of contact: - clip point versus plane with radius - point versus point with radius (circles) The local point usage depends on the manifold type: -ShapeType.Circles: the local center of circleA -SeparationFunction.FaceA: the center of faceA -SeparationFunction.FaceB: the center of faceB Similarly the local normal usage: -ShapeType.Circles: not used -SeparationFunction.FaceA: the normal on polygonA -SeparationFunction.FaceB: the normal on polygonB We store contacts in this way so that position correction can account for movement, which is critical for continuous physics. All contact scenarios must be expressed in one of these types. This structure is stored across time steps, so we keep it small.
ManifoldPoint A manifold point is a contact point belonging to a contact manifold. It holds details related to the geometry and dynamics of the contact points. The local point usage depends on the manifold type: -ShapeType.Circles: the local center of circleB -SeparationFunction.FaceA: the local center of cirlceB or the clip point of polygonB -SeparationFunction.FaceB: the clip point of polygonA This structure is stored across time steps, so we keep it small. Note: the impulses are used for internal caching and may not provide reliable contact forces, especially for high speed collisions.
RayCastInput Ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
RayCastOutput Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from RayCastInput.
ReferenceFace Reference face used for clipping
SeparationFunction
Simplex
SimplexCache Used to warm start ComputeDistance. Set count to zero on first call.
SimplexVertex
TOIInput Input parameters for CalculateTimeOfImpact
TOIOutput
TempPolygon This holds polygon B expressed in frame A.
TimeOfImpact
WorldManifold This is used to compute the current state of a contact manifold.