C# 클래스 Box2DX.Collision.CircleShape

A circle shape.
상속: Shape
파일 보기 프로젝트 열기: danielpcox/Crisis-at-Swiss-Station 1 사용 예제들

공개 메소드들

메소드 설명
ComputeAABB ( AABB &aabb, XForm transform ) : void
ComputeMass ( MassData &massData ) : void
ComputeSubmergedArea ( Vec2 normal, float offset, XForm xf, Vec2 &c ) : float
ComputeSweptAABB ( AABB &aabb, XForm transform1, XForm transform2 ) : void
GetLocalPosition ( ) : Vec2

Get the local position of this circle in its parent body.

GetRadius ( ) : float

Get the radius of this circle.

TestPoint ( XForm transform, Vec2 p ) : bool
TestSegment ( XForm transform, float &lambda, Vec2 &normal, Segment segment, float maxLambda ) : SegmentCollide

비공개 메소드들

메소드 설명
CircleShape ( ShapeDef def ) : System
UpdateSweepRadius ( Vec2 center ) : void

메소드 상세

ComputeAABB() 공개 메소드

public ComputeAABB ( AABB &aabb, XForm transform ) : void
aabb AABB
transform Box2DX.Common.XForm
리턴 void

ComputeMass() 공개 메소드

public ComputeMass ( MassData &massData ) : void
massData MassData
리턴 void

ComputeSubmergedArea() 공개 메소드

public ComputeSubmergedArea ( Vec2 normal, float offset, XForm xf, Vec2 &c ) : float
normal Box2DX.Common.Vec2
offset float
xf Box2DX.Common.XForm
c Box2DX.Common.Vec2
리턴 float

ComputeSweptAABB() 공개 메소드

public ComputeSweptAABB ( AABB &aabb, XForm transform1, XForm transform2 ) : void
aabb AABB
transform1 Box2DX.Common.XForm
transform2 Box2DX.Common.XForm
리턴 void

GetLocalPosition() 공개 메소드

Get the local position of this circle in its parent body.
public GetLocalPosition ( ) : Vec2
리턴 Box2DX.Common.Vec2

GetRadius() 공개 메소드

Get the radius of this circle.
public GetRadius ( ) : float
리턴 float

TestPoint() 공개 메소드

public TestPoint ( XForm transform, Vec2 p ) : bool
transform Box2DX.Common.XForm
p Box2DX.Common.Vec2
리턴 bool

TestSegment() 공개 메소드

public TestSegment ( XForm transform, float &lambda, Vec2 &normal, Segment segment, float maxLambda ) : SegmentCollide
transform Box2DX.Common.XForm
lambda float
normal Box2DX.Common.Vec2
segment Segment
maxLambda float
리턴 SegmentCollide