| 84 | } |
| 85 | |
| 86 | int main(int argc, char** argv) { |
| 87 | IfcSchema::get_schema(); // Ensure schema is initialized |
| 88 | { IfcSchema::IfcProfileDef::list::ptr profiles (new IfcSchema::IfcProfileDef::list); |
| 89 | profiles->push(new IfcSchema::IfcUShapeProfileDef( |
| 90 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 91 | null, 0, 50.0, 25.0, 5.0, 5.0, null, null, null, null)); |
| 92 | profiles->push(new IfcSchema::IfcUShapeProfileDef( |
| 93 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 94 | null, 0, 50.0, 25.0, 5.0, 5.0, 2.0, 2.0, null, null)); |
| 95 | profiles->push(new IfcSchema::IfcUShapeProfileDef( |
| 96 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 97 | null, 0, 50.0, 25.0, 5.0, 5.0, null, null, 4.0, null)); |
| 98 | profiles->push(new IfcSchema::IfcUShapeProfileDef( |
| 99 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 100 | null, 0, 50.0, 25.0, 5.0, 5.0, 1.0, 3.0, 6.0, null)); |
| 101 | create_testcase_for(profiles); } |
| 102 | |
| 103 | { IfcSchema::IfcProfileDef::list::ptr profiles (new IfcSchema::IfcProfileDef::list); |
| 104 | profiles->push(new IfcSchema::IfcTShapeProfileDef( |
| 105 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 106 | null, 0, 50.0, 25.0, 5.0, 5.0, null, null, null, null, null, null)); |
| 107 | profiles->push(new IfcSchema::IfcTShapeProfileDef( |
| 108 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 109 | null, 0, 50.0, 25.0, 5.0, 5.0, 2.0, 2.0, 2.0, null, null, null)); |
| 110 | profiles->push(new IfcSchema::IfcTShapeProfileDef( |
| 111 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 112 | null, 0, 50.0, 25.0, 5.0, 5.0, null, null, null, 2.0, 2.0, null)); |
| 113 | profiles->push(new IfcSchema::IfcTShapeProfileDef( |
| 114 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 115 | null, 0, 50.0, 25.0, 5.0, 5.0, 3.0, 2.0, 1.0, 2.0, 2.0, null)); |
| 116 | create_testcase_for(profiles); } |
| 117 | |
| 118 | { IfcSchema::IfcProfileDef::list::ptr profiles (new IfcSchema::IfcProfileDef::list); |
| 119 | profiles->push(new IfcSchema::IfcZShapeProfileDef( |
| 120 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 121 | null, 0, 50.0, 25.0, 5.0, 5.0, null, null)); |
| 122 | profiles->push(new IfcSchema::IfcZShapeProfileDef( |
| 123 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 124 | null, 0, 50.0, 25.0, 5.0, 5.0, 2.0, 2.0)); |
| 125 | create_testcase_for(profiles); } |
| 126 | |
| 127 | { IfcSchema::IfcProfileDef::list::ptr profiles (new IfcSchema::IfcProfileDef::list); |
| 128 | profiles->push(new IfcSchema::IfcEllipseProfileDef( |
| 129 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 130 | null, 0, 25.0, 15.0)); |
| 131 | profiles->push(new IfcSchema::IfcEllipseProfileDef( |
| 132 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 133 | null, 0, 15.0, 25.0)); |
| 134 | create_testcase_for(profiles); } |
| 135 | |
| 136 | { IfcSchema::IfcProfileDef::list::ptr profiles (new IfcSchema::IfcProfileDef::list); |
| 137 | profiles->push(new IfcSchema::IfcIShapeProfileDef( |
| 138 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 139 | null, 0, 25.0, 50.0, 5.0, 5.0, null)); |
| 140 | profiles->push(new IfcSchema::IfcIShapeProfileDef( |
| 141 | IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, |
| 142 | null, 0, 25.0, 50.0, 5.0, 5.0, 2.0)); |
| 143 | profiles->push(new IfcSchema::IfcAsymmetricIShapeProfileDef( |
nothing calls this directly
no test coverage detected