| Package | nape.shape |
| Class | Circle |
| Inheritance |
Circle Shape Interactor |
Circle shape type
Public Properties
| Property | Defined By | |
|
radius : Float Circle radius |
Circle |
Constructor
| Constructor | ||
|
new(radius:Float, ?localCOM:const Vec2, ?material:Material, ?filter:InteractionFilter) Construct a new Circle |
Public Methods
Public Static Methods
| Method | Defined By | |
|
static
copy(circle:const Circle) : Circle Produce deep* copy of Circle |
Circle |
Property Detail
Constructor Detail
function new(radius:Float, ?localCOM:const Vec2, ?material:Material, ?filter:InteractionFilter)Construct Circle with given radius, local centre of mass, material and filter.
● localCOM defaults to (0,0)
● material defaults to new Material()
● filter defaults to new InteractionFilter()
Static Method Detail

Show Inherited Properties