コード例 #1
0
        /// <summary>
        /// Add a Solid to the current DirectShape element.
        /// </summary>
        /// <param name="solidInfo">The IFCSolidInfo class describing the solid.</param>
        public void AddGeometry(IFCSolidInfo solidInfo)
        {
            if (solidInfo == null || solidInfo.GeometryObject == null)
            {
                return;
            }

            Creator.Solids.Add(solidInfo);
        }
コード例 #2
0
        /// <summary>
        /// Add a Solid to the current DirectShape element.
        /// </summary>
        /// <param name="solidInfo">The IFCSolidInfo class describing the solid.</param>
        public void AddGeometry(IFCSolidInfo solidInfo)
        {
            if (solidInfo == null || solidInfo.GeometryObject == null)
            {
                return;
            }

            solidInfo.RepresentationType = GetContainingRepresentationType();
            Creator.Solids.Add(solidInfo);
        }
コード例 #3
0
        /// <summary>
        /// Add a Solid to the current DirectShape element.
        /// </summary>
        /// <param name="solidInfo">The IFCSolidInfo class describing the solid.</param>
        public void AddGeometry(IFCSolidInfo solidInfo)
        {
            if (solidInfo == null || solidInfo.GeometryObject == null)
                return;

            solidInfo.RepresentationType = GetContainingRepresentationType();
            Creator.Solids.Add(solidInfo);
        }
コード例 #4
0
        /// <summary>
        /// Add a Solid to the current DirectShape element.
        /// </summary>
        /// <param name="solidInfo">The IFCSolidInfo class describing the solid.</param>
        public void AddGeometry(IFCSolidInfo solidInfo)
        {
            if (solidInfo == null || solidInfo.GeometryObject == null)
                return;

            Creator.Solids.Add(solidInfo);
        }