mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-17 23:16:02 +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:
@@ -706,7 +706,18 @@ ON_CurveProxy::IsPlanar(
|
||||
double tolerance // tolerance to use when checking linearity
|
||||
) const
|
||||
{
|
||||
return ( m_real_curve ) ? m_real_curve->IsPlanar(plane,tolerance) : false;
|
||||
// RH-75060 GBA 9-June-23 Changed to consider only the m_real_curve_domain if need be.
|
||||
// return (m_real_curve) ? m_real_curve->IsPlanar(plane, tolerance) : false;
|
||||
bool rc = false;
|
||||
if(m_real_curve)
|
||||
{
|
||||
rc = m_real_curve->IsPlanar(plane, tolerance);
|
||||
if (!rc)
|
||||
{
|
||||
rc = ON_Curve::IsPlanar(plane, tolerance);
|
||||
}
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user