Iscurvelinear or isline

in rhinoscript: what differences between “iscurvelinear” and “isline”?

IsCurveLinear test a curve to see if the locus of its points is a line segment. IsLine test to see if a curve is a line curve object (ON_LineCurve) or a 1-degree NURBS curve with 2 control points.

– Dale

thanks @dale for answer,


same curve with displaced control point and different result with “Rhino.IsLine”

is the right result?

Yes I see that - thanks for reporting.

– Dale

thanks Dale :+1: