Packageaway3d.primitives.data
Classpublic class NURBSVertex
InheritanceNURBSVertex Inheritance Vertex Inheritance Object

A nurbvertex that simply extends vertex with a w weight property. Properties x, y, z and w represent a 3d point in space with nurb weighting.



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


Implementation
    public function get w():Number
    public function set w(value:Number):void
Constructor Detail
NURBSVertex()Constructor
public function NURBSVertex(x:Number = 0, y:Number = 0, z:Number = 0, w:Number = 1)

Creates a new Vertex object.

Parameters
x:Number (default = 0) — [optional] The local x position of the vertex. Defaults to 0.
 
y:Number (default = 0) — [optional] The local y position of the vertex. Defaults to 0.
 
z:Number (default = 0) — [optional] The local z position of the vertex. Defaults to 0.
 
w:Number (default = 1) — [optional] The local w weight of the vertex. Defaults to 1.