Example #1
0
        public Box3d ObjectBoundingBox(int objectIndex = -1)
        {
            var pa = m_positionArray;

            if (objectIndex < 0)
            {
                return(pa.GetBoundingBox3d(m_vertexCount));
            }
            return(Box3d.FromPoints(pa[objectIndex], pa[objectIndex + 1]));
        }