We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3723856 commit cb1b7feCopy full SHA for cb1b7fe
src/compas_occ/geometry/curves/curve.py
@@ -1,4 +1,3 @@
1
-from compas.geometry import Point
2
from compas.geometry import Frame
3
from compas.geometry import Curve
4
from compas.geometry import Box
@@ -379,7 +378,10 @@ def aabb(self, precision=0.0):
379
378
box = Bnd_Box()
380
BndLib_Add3dCurve_Add(GeomAdaptor_Curve(self.occ_curve), precision, box)
381
return Box.from_diagonal(
382
- (compas_point_from_occ_point(box.CornerMin()), compas_point_from_occ_point(box.CornerMax()))
+ (
+ compas_point_from_occ_point(box.CornerMin()),
383
+ compas_point_from_occ_point(box.CornerMax()),
384
+ )
385
)
386
387
def length(self, precision=1e-3):
0 commit comments