예제 #1
0
 public IfcGrid(IfcSpatialElement host, IfcAxis2Placement3D placement, List <IfcGridAxis> uAxes, List <IfcGridAxis> vAxes)
     : base(new IfcLocalPlacement(host.ObjectPlacement, placement), getRepresentation(uAxes, vAxes, null))
 {
     host.addGrid(this);
     UAxes.AddRange(uAxes);
     VAxes.AddRange(vAxes);
 }
예제 #2
0
 public IfcGrid(IfcSpatialElement host, IfcAxis2Placement3D placement, List <IfcGridAxis> uAxes, List <IfcGridAxis> vAxes)
     : base(new IfcLocalPlacement(host.Placement, placement), getRepresentation(uAxes, vAxes, null))
 {
     host.addGrid(this);
     if (uAxes != null)
     {
         mUAxes = uAxes.ConvertAll(x => x.mIndex);
     }
     if (vAxes != null)
     {
         mVAxes = vAxes.ConvertAll(x => x.mIndex);
     }
 }
예제 #3
0
        private List<int> mWAxes = new List<int>(); // : OPTIONAL LIST [1:?] OF UNIQUE IfcGridAxis;

        #endregion Fields

        #region Constructors

        public IfcGrid(IfcSpatialElement host, IfcAxis2Placement3D placement, List<IfcGridAxis> uAxes, List<IfcGridAxis> vAxes)
            : base(new IfcLocalPlacement(host.Placement, placement), getRepresentation(uAxes,vAxes, null))
        {
            host.addGrid(this);
            if(uAxes != null)
                mUAxes = uAxes.ConvertAll(x=>x.mIndex);
            if (vAxes != null)
                mVAxes = vAxes.ConvertAll(x => x.mIndex);
        }