Пример #1
0
        /// <summary>
        /// Determines if the oriented bounding box is contained within this bounding volume.
        /// </summary>
        /// <param name="obb">Oriented bounding box to test</param>
        /// <returns>Containment type</returns>
        public override ContainmentType Contains(OrientedBoundingBox obb)
        {
            if (obb == null)
            {
                return(ContainmentType.Outside);
            }

            return(obb.Contains(this));
        }