public void IfcSurfaceOfRevolutionTest() { using (var m = XbimModel.CreateTemporaryModel()) { using (var txn = m.BeginTransaction()) { var cc = IfcModelBuilder.MakeRationalBezierCurve(m); var def = IfcModelBuilder.MakeArbitraryOpenProfileDef(m, cc); var rev = IfcModelBuilder.MakeSurfaceOfRevolution(m, def); var face = _xbimGeometryCreator.CreateFace(rev); Assert.IsNotNull(face as IXbimFace, "Wrong type returned"); Assert.IsTrue(((IXbimFace)face).IsValid, "Invalid face returned"); } } }