class WMSmoothChain
Available on all platforms
A smooth chain
Instance Fields
function genCoil(width:Float, quality:Int, from:Int, to:Int):Tube3D
Generate coil of using width as the radius, quality as quality, and
control points between from to to.
function genRibbon(width:Float, thickness:Float, from:Int, to:Int, smoothing:Bool):Ribbon3D
Generate a ribbon. thickness is the ribbon thickness and smoothing
request special smoothened chain for beta-strand.
See genCoil function for other details.
function initialize(ops:Array<Dynamic>):Void
create smooth curve using given list of anonymous array ops.
An element of ops should have p(position), n(number of points to be
inserted), dir(direction of face).
If ops is not given, this function does nothing.