mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-10 01:45:58 +08:00
Sync changes from upstream repository
Co-authored-by: Andrew Le Bihan <andy@mcneel.com> Co-authored-by: Dale Fugier <dale@mcneel.com> Co-authored-by: Dale Lear <dalelear@mcneel.com> Co-authored-by: Greg Arden <greg@mcneel.com> Co-authored-by: Jussi <jussi@mcneel.com> Co-authored-by: Lowell <lowell@mcneel.com> Co-authored-by: Rajaa Issa <rajaa@mcneel.com> Co-authored-by: Steve Baer <steve@mcneel.com> Co-authored-by: alain <alain@mcneel.com> Co-authored-by: chuck <chuck@mcneel.com> Co-authored-by: piac <giulio@mcneel.com>
This commit is contained in:
@@ -84,6 +84,13 @@ ON_BoundingBox ON_3dPointArray::BoundingBox() const
|
||||
return bbox;
|
||||
}
|
||||
|
||||
ON_BoundingBox ON_3dPointArray::BoundingBox(int from, int count) const
|
||||
{
|
||||
ON_BoundingBox bbox;
|
||||
ON_GetPointListBoundingBox(3, false, count, 3, (m_a) ? &m_a[from].x : 0, &bbox.m_min.x, &bbox.m_max.x, false);
|
||||
return bbox;
|
||||
}
|
||||
|
||||
bool ON_3dPointArray::GetBoundingBox(
|
||||
ON_BoundingBox& bbox,
|
||||
int bGrowBox
|
||||
|
||||
Reference in New Issue
Block a user