예제 #1
0
 protected BbMainPiece(
     string id, string name, string objectType, BbProfile profile,
     double length, BbCoordinate3D position, BbDirection3D zAxis,
     BbDirection3D xAxis, BbDirection3D extrudeDirection,
     BbAssembly container,
     Type ifcType)
     : base(id, name, objectType, profile, length, position, zAxis, xAxis, extrudeDirection, container, ifcType)
 {
     _ifcBuildingElement = base.IfcObject as IfcBuildingElement;
 }
예제 #2
0
 protected BbMainPiece(
     string id, string name, string objectType, BbProfile profile,
     double length, BbCoordinate3D position, BbDirection3D zAxis,
     BbDirection3D xAxis, BbDirection3D extrudeDirection,
     BbAssembly container,
     Type ifcType)
     : base(id, name, objectType, profile, length, position, zAxis, xAxis, extrudeDirection, container, ifcType)
 {
     _ifcBuildingElement = base.IfcObject as IfcBuildingElement;
 }
예제 #3
0
        private static void ApplyRepresentationAndPlacement(IfcStore model, IfcBuildingElement element, IfcShapeRepresentation shape, Plane insertPlane)
        {
            var representation = model.Instances.New <IfcProductDefinitionShape>();

            representation.Representations.Add(shape);
            element.Representation = representation;

            var localPlacement = CreateLocalPlacement(model, insertPlane);

            element.ObjectPlacement = localPlacement;
        }
예제 #4
0
 public IfProperties(IfcBuildingElement ifcElement)
 {
     ifcElment             = ifcElement;
     SingleValueProperties = new Dictionary <string, List <IfSingleValue> >();
     Quanatities           = new Dictionary <string, List <IfQuantity> >();
 }