C# 클래스 SharpNeat.DomainsExtra.SinglePoleBalancingBox2d.SinglePoleBalancingWorld

Box2D world for the single pole balancing domain.
상속: SharpNeat.DomainsExtra.Box2D.SimulationWorld
파일 보기 프로젝트 열기: colgreen/sharpneat 1 사용 예제들

공개 메소드들

메소드 설명
InitSimulationWorld ( ) : void

Inititialise world.

SetCartForce ( float n ) : void

Set horizontal force in newtons to apply to cart.

SinglePoleBalancingWorld ( ) : Box2DX.Collision

Construct with default world settings.

SinglePoleBalancingWorld ( float trackLength, float initialPoleAngle ) : Box2DX.Collision

Construct with specified world settings.

보호된 메소드들

메소드 설명
PopulateWorld ( ) : void

Add objects to the Box2d world.

비공개 메소드들

메소드 설명
CreatePole ( Vec2 basePose, float angle, float radius, float friction, float restitution, float density, ushort layers ) : Body

메소드 상세

InitSimulationWorld() 공개 메소드

Inititialise world.
public InitSimulationWorld ( ) : void
리턴 void

PopulateWorld() 보호된 메소드

Add objects to the Box2d world.
protected PopulateWorld ( ) : void
리턴 void

SetCartForce() 공개 메소드

Set horizontal force in newtons to apply to cart.
public SetCartForce ( float n ) : void
n float
리턴 void

SinglePoleBalancingWorld() 공개 메소드

Construct with default world settings.
public SinglePoleBalancingWorld ( ) : Box2DX.Collision
리턴 Box2DX.Collision

SinglePoleBalancingWorld() 공개 메소드

Construct with specified world settings.
public SinglePoleBalancingWorld ( float trackLength, float initialPoleAngle ) : Box2DX.Collision
trackLength float
initialPoleAngle float
리턴 Box2DX.Collision