File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/compas_occ/geometry/curves Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,13 +114,13 @@ def domain(self):
114114 def start (self ):
115115 if self .occ_curve :
116116 pnt = self .occ_curve .StartPoint ()
117- return Point . from_occ (pnt )
117+ return compas_point_from_occ_point (pnt )
118118
119119 @property
120120 def end (self ):
121121 if self .occ_curve :
122122 pnt = self .occ_curve .EndPoint ()
123- return Point . from_occ (pnt )
123+ return compas_point_from_occ_point (pnt )
124124
125125 @property
126126 def is_closed (self ):
@@ -379,7 +379,7 @@ def aabb(self, precision=0.0):
379379 box = Bnd_Box ()
380380 BndLib_Add3dCurve_Add (GeomAdaptor_Curve (self .occ_curve ), precision , box )
381381 return Box .from_diagonal (
382- (Point . from_occ (box .CornerMin ()), Point . from_occ (box .CornerMax ()))
382+ (compas_point_from_occ_point (box .CornerMin ()), compas_point_from_occ_point (box .CornerMax ()))
383383 )
384384
385385 def length (self , precision = 1e-3 ):
You can’t perform that action at this time.
0 commit comments