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); }
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); } }
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); }