Packagecom.gestureworks.cml.away3d.geometries
Classpublic class NURBSGeometry
InheritanceNURBSGeometry Inheritance away3d.primitives.NURBSGeometry
Implements com.gestureworks.cml.interfaces.IObject, com.gestureworks.cml.interfaces.ICSS, com.gestureworks.cml.interfaces.IState, IGeometry

This class creates NURBS geometry that can be applied to a Mesh. It extends the Away3D NURBSGeometry class to add CML support.



Public Properties
 PropertyDefined By
  childList : ChildList
NURBSGeometry
  className : String
NURBSGeometry
  cmlIndex : int
NURBSGeometry
  state : Dictionary
NURBSGeometry
  stateId : *
NURBSGeometry
Public Methods
 MethodDefined By
  
NURBSGeometry(cNet:Vector.<NURBSVertex>, uCtrlPnts:int, vCtrlPnts:int, uOrder:int = 4, vOrder:int = 4, uSegments:int = 10, vSegments:int = 10, uKnot:Vector.<Number> = null, vKnot:Vector.<Number> = null)
NURBSGeometry
  
dispose():void
[override]
NURBSGeometry
  
init():void
NURBSGeometry
  
loadState(sId:* = null, recursion:Boolean = false):void
NURBSGeometry
  
parseCML(cml:XMLList):XMLList
NURBSGeometry
  
postparseCML(cml:XMLList):void
NURBSGeometry
  
saveState(sId:* = null, recursion:Boolean = false):void
NURBSGeometry
  
tweenState(sId:* = null, tweenTime:Number = 1):void
NURBSGeometry
  
updateProperties(state:* = 0):void
NURBSGeometry
Property Detail
childListproperty
childList:ChildList


Implementation
    public function get childList():ChildList
    public function set childList(value:ChildList):void
classNameproperty 
className:String


Implementation
    public function get className():String
    public function set className(value:String):void
cmlIndexproperty 
cmlIndex:int


Implementation
    public function get cmlIndex():int
    public function set cmlIndex(value:int):void
stateproperty 
public var state:Dictionary

stateIdproperty 
stateId:*


Implementation
    public function get stateId():*
    public function set stateId(value:any):void
Constructor Detail
NURBSGeometry()Constructor
public function NURBSGeometry(cNet:Vector.<NURBSVertex>, uCtrlPnts:int, vCtrlPnts:int, uOrder:int = 4, vOrder:int = 4, uSegments:int = 10, vSegments:int = 10, uKnot:Vector.<Number> = null, vKnot:Vector.<Number> = null)

Parameters
cNet:Vector.<NURBSVertex>
 
uCtrlPnts:int
 
vCtrlPnts:int
 
uOrder:int (default = 4)
 
vOrder:int (default = 4)
 
uSegments:int (default = 10)
 
vSegments:int (default = 10)
 
uKnot:Vector.<Number> (default = null)
 
vKnot:Vector.<Number> (default = null)
Method Detail
dispose()method
override public function dispose():void

init()method 
public function init():void

loadState()method 
public function loadState(sId:* = null, recursion:Boolean = false):void

Parameters

sId:* (default = null)
 
recursion:Boolean (default = false)

parseCML()method 
public function parseCML(cml:XMLList):XMLList

Parameters

cml:XMLList

Returns
XMLList
postparseCML()method 
public function postparseCML(cml:XMLList):void

Parameters

cml:XMLList

saveState()method 
public function saveState(sId:* = null, recursion:Boolean = false):void

Parameters

sId:* (default = null)
 
recursion:Boolean (default = false)

tweenState()method 
public function tweenState(sId:* = null, tweenTime:Number = 1):void

Parameters

sId:* (default = null)
 
tweenTime:Number (default = 1)

updateProperties()method 
public function updateProperties(state:* = 0):void

Parameters

state:* (default = 0)