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.

Constructor

@:value({ w : 1, z : 0, y : 0, x : 0 })new(x:Float = 0, y:Float = 0, z:Float = 0, w:Float = 1)

Creates a new Vertex object.

Parameters:

x

[optional] The local x position of the vertex. Defaults to 0.

y

[optional] The local y position of the vertex. Defaults to 0.

z

[optional] The local z position of the vertex. Defaults to 0.

w

[optional] The local w weight of the vertex. Defaults to 1.

Variables

w:Float

Inherited Variables

Defined by Vertex

index:Int

x:Float

y:Float

z:Float

Inherited Methods

Defined by Vertex

clone():Vertex

returns a new Vertex value Object

toString():String

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