public XbimGrid(IIfcGrid ifcGrid, IXbimGeometryEngine engine) { _ifcGrid = ifcGrid; foreach (var gridAxis in ifcGrid.UAxes) { IXbimCurve curve = engine.CreateCurve(gridAxis.AxisCurve); _axis.Add(gridAxis, curve); } foreach (var gridAxis in ifcGrid.VAxes) { IXbimCurve curve = engine.CreateCurve(gridAxis.AxisCurve); _axis.Add(gridAxis, curve); } foreach (var gridAxis in ifcGrid.WAxes) { IXbimCurve curve = engine.CreateCurve(gridAxis.AxisCurve); _axis.Add(gridAxis, curve); } }
public XbimCurveData Parse(IXbimCurve xbimCurve) { return(Parser.Parse(xbimCurve)); }