public void IfcSurfaceOfLinearExtrusionTest() { using (var m = XbimModel.CreateTemporaryModel()) { using (var txn = m.BeginTransaction()) { var semiCircle = IfcModelBuilder.MakeSemiCircle(m, 20); var def = IfcModelBuilder.MakeArbitraryOpenProfileDef(m, semiCircle); var cl = IfcModelBuilder.MakeSurfaceOfLinearExtrusion(m, def, 50, new XbimVector3D(0, 0, 1)); var face = _xbimGeometryCreator.CreateFace(cl); Assert.IsNotNull(face as IXbimFace, "Wrong type returned"); Assert.IsTrue(((IXbimFace)face).IsValid, "Invalid face returned"); } } }