mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-31 08:06:54 +08:00
Sync changes from upstream repository
Co-authored-by: croudyj <croudyj@gmail.com> Co-authored-by: Dale Lear <dalelear@mcneel.com> Co-authored-by: Greg Arden <greg@mcneel.com> Co-authored-by: Jussi Aaltonen <jussi@mcneel.com> Co-authored-by: piac <giulio@mcneel.com> Co-authored-by: Pierre Cuvilliers <pierre@mcneel.com> Co-authored-by: Steve Baer <steve@mcneel.com> Co-authored-by: Will Pearson <will@mcneel.com>
This commit is contained in:
@@ -650,7 +650,7 @@ bool ON_PlaneSurface::CreatePseudoInfinitePlane(
|
||||
}
|
||||
|
||||
|
||||
bool ON_PlaneSurface::CreatePseudoInfinitePlaneTight(
|
||||
bool ON_PlaneSurface::CreatePlaneThroughBox(
|
||||
const ON_Plane& plane,
|
||||
const ON_BoundingBox& bbox,
|
||||
double padding
|
||||
@@ -683,7 +683,7 @@ bool ON_PlaneSurface::CreatePseudoInfinitePlaneTight(
|
||||
}
|
||||
|
||||
|
||||
bool ON_PlaneSurface::CreatePseudoInfinitePlaneTight(
|
||||
bool ON_PlaneSurface::CreatePlaneThroughBox(
|
||||
const ON_PlaneEquation& plane_equation,
|
||||
const ON_BoundingBox& bbox,
|
||||
double padding
|
||||
@@ -692,7 +692,7 @@ bool ON_PlaneSurface::CreatePseudoInfinitePlaneTight(
|
||||
ON_Plane plane(plane_equation);
|
||||
ON_3dPoint center = plane.ClosestPointTo(bbox.Center());
|
||||
plane.origin = center;
|
||||
return CreatePseudoInfinitePlaneTight(plane, bbox, padding);
|
||||
return CreatePlaneThroughBox(plane, bbox, padding);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user