예제 #1
0
 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);
     }
 }
예제 #2
0
 public XbimCurveData Parse(IXbimCurve xbimCurve)
 {
     return(Parser.Parse(xbimCurve));
 }