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

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

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
|  | perspectiveDepth : Number [read-only] | Solid

Public Methods

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

Protected Methods

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

Property Detail

about | property

`about:SpatialVector`

Implementation
`public function get about():SpatialVector`
`public function set about(value:SpatialVector):void`

angle | property |

`angle:Number`

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

colors | property |

`colors:Array`

Implementation
`public function get colors():Array`
`public function set colors(value:Array):void`

directTransformation | property |

`directTransformation:Transformation`

Implementation
`public function get directTransformation():Transformation`
`public function set directTransformation(value:Transformation):void`

faces | property |

`faces:Array` [read-only]

Implementation
`public function get faces():Array`

outlineColor | property |

`outlineColor:uint`

Implementation
`public function get outlineColor():uint`
`public function set outlineColor(value:uint):void`

outlineWidth | property |

`outlineWidth:int`

Implementation
`public function get outlineWidth():int`
`public function set outlineWidth(value:int):void`

perspectiveDepth | property |

`perspectiveDepth:Number` [read-only]

Implementation
`public function get perspectiveDepth():Number`
Constructor Detail

Solid | () | Constructor

`public function Solid(... faces)`

Parameters

| `... faces`

Method Detail

calculate | () | method

`override public function calculate(t:Transformation, e:Eye):void`

Parameters

| `t:Transformation`
| `e:Eye`

doCalculation | () | method |

`override protected function doCalculation(t:Transformation, e:Eye):void`

Parameters

| `t:Transformation`
| `e:Eye`

draw | () | method |

`public function draw(g:Graphics):void`

Parameters

| `g:Graphics`

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