GODPAPER | All Packages | All Classes | Index | Frames No Frames |
Platonic

Package | ptolemy.geom3D.platonic
Class | public class Platonic
Inheritance | Platonic Solid ptolemy.geom3D.core.Logic
Subclasses | Dodecahedron, Icosahedron, Octahedron

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | about : SpatialVector | Solid
|  | angle : Number | Solid
|  | colors : Array | Solid
|  | directTransformation : Transformation | Solid
|  | faces : Array [read-only] | Solid
|  | outlineColor : uint | Solid
|  | outlineWidth : int | Solid
|  | padding : Number | Platonic
|  | perspectiveDepth : Number [read-only] | Solid
|  | sideLength : int | Platonic

Protected Properties

| Property | Defined By
--- | --- | ---
|  | _padding : Number | Platonic
|  | _sideLength : int | Platonic

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | Platonic(sideLength:int, ... faces) | Platonic
|  | calculate(t:Transformation, e:Eye):void [override] | Solid
|  | draw(g:Graphics):void | Solid

Protected Methods
Show Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined By
--- | --- | ---
|  | doCalculation(t:Transformation, e:Eye):void [override] | Solid
|  | update(arr:Array):Array | Platonic

Property Detail

_padding | property

`protected var _padding:Number`

_sideLength | property |

`protected var _sideLength:int`

padding | property |

`padding:Number`

Implementation
`public function get padding():Number`
`public function set padding(value:Number):void`

sideLength | property |

`sideLength:int`

Implementation
`public function get sideLength():int`
`public function set sideLength(value:int):void`
Constructor Detail

Platonic | () | Constructor

`public function Platonic(sideLength:int, ... faces)`

Parameters

| `sideLength:int`
| `... faces`

Method Detail

update | () | method

`protected function update(arr:Array):Array`

Parameters

| `arr:Array`

Returns

| `Array`

Thu Jan 16 2014, 01:11 PM +08:00