@@ -240,7 +240,7 @@ int main() {
240240 file.addBuildingProduct (west_wall);
241241
242242 // The west wall is assigned an opening element we created for the south wall, opening elements are
243- // not shared accross building elements, even if they share the same representation. Hence, the east
243+ // not shared across building elements, even if they share the same representation. Hence, the east
244244 // wall will not feature this opening.
245245 // NB: an Opening Element can only be used to create a single void within a single Element, as per:
246246 // http://www.buildingsmart-tech.org/ifc/IFC2x3/TC1/html/ifcproductextension/lexical/ifcfeatureelementsubtraction.htm
@@ -412,7 +412,7 @@ int main() {
412412 // Therefore we will construct the window as a decomposition of beams and a plate, in which
413413 // only the plate will have a transparent material assigned.
414414
415- // The window frame will consists of four seperate beams.
415+ // The window frame will consists of four separate beams.
416416 // AutoCAD Architecture will create an internal window type for the IfcWindow created.
417417 // Therefore the OverallWidth and OverallHeight of the window attributes will need to
418418 // match the bounding box of the representation. Furthermore, the window placement needs
@@ -463,10 +463,10 @@ int main() {
463463 );
464464 file.addBuildingProduct (window);
465465
466- // Initalize a list of parts for the window to be composed of
466+ // Initialize a list of parts for the window to be composed of
467467 IfcSchema::IfcObjectDefinition::list::ptr window_parts (new IfcTemplatedEntityList<IfcSchema::IfcObjectDefinition>());
468468
469- // The placements for the beams are not shared accross the different windows because every
469+ // The placements for the beams are not shared across the different windows because every
470470 // beam is placed relative to its parent window entity.
471471 IfcSchema::IfcLocalPlacement::list::ptr frame_placements (new IfcTemplatedEntityList<IfcSchema::IfcLocalPlacement>());
472472 frame_placements->push (file.addLocalPlacement (storey_placement, 930 ,45 ));
0 commit comments