Packageaway3d.core.base.data
Classpublic class Vertex
InheritanceVertex Inheritance Object

Vertex value object.



Public Properties
 PropertyDefined By
  index : uint
To define/store the index of value object
Vertex
  x : Number
To define/store the x value of the value object
Vertex
  y : Number
To define/store the y value of the value object
Vertex
  z : Number
To define/store the z value of the value object
Vertex
Public Methods
 MethodDefined By
  
Vertex(x:Number = 0, y:Number = 0, z:Number = 0, index:uint)
Creates a new Vertex value object.
Vertex
  
returns a new Vertex value Object
Vertex
  
toString():String
returns the value object as a string for trace/debug purpose
Vertex
Property Detail
indexproperty
index:uint

To define/store the index of value object


Implementation
    public function get index():uint
    public function set index(value:uint):void
xproperty 
x:Number

To define/store the x value of the value object


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

To define/store the y value of the value object


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

To define/store the z value of the value object


Implementation
    public function get z():Number
    public function set z(value:Number):void
Constructor Detail
Vertex()Constructor
public function Vertex(x:Number = 0, y:Number = 0, z:Number = 0, index:uint)

Creates a new Vertex value object.

Parameters
x:Number (default = 0) — [optional] The x value. Defaults to 0.
 
y:Number (default = 0) — [optional] The y value. Defaults to 0.
 
z:Number (default = 0) — [optional] The z value. Defaults to 0.
 
index:uint (default = NaN) — [optional] The index value. Defaults is NaN.
Method Detail
clone()method
public function clone():Vertex

returns a new Vertex value Object

Returns
Vertex
toString()method 
public function toString():String

returns the value object as a string for trace/debug purpose

Returns
String