C# Class FarseerPhysics.Common.Decomposition.Seidel.Trapezoid

Afficher le fichier Open project: tinco/Farseer-Physics Class Usage Examples

Méthodes publiques

Свойство Type Description
Bottom Edge
Inside bool
LeftPoint Point
LowerLeft Trapezoid
LowerRight Trapezoid
RightPoint Point
Sink Sink
Top Edge
UpperLeft Trapezoid
UpperRight Trapezoid

Méthodes publiques

Méthode Description
AddPoints ( ) : void
Contains ( Point point ) : bool
GetVertices ( ) : List
Trapezoid ( Point leftPoint, Point rightPoint, Edge top, Edge bottom ) : System.Collections.Generic
TrimNeighbors ( ) : void
UpdateLeft ( Trapezoid ul, Trapezoid ll ) : void
UpdateLeftRight ( Trapezoid ul, Trapezoid ll, Trapezoid ur, Trapezoid lr ) : void
UpdateRight ( Trapezoid ur, Trapezoid lr ) : void

Private Methods

Méthode Description
LineIntersect ( Edge edge, float x ) : Point

Method Details

AddPoints() public méthode

public AddPoints ( ) : void
Résultat void

Contains() public méthode

public Contains ( Point point ) : bool
point Point
Résultat bool

GetVertices() public méthode

public GetVertices ( ) : List
Résultat List

Trapezoid() public méthode

public Trapezoid ( Point leftPoint, Point rightPoint, Edge top, Edge bottom ) : System.Collections.Generic
leftPoint Point
rightPoint Point
top Edge
bottom Edge
Résultat System.Collections.Generic

TrimNeighbors() public méthode

public TrimNeighbors ( ) : void
Résultat void

UpdateLeft() public méthode

public UpdateLeft ( Trapezoid ul, Trapezoid ll ) : void
ul Trapezoid
ll Trapezoid
Résultat void

UpdateLeftRight() public méthode

public UpdateLeftRight ( Trapezoid ul, Trapezoid ll, Trapezoid ur, Trapezoid lr ) : void
ul Trapezoid
ll Trapezoid
ur Trapezoid
lr Trapezoid
Résultat void

UpdateRight() public méthode

public UpdateRight ( Trapezoid ur, Trapezoid lr ) : void
ur Trapezoid
lr Trapezoid
Résultat void

Property Details

Bottom public_oe property

public Edge,FarseerPhysics.Common.Decomposition.Seidel Bottom
Résultat Edge

Inside public_oe property

public bool Inside
Résultat bool

LeftPoint public_oe property

public Point,FarseerPhysics.Common.Decomposition.Seidel LeftPoint
Résultat Point

LowerLeft public_oe property

public Trapezoid,FarseerPhysics.Common.Decomposition.Seidel LowerLeft
Résultat Trapezoid

LowerRight public_oe property

public Trapezoid,FarseerPhysics.Common.Decomposition.Seidel LowerRight
Résultat Trapezoid

RightPoint public_oe property

public Point,FarseerPhysics.Common.Decomposition.Seidel RightPoint
Résultat Point

Sink public_oe property

public Sink,FarseerPhysics.Common.Decomposition.Seidel Sink
Résultat Sink

Top public_oe property

public Edge,FarseerPhysics.Common.Decomposition.Seidel Top
Résultat Edge

UpperLeft public_oe property

public Trapezoid,FarseerPhysics.Common.Decomposition.Seidel UpperLeft
Résultat Trapezoid

UpperRight public_oe property

public Trapezoid,FarseerPhysics.Common.Decomposition.Seidel UpperRight
Résultat Trapezoid