コード例 #1
0
ファイル: Cover.cs プロジェクト: strusoft/femdesign-api
        /// Create TwoWayCover.
        public static Cover TwoWayCover(Geometry.Region region, List <object> supportingStructures, string identifier)
        {
            // get supportingStructures.guid
            CoverReferenceList _supportingStructures = CoverReferenceList.FromObjectList(supportingStructures);

            // create cover
            Cover _cover = new Cover(region, _supportingStructures, null, identifier);

            return(_cover);
        }
コード例 #2
0
ファイル: Cover.cs プロジェクト: strusoft/femdesign-api
        /// Create OneWayCover.
        public static Cover OneWayCover(Geometry.Region region, List <object> supportingStructures, Geometry.FdVector3d loadBearingDirection, string identifier)
        {
            // get supportingStructures.guid
            CoverReferenceList _supportingStructures = CoverReferenceList.FromObjectList(supportingStructures);

            // create cover
            Cover _cover = new Cover(region, _supportingStructures, loadBearingDirection, identifier);

            return(_cover);
        }