Skip to content

Commit 7597f25

Browse files
committed
Implementations for more parameterized profile definitions
1 parent ec2ed06 commit 7597f25

8 files changed

Lines changed: 403 additions & 94 deletions

File tree

src/examples/profiles.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ int main(int argc, char** argv) {
9393
null, 0, 50.0, 25.0, 5.0, 5.0, 2.0, 2.0, null, null));
9494
profiles->push(new Ifc2x3::IfcUShapeProfileDef(
9595
IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA,
96-
null, 0, 50.0, 25.0, 5.0, 5.0, null, null, 0.1, null));
96+
null, 0, 50.0, 25.0, 5.0, 5.0, null, null, 4.0, null));
9797
profiles->push(new Ifc2x3::IfcUShapeProfileDef(
9898
IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA,
99-
null, 0, 50.0, 25.0, 5.0, 5.0, 1.0, 3.0, 0.1, null));
99+
null, 0, 50.0, 25.0, 5.0, 5.0, 1.0, 3.0, 6.0, null));
100100
create_testcase_for(profiles); }
101101

102102
{ IfcSchema::IfcProfileDef::list profiles (new IfcTemplatedEntityList<IfcSchema::IfcProfileDef>());
@@ -108,10 +108,10 @@ int main(int argc, char** argv) {
108108
null, 0, 50.0, 25.0, 5.0, 5.0, 2.0, 2.0, 2.0, null, null, null));
109109
profiles->push(new Ifc2x3::IfcTShapeProfileDef(
110110
IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA,
111-
null, 0, 50.0, 25.0, 5.0, 5.0, null, null, null, 0.1, 0.1, null));
111+
null, 0, 50.0, 25.0, 5.0, 5.0, null, null, null, 2.0, 2.0, null));
112112
profiles->push(new Ifc2x3::IfcTShapeProfileDef(
113113
IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA,
114-
null, 0, 50.0, 25.0, 5.0, 5.0, 1.0, 2.0, 3.0, 0.1, 0.2, null));
114+
null, 0, 50.0, 25.0, 5.0, 5.0, 3.0, 2.0, 1.0, 2.0, 2.0, null));
115115
create_testcase_for(profiles); }
116116

117117
{ IfcSchema::IfcProfileDef::list profiles (new IfcTemplatedEntityList<IfcSchema::IfcProfileDef>());
@@ -126,10 +126,10 @@ int main(int argc, char** argv) {
126126
{ IfcSchema::IfcProfileDef::list profiles (new IfcTemplatedEntityList<IfcSchema::IfcProfileDef>());
127127
profiles->push(new Ifc2x3::IfcEllipseProfileDef(
128128
IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA,
129-
null, 0, 50.0, 25.0));
129+
null, 0, 25.0, 15.0));
130130
profiles->push(new Ifc2x3::IfcEllipseProfileDef(
131131
IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA,
132-
null, 0, 25.0, 50.0));
132+
null, 0, 15.0, 25.0));
133133
create_testcase_for(profiles); }
134134

135135
{ IfcSchema::IfcProfileDef::list profiles (new IfcTemplatedEntityList<IfcSchema::IfcProfileDef>());
@@ -150,10 +150,10 @@ int main(int argc, char** argv) {
150150
null, 0, 50.0, 25.0, 5.0, 2.0, 2.0, null, null, null));
151151
profiles->push(new Ifc2x3::IfcLShapeProfileDef(
152152
IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA,
153-
null, 0, 50.0, 25.0, 5.0, null, null, 0.1, null, null));
153+
null, 0, 50.0, 25.0, 5.0, null, null, 2.0, null, null));
154154
profiles->push(new Ifc2x3::IfcLShapeProfileDef(
155155
IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA,
156-
null, 0, 50.0, 25.0, 5.0, 1.0, 2.0, 0.3, null, null));
156+
null, 0, 50.0, 25.0, 5.0, 1.0, 2.0, 2.0, null, null));
157157
create_testcase_for(profiles); }
158158

159159
{ IfcSchema::IfcProfileDef::list profiles (new IfcTemplatedEntityList<IfcSchema::IfcProfileDef>());

0 commit comments

Comments
 (0)