PackageBox2D.Collision.Shapes
Classpublic class b2CircleShape
Inheritanceb2CircleShape Inheritance b2Shape



Public Properties
 PropertyDefined by
 Inheritedm_body : b2Body
b2Shape
 Inheritedm_categoryBits : uint
b2Shape
 Inheritedm_friction : Number
b2Shape
 Inheritedm_groupIndex : int
b2Shape
  m_localPosition : b2Vec2
b2CircleShape
 Inheritedm_maskBits : uint
b2Shape
 Inheritedm_maxRadius : Number
b2Shape
 Inheritedm_next : b2Shape
b2Shape
 Inheritedm_position : b2Vec2
b2Shape
 Inheritedm_proxyId : uint
b2Shape
 Inheritedm_R : b2Mat22
b2Shape
  m_radius : Number
b2CircleShape
 Inheritedm_restitution : Number
b2Shape
 Inheritedm_type : int
b2Shape
 Inheritedm_userData : * = null
b2Shape
Public Methods
 MethodDefined by
  
b2CircleShape(def:b2ShapeDef, body:b2Body, localCenter:b2Vec2)
b2CircleShape
 Inherited
Create(def:b2ShapeDef, body:b2Body, center:b2Vec2):b2Shape
[static]
b2Shape
 Inherited
Destroy(shape:b2Shape):void
[static]
b2Shape
 Inherited
DestroyProxy():void
b2Shape
 Inherited
b2Shape
 Inherited
GetMaxRadius():Number
b2Shape
 Inherited
b2Shape
 Inherited
b2Shape
 Inherited
b2Shape
 Inherited
GetType():int
b2Shape
 Inherited
b2Shape
 Inherited
PolyCentroid(vs:Array, count:int, out:b2Vec2):void
[static]
b2Shape
 Inherited
PolyMass(massData:b2MassData, vs:Array, count:int, rho:Number):void
[static]
b2Shape
  
QuickSync(position:b2Vec2, R:b2Mat22):void
b2CircleShape
  
ResetProxy(broadPhase:b2BroadPhase):void
b2CircleShape
  
Support(dX:Number, dY:Number, out:b2Vec2):void
b2CircleShape
  
Synchronize(position1:b2Vec2, R1:b2Mat22, position2:b2Vec2, R2:b2Mat22):void
b2CircleShape
  
TestPoint(p:b2Vec2):Boolean
b2CircleShape
Public Constants
 ConstantDefined by
 Inheritede_boxShape : int = 1
[static]
b2Shape
 Inheritede_circleShape : int = 0
[static]
b2Shape
 Inheritede_meshShape : int = 3
[static]
b2Shape
 Inheritede_polyShape : int = 2
[static]
b2Shape
 Inheritede_shapeTypeCount : int = 4
[static]
b2Shape
 Inheritede_unknownShape : int = -1
[static]
b2Shape
Property detail
m_localPositionproperty
public var m_localPosition:b2Vec2
m_radiusproperty 
public var m_radius:Number
Constructor detail
b2CircleShape()constructor
public function b2CircleShape(def:b2ShapeDef, body:b2Body, localCenter:b2Vec2)Parameters
def:b2ShapeDef
 
body:b2Body
 
localCenter:b2Vec2
Method detail
QuickSync()method
public override function QuickSync(position:b2Vec2, R:b2Mat22):voidParameters
position:b2Vec2
 
R:b2Mat22
ResetProxy()method 
public override function ResetProxy(broadPhase:b2BroadPhase):voidParameters
broadPhase:b2BroadPhase
Support()method 
public override function Support(dX:Number, dY:Number, out:b2Vec2):voidParameters
dX:Number
 
dY:Number
 
out:b2Vec2
Synchronize()method 
public override function Synchronize(position1:b2Vec2, R1:b2Mat22, position2:b2Vec2, R2:b2Mat22):voidParameters
position1:b2Vec2
 
R1:b2Mat22
 
position2:b2Vec2
 
R2:b2Mat22
TestPoint()method 
public override function TestPoint(p:b2Vec2):BooleanParameters
p:b2Vec2

Returns
Boolean