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

Package | ptolemy.geom3D.core
Class | public class RegularFace
Inheritance | RegularFace Face ptolemy.geom3D.core.Logic

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | about : SpatialVector | RegularFace
|  | alpha : Number | Face
|  | angle : Number | RegularFace
|  | center : Point [read-only] | RegularFace
|  | drawCenter : Boolean = false | RegularFace
|  | fillColor : uint | Face
|  | length : Number | RegularFace
|  | outlineColor : uint | Face
|  | outlineWidth : int | Face
|  | padding : Number padding | RegularFace
|  | perspectiveDepth : Number [read-only] | Face
|  | points : Array [read-only] | Face
|  | sides : int | RegularFace
|  | x : Number | RegularFace
|  | y : Number | RegularFace
|  | z : Number | RegularFace

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined By
--- | --- | ---
|  | _fillColor : uint = 0xFF000099 | Face
|  | _outlineColor : uint = 0x000000FF | Face
|  | _outlineWidth : int = 0 | Face
|  | _points : Array | Face

Public Methods

| Method | Defined By
--- | --- | ---
|  | RegularFace(sides:int, length:Number, x:Number = 0, y:Number = 0, z:Number = 0) | RegularFace
|  | calculate(t:Transformation, e:Eye):void [override] | RegularFace
|  | draw(g:Graphics):void [override] | RegularFace
|  | toString():String [override] | RegularFace

Protected Methods
Show Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined By
--- | --- | ---
|  | doCalculation(t:Transformation, e:Eye):void [override] | RegularFace
|  | doPaddingCalculation(t:Transformation, e:Eye):void | RegularFace
|  | doPaddingDraw(g:Graphics):void | RegularFace
|  | doPostChildrenCalculation():void [override] | Face
|  | paddingCalculate(t:Transformation, e:Eye):void | RegularFace

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`

center | property |

`center:Point` [read-only]

Implementation
`public function get center():Point`

drawCenter | property |

`public var drawCenter:Boolean = false`

length | property |

`length:Number`

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

padding | property |

`padding:Number`

padding

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

sides | property |

`sides:int`

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

x | property |

`x:Number`

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

y | property |

`y:Number`

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

z | property |

`z:Number`

Implementation
`public function get z():Number`
`public function set z(value:Number):void`
Constructor Detail

RegularFace | () | Constructor

`public function RegularFace(sides:int, length:Number, x:Number = 0, y:Number = 0, z:Number = 0)`

Parameters

| `sides:int`
| `length:Number`
| `x:Number` (default = `0`)``
| `y:Number` (default = `0`)``
| `z:Number` (default = `0`)``

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`

doPaddingCalculation | () | method |

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

Parameters

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

doPaddingDraw | () | method |

`protected function doPaddingDraw(g:Graphics):void`

Parameters

| `g:Graphics`

draw | () | method |

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

Parameters

| `g:Graphics`

paddingCalculate | () | method |

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

Parameters

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

toString | () | method |

`override public function toString():String`

Returns

| `String`

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