Divide

verb.eval.Divide

CLASS

Source code

Divide provides various tools for dividing and splitting NURBS geometry.

surfaceSplit

STATIC METHOD

Source code

surfaceSplit(surface : NurbsSurfaceData, u : Float, useV : Bool) : Array<NurbsSurfaceData>

Split a NURBS surface in two at a given parameter

params

returns

curveSplit

STATIC METHOD

Source code

curveSplit(curve : NurbsCurveData, u : Float) : Array<NurbsCurveData>

Split a NURBS curve into two parts at a given parameter

params

returns

rationalCurveByEqualArcLength

STATIC METHOD

Source code

rationalCurveByEqualArcLength(curve : NurbsCurveData, num : Int) : Array<CurveLengthSample>

Divide a NURBS curve given a given number of times, including the end points. The result is not split curves but a collection of CurveLengthSample objects that can be used for splitting. As with all arc length methods, the result is an approximation.

params

returns

rationalCurveByArcLength

STATIC METHOD

Source code

rationalCurveByArcLength(curve : NurbsCurveData, l : Float) : Array<CurveLengthSample>

Divide a NURBS curve given a given number of times, including the end points.

params

returns

CurveLengthSample

verb.eval.CurveLengthSample

CLASS

Source code

constructor

METHOD

Source code

new CurveLengthSample(u : undefined, len : undefined)

u

PROPERTY

Source code

u : Float

len

PROPERTY

Source code

len : Float