Packageptolemy.geom3D.unfolding
Classpublic class Cube
InheritanceCube Inheritance Solid Inheritance ptolemy.geom3D.core.Logic
Implements Iunfolding



Public Properties
 PropertyDefined By
 Inheritedabout : SpatialVector
Solid
 Inheritedangle : Number
Solid
 Inheritedcolors : Array
Solid
 InheriteddirectTransformation : Transformation
Solid
  drawCenters : Boolean
Cube
 Inheritedfaces : Array
[read-only]
Solid
 InheritedoutlineColor : uint
Solid
 InheritedoutlineWidth : int
Solid
 InheritedperspectiveDepth : Number
[read-only]
Solid
  proportion : Number
Cube
Public Methods
 MethodDefined By
  
Cube(sideLength:int, proportion:Number = 1)
Cube
  
arrangement(i:int):void
Cube
 Inherited
[override]
Solid
  
doDrawCenters(g:Graphics):void
Cube
 Inherited
draw(g:Graphics):void
Solid
Protected Methods
 MethodDefined By
 Inherited
[override]
Solid
Property Detail
drawCentersproperty
drawCenters:Boolean


Implementation
    public function get drawCenters():Boolean
    public function set drawCenters(value:Boolean):void
proportionproperty 
proportion:Number


Implementation
    public function get proportion():Number
    public function set proportion(value:Number):void
Constructor Detail
Cube()Constructor
public function Cube(sideLength:int, proportion:Number = 1)



Parameters
sideLength:int
 
proportion:Number (default = 1)
Method Detail
arrangement()method
public function arrangement(i:int):void

Parameters

i:int

doDrawCenters()method 
public function doDrawCenters(g:Graphics):void

Parameters

g:Graphics