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; }
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; }
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; }
public IfProperties(IfcBuildingElement ifcElement) { ifcElment = ifcElement; SingleValueProperties = new Dictionary <string, List <IfSingleValue> >(); Quanatities = new Dictionary <string, List <IfQuantity> >(); }