C# Class FarseerPhysics.Collision.Shapes.CircleShape

Inheritance: Shape
Afficher le fichier Open project: prime31/Nez Class Usage Examples

Méthodes publiques

Méthode Description
CircleShape ( float radius, float density ) : System

Create a new circle with the desired radius and density.

CompareTo ( CircleShape shape ) : bool

Compare the circle to another circle

clone ( ) : Shape
computeAABB ( AABB &aabb, Transform &transform, int childIndex ) : void
computeSubmergedArea ( Vector2 &normal, float offset, Transform &xf, Vector2 &sc ) : float
rayCast ( RayCastOutput &output, RayCastInput &input, Transform &transform, int childIndex ) : bool
testPoint ( Transform &transform, Vector2 &point ) : bool

Méthodes protégées

Méthode Description
computeProperties ( ) : void

Private Methods

Méthode Description
CircleShape ( ) : System

Method Details

CircleShape() public méthode

Create a new circle with the desired radius and density.
public CircleShape ( float radius, float density ) : System
radius float The radius of the circle.
density float The density of the circle.
Résultat System

CompareTo() public méthode

Compare the circle to another circle
public CompareTo ( CircleShape shape ) : bool
shape CircleShape The other circle
Résultat bool

clone() public méthode

public clone ( ) : Shape
Résultat Shape

computeAABB() public méthode

public computeAABB ( AABB &aabb, Transform &transform, int childIndex ) : void
aabb AABB
transform Transform
childIndex int
Résultat void

computeProperties() protected final méthode

protected final computeProperties ( ) : void
Résultat void

computeSubmergedArea() public méthode

public computeSubmergedArea ( Vector2 &normal, float offset, Transform &xf, Vector2 &sc ) : float
normal Vector2
offset float
xf Transform
sc Vector2
Résultat float

rayCast() public méthode

public rayCast ( RayCastOutput &output, RayCastInput &input, Transform &transform, int childIndex ) : bool
output RayCastOutput
input RayCastInput
transform Transform
childIndex int
Résultat bool

testPoint() public méthode

public testPoint ( Transform &transform, Vector2 &point ) : bool
transform Transform
point Vector2
Résultat bool