Sync changes from upstream repository

This commit is contained in:
Bozo The Builder
2020-09-11 14:29:29 -07:00
parent e15c463638
commit 6a1fea7512
74 changed files with 12912 additions and 3982 deletions

View File

@@ -1931,6 +1931,13 @@ bool ON_BoundingBox::SwapCoordinates( int i, int j )
return rc;
}
bool ON_BoundingBox::Expand(ON_3dVector delta)
{
m_min -= delta;
m_max += delta;
return IsValid();
}
bool ON_BoundingBox::IsDisjoint( const ON_BoundingBox& other_bbox ) const
{
if ( m_min.x > m_max.x || other_bbox.m_min.x > other_bbox.m_max.x