Skip to content

Commit bb685e0

Browse files
author
ananya
committed
formatting
1 parent baf1b9a commit bb685e0

File tree

1 file changed

+5
-4
lines changed
  • src/compas_rhino/geometry/curves

1 file changed

+5
-4
lines changed

src/compas_rhino/geometry/curves/curve.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ def point_at_length(self, length):
217217
The corresponding point on the curve.
218218
219219
"""
220-
return point_to_compas(self.native_curve.PointAtLength(length)) # type: ignore
220+
point = self.native_curve.PointAtLength(length) # type: ignore
221+
return point_to_compas(point)
221222

222223
def tangent_at(self, t):
223224
"""Compute the tangent vector at a point on the curve.
@@ -432,7 +433,7 @@ def trim(self, t0, t1):
432433
None
433434
434435
"""
435-
self.native_curve = self.native_curve.Trim(t0, t1)
436+
self.native_curve = self.native_curve.Trim(t0, t1) # type: ignore
436437

437438
def trimmed(self, t0, t1):
438439
"""Trim the curve to a specific domain.
@@ -450,7 +451,7 @@ def trimmed(self, t0, t1):
450451
The trimmed curve.
451452
"""
452453

453-
curve = self.native_curve.Trim(t0, t1)
454+
curve = self.native_curve.Trim(t0, t1) # type: ignore
454455
return RhinoCurve.from_native(curve)
455456

456457
def change_seam(self, t):
@@ -466,4 +467,4 @@ def change_seam(self, t):
466467
None
467468
468469
"""
469-
self.native_curve.ChangeClosedCurveSeam(t)
470+
self.native_curve.ChangeClosedCurveSeam(t) # type: ignore

0 commit comments

Comments
 (0)