示例#1
0
 public IXbimSolid CreateSolid(IIfcFaceBasedSurfaceModel ifcSurface, ILogger logger)
 {
     using (new Tracer(LogHelper.CurrentFunctionName(), this._logger, ifcSurface))
     {
         return(_engine.CreateSolid(ifcSurface, logger));
     }
 }
示例#2
0
 private static void Report(IIfcFaceBasedSurfaceModel item, TextHighliter sb)
 {
     foreach (var face in item.FbsmFaces)
     {
         Report(face, sb);
     }
 }
示例#3
0
        public XbimShapeGeometry Mesh(IIfcFaceBasedSurfaceModel faceBasedModel)
        {
            var faceSets = new List <IList <IIfcFace> >();

            foreach (var faceSet in faceBasedModel.FbsmFaces)
            {
                faceSets.Add(faceSet.CfsFaces.ToList());
            }
            return(Mesh(faceSets, faceBasedModel.EntityLabel, (float)faceBasedModel.Model.ModelFactors.Precision));
        }
示例#4
0
 public IXbimGeometryObjectSet CreateSurfaceModel(IIfcFaceBasedSurfaceModel ifcSurface)
 {
     return(_engine.CreateSurfaceModel(ifcSurface));
 }