# Iscurvelinear or isline

**URL:** <https://discourse.mcneel.com/t/iscurvelinear-or-isline/86324>\
**Category:** Rhino Developer\
**Created:** [July 17, 2019, 4:26pm UTC](https://discourse.mcneel.com/t/iscurvelinear-or-isline/86324 "2019-07-17T16:26:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![0904](https://avatars.discourse-cdn.com/v4/letter/0/b3f665/32.png) [@0904](https://discourse.mcneel.com/u/0904)\
**Post date:** [July 17, 2019, 4:26pm UTC](https://discourse.mcneel.com/t/iscurvelinear-or-isline/86324/1 "2019-07-17T16:26:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dale](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dale/32/685184_2.png) [@dale](https://discourse.mcneel.com/u/dale)\
**Post date:** [July 17, 2019, 11:46pm UTC](https://discourse.mcneel.com/t/iscurvelinear-or-isline/86324/2 "2019-07-17T23:46:04Z")

</div>

`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

---

<div class="post-metadata">

**Author:** ![0904](https://avatars.discourse-cdn.com/v4/letter/0/b3f665/32.png) [@0904](https://discourse.mcneel.com/u/0904)\
**Post date:** [July 18, 2019, 5:04pm UTC](https://discourse.mcneel.com/t/iscurvelinear-or-isline/86324/3 "2019-07-18T17:04:09Z")

</div>

thanks @dale for answer,

![dale](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/5/7/5756cab0290b84e67739dab226f71df265d030f0.png)

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

is the right result?

---

<div class="post-metadata">

**Author:** ![dale](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dale/32/685184_2.png) [@dale](https://discourse.mcneel.com/u/dale)\
**Post date:** [July 18, 2019, 5:45pm UTC](https://discourse.mcneel.com/t/iscurvelinear-or-isline/86324/4 "2019-07-18T17:45:09Z")

</div>

Yes I see that - thanks for reporting.

[https://mcneel.myjetbrains.com/youtrack/issue/RH-53851](https://mcneel.myjetbrains.com/youtrack/issue/RH-53851)

– Dale

---

<div class="post-metadata">

**Author:** ![0904](https://avatars.discourse-cdn.com/v4/letter/0/b3f665/32.png) [@0904](https://discourse.mcneel.com/u/0904)\
**Post date:** [July 18, 2019, 7:52pm UTC](https://discourse.mcneel.com/t/iscurvelinear-or-isline/86324/5 "2019-07-18T19:52:08Z")

</div>

thanks Dale 👍
