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

Package | ptolemy.geom3D.core
Class | public class Point
Inheritance | Point ptolemy.geom3D.core.Logic
Subclasses | Vertex

Public Properties

| Property | Defined By
--- | --- | ---
|  | perspectiveDepth : Number [read-only] | Point
|  | x : Number | Point
|  | y : Number | Point
|  | z : Number | Point

Protected Properties

| Property | Defined By
--- | --- | ---
|  | _perspective : Array | Point
|  | _x : Number | Point
|  | _y : Number | Point
|  | _z : Number | Point

Public Methods

| Method | Defined By
--- | --- | ---
|  | Point(x:Number = 0, y:Number = 0, z:Number = 0) | Point
|  | clone():Point | Point
|  | debug():String | Point
|  | draw(g:Graphics):Boolean | Point
|  | lineTo(g:Graphics):Boolean | Point
|  | moveTo(g:Graphics):Boolean | Point
|  | toString():String | Point
|  | update(x:Number, y:Number, z:Number):void | Point

Protected Methods

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

Property Detail

_perspective | property

`protected var _perspective:Array`

_x | property |

`protected var _x:Number`

_y | property |

`protected var _y:Number`

_z | property |

`protected var _z:Number`

perspectiveDepth | property |

`perspectiveDepth:Number` [read-only]

Implementation
`public function get perspectiveDepth():Number`

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

Point | () | Constructor

`public function Point(x:Number = 0, y:Number = 0, z:Number = 0)`

Parameters

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

Method Detail

clone | () | method

`public function clone():Point`

Returns

| `Point`

debug | () | method |

`public function debug():String`

Returns

| `String`

doCalculation | () | method |

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

Parameters

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

draw | () | method |

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

Parameters

| `g:Graphics`

Returns

| `Boolean`

lineTo | () | method |

`public function lineTo(g:Graphics):Boolean`

Parameters

| `g:Graphics`

Returns

| `Boolean`

moveTo | () | method |

`public function moveTo(g:Graphics):Boolean`

Parameters

| `g:Graphics`

Returns

| `Boolean`

toString | () | method |

`public function toString():String`

Returns

| `String`

update | () | method |

`public function update(x:Number, y:Number, z:Number):void`

Parameters

| `x:Number`
| `y:Number`
| `z:Number`

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