2024-03-21 10:48:23 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<gaphor xmlns="http://gaphor.sourceforge.net/model" version="3.0" gaphor-version="2.24.0">
|
|
|
|
<StyleSheet id="58d6989a-66f8-11ec-b4c8-0456e5e540ed"/>
|
|
|
|
<Package id="58d6c2e8-66f8-11ec-b4c8-0456e5e540ed">
|
|
|
|
<name>
|
|
|
|
<val>New model</val>
|
|
|
|
</name>
|
|
|
|
<ownedDiagram>
|
|
|
|
<reflist>
|
|
|
|
<ref refid="58d6c536-66f8-11ec-b4c8-0456e5e540ed"/>
|
|
|
|
</reflist>
|
|
|
|
</ownedDiagram>
|
|
|
|
<ownedType>
|
|
|
|
<reflist>
|
|
|
|
<ref refid="0c22379b-e76f-11ee-8193-8bb162b1502a"/>
|
|
|
|
<ref refid="4a8d98db-e76f-11ee-9ded-8bb162b1502a"/>
|
|
|
|
</reflist>
|
|
|
|
</ownedType>
|
|
|
|
</Package>
|
|
|
|
<Diagram id="58d6c536-66f8-11ec-b4c8-0456e5e540ed">
|
|
|
|
<element>
|
|
|
|
<ref refid="58d6c2e8-66f8-11ec-b4c8-0456e5e540ed"/>
|
|
|
|
</element>
|
|
|
|
<name>
|
|
|
|
<val>New diagram</val>
|
|
|
|
</name>
|
|
|
|
<ownedPresentation>
|
|
|
|
<reflist>
|
|
|
|
<ref refid="0c228e70-e76f-11ee-90ec-8bb162b1502a"/>
|
|
|
|
<ref refid="4a8ddfb4-e76f-11ee-b091-8bb162b1502a"/>
|
2024-04-06 15:21:52 +00:00
|
|
|
<ref refid="af7f9c76-f19d-11ee-b2af-49ae45d8f008"/>
|
2024-03-21 10:48:23 +00:00
|
|
|
</reflist>
|
|
|
|
</ownedPresentation>
|
|
|
|
</Diagram>
|
|
|
|
<Diagram id="0712faa4-e76f-11ee-80e8-8bb162b1502a">
|
|
|
|
<diagramType>
|
|
|
|
<val>cls</val>
|
|
|
|
</diagramType>
|
|
|
|
<name>
|
|
|
|
<val>New Diagram</val>
|
|
|
|
</name>
|
|
|
|
</Diagram>
|
|
|
|
<Class id="0c22379b-e76f-11ee-8193-8bb162b1502a">
|
|
|
|
<name>
|
|
|
|
<val>HeightMap</val>
|
|
|
|
</name>
|
2024-04-06 15:21:52 +00:00
|
|
|
<note>
|
|
|
|
<val>Will need destructuror</val>
|
|
|
|
</note>
|
2024-03-21 10:48:23 +00:00
|
|
|
<ownedAttribute>
|
|
|
|
<reflist>
|
|
|
|
<ref refid="159a588d-e76f-11ee-84cd-8bb162b1502a"/>
|
|
|
|
<ref refid="175c0a93-e76f-11ee-8c73-8bb162b1502a"/>
|
|
|
|
<ref refid="47a99d4d-e76f-11ee-9c60-8bb162b1502a"/>
|
|
|
|
</reflist>
|
|
|
|
</ownedAttribute>
|
|
|
|
<package>
|
|
|
|
<ref refid="58d6c2e8-66f8-11ec-b4c8-0456e5e540ed"/>
|
|
|
|
</package>
|
|
|
|
<presentation>
|
|
|
|
<reflist>
|
|
|
|
<ref refid="0c228e70-e76f-11ee-90ec-8bb162b1502a"/>
|
|
|
|
</reflist>
|
|
|
|
</presentation>
|
|
|
|
</Class>
|
|
|
|
<ClassItem id="0c228e70-e76f-11ee-90ec-8bb162b1502a">
|
|
|
|
<matrix>
|
2024-03-21 14:10:28 +00:00
|
|
|
<val>(1.0, 0.0, 0.0, 1.0, 213.62031249999998, 137.04296875)</val>
|
2024-03-21 10:48:23 +00:00
|
|
|
</matrix>
|
|
|
|
<top-left>
|
|
|
|
<val>(0.0, 0.0)</val>
|
|
|
|
</top-left>
|
|
|
|
<width>
|
2024-03-21 14:10:28 +00:00
|
|
|
<val>177.0</val>
|
2024-03-21 10:48:23 +00:00
|
|
|
</width>
|
|
|
|
<height>
|
2024-04-06 15:21:52 +00:00
|
|
|
<val>108.0</val>
|
2024-03-21 10:48:23 +00:00
|
|
|
</height>
|
|
|
|
<diagram>
|
|
|
|
<ref refid="58d6c536-66f8-11ec-b4c8-0456e5e540ed"/>
|
|
|
|
</diagram>
|
|
|
|
<show_operations>
|
|
|
|
<val>0</val>
|
|
|
|
</show_operations>
|
|
|
|
<subject>
|
|
|
|
<ref refid="0c22379b-e76f-11ee-8193-8bb162b1502a"/>
|
|
|
|
</subject>
|
|
|
|
</ClassItem>
|
|
|
|
<Property id="159a588d-e76f-11ee-84cd-8bb162b1502a">
|
|
|
|
<class_>
|
|
|
|
<ref refid="0c22379b-e76f-11ee-8193-8bb162b1502a"/>
|
|
|
|
</class_>
|
|
|
|
<name>
|
|
|
|
<val>x</val>
|
|
|
|
</name>
|
|
|
|
<typeValue>
|
|
|
|
<val>int</val>
|
|
|
|
</typeValue>
|
|
|
|
</Property>
|
|
|
|
<Property id="175c0a93-e76f-11ee-8c73-8bb162b1502a">
|
|
|
|
<class_>
|
|
|
|
<ref refid="0c22379b-e76f-11ee-8193-8bb162b1502a"/>
|
|
|
|
</class_>
|
|
|
|
<name>
|
|
|
|
<val>y</val>
|
|
|
|
</name>
|
|
|
|
<typeValue>
|
|
|
|
<val>int</val>
|
|
|
|
</typeValue>
|
|
|
|
</Property>
|
|
|
|
<Property id="47a99d4d-e76f-11ee-9c60-8bb162b1502a">
|
|
|
|
<class_>
|
|
|
|
<ref refid="0c22379b-e76f-11ee-8193-8bb162b1502a"/>
|
|
|
|
</class_>
|
|
|
|
<name>
|
2024-04-06 15:21:52 +00:00
|
|
|
<val>+ heights: float*</val>
|
2024-03-21 10:48:23 +00:00
|
|
|
</name>
|
|
|
|
</Property>
|
|
|
|
<Class id="4a8d98db-e76f-11ee-9ded-8bb162b1502a">
|
|
|
|
<name>
|
2024-04-06 15:21:52 +00:00
|
|
|
<val>Cells</val>
|
2024-03-21 10:48:23 +00:00
|
|
|
</name>
|
|
|
|
<ownedAttribute>
|
|
|
|
<reflist>
|
|
|
|
<ref refid="58a782c4-e76f-11ee-af59-8bb162b1502a"/>
|
|
|
|
<ref refid="59eb8e6d-e76f-11ee-9d79-8bb162b1502a"/>
|
|
|
|
<ref refid="625d120c-e76f-11ee-aeac-8bb162b1502a"/>
|
|
|
|
</reflist>
|
|
|
|
</ownedAttribute>
|
|
|
|
<package>
|
|
|
|
<ref refid="58d6c2e8-66f8-11ec-b4c8-0456e5e540ed"/>
|
|
|
|
</package>
|
|
|
|
<presentation>
|
|
|
|
<reflist>
|
|
|
|
<ref refid="4a8ddfb4-e76f-11ee-b091-8bb162b1502a"/>
|
|
|
|
</reflist>
|
|
|
|
</presentation>
|
|
|
|
</Class>
|
|
|
|
<ClassItem id="4a8ddfb4-e76f-11ee-b091-8bb162b1502a">
|
|
|
|
<matrix>
|
2024-04-06 15:21:52 +00:00
|
|
|
<val>(1.0, 0.0, 0.0, 1.0, 412.3077864636515, 137.04296875)</val>
|
2024-03-21 10:48:23 +00:00
|
|
|
</matrix>
|
|
|
|
<top-left>
|
|
|
|
<val>(0.0, 0.0)</val>
|
|
|
|
</top-left>
|
|
|
|
<width>
|
2024-03-21 14:10:28 +00:00
|
|
|
<val>155.0</val>
|
2024-03-21 10:48:23 +00:00
|
|
|
</width>
|
|
|
|
<height>
|
|
|
|
<val>108.0</val>
|
|
|
|
</height>
|
|
|
|
<diagram>
|
|
|
|
<ref refid="58d6c536-66f8-11ec-b4c8-0456e5e540ed"/>
|
|
|
|
</diagram>
|
|
|
|
<show_operations>
|
|
|
|
<val>0</val>
|
|
|
|
</show_operations>
|
|
|
|
<subject>
|
|
|
|
<ref refid="4a8d98db-e76f-11ee-9ded-8bb162b1502a"/>
|
|
|
|
</subject>
|
|
|
|
</ClassItem>
|
|
|
|
<Property id="58a782c4-e76f-11ee-af59-8bb162b1502a">
|
|
|
|
<class_>
|
|
|
|
<ref refid="4a8d98db-e76f-11ee-9ded-8bb162b1502a"/>
|
|
|
|
</class_>
|
|
|
|
<name>
|
|
|
|
<val>x</val>
|
|
|
|
</name>
|
2024-03-21 14:10:28 +00:00
|
|
|
<typeValue>
|
|
|
|
<val>int</val>
|
|
|
|
</typeValue>
|
2024-03-21 10:48:23 +00:00
|
|
|
</Property>
|
|
|
|
<Property id="59eb8e6d-e76f-11ee-9d79-8bb162b1502a">
|
|
|
|
<class_>
|
|
|
|
<ref refid="4a8d98db-e76f-11ee-9ded-8bb162b1502a"/>
|
|
|
|
</class_>
|
|
|
|
<name>
|
|
|
|
<val>y</val>
|
|
|
|
</name>
|
2024-03-21 14:10:28 +00:00
|
|
|
<typeValue>
|
|
|
|
<val>int</val>
|
|
|
|
</typeValue>
|
2024-03-21 10:48:23 +00:00
|
|
|
</Property>
|
|
|
|
<Property id="625d120c-e76f-11ee-aeac-8bb162b1502a">
|
|
|
|
<class_>
|
|
|
|
<ref refid="4a8d98db-e76f-11ee-9ded-8bb162b1502a"/>
|
|
|
|
</class_>
|
|
|
|
<name>
|
2024-04-06 15:21:52 +00:00
|
|
|
<val>+ cases: int*</val>
|
2024-03-21 10:48:23 +00:00
|
|
|
</name>
|
|
|
|
</Property>
|
2024-04-06 15:21:52 +00:00
|
|
|
<Comment id="af7f7fe7-f19d-11ee-bfaf-49ae45d8f008">
|
|
|
|
<body>
|
|
|
|
<val>Both will need to implement the rule of three because they store raw pointers to arrays</val>
|
|
|
|
</body>
|
|
|
|
<presentation>
|
|
|
|
<reflist>
|
|
|
|
<ref refid="af7f9c76-f19d-11ee-b2af-49ae45d8f008"/>
|
|
|
|
</reflist>
|
|
|
|
</presentation>
|
|
|
|
</Comment>
|
|
|
|
<CommentItem id="af7f9c76-f19d-11ee-b2af-49ae45d8f008">
|
|
|
|
<matrix>
|
|
|
|
<val>(1.0, 0.0, 0.0, 1.0, 315.77064657107337, 163.47265625)</val>
|
|
|
|
</matrix>
|
|
|
|
<top-left>
|
|
|
|
<val>(0.0, 124.1015625)</val>
|
|
|
|
</top-left>
|
|
|
|
<width>
|
|
|
|
<val>193.07427978515625</val>
|
|
|
|
</width>
|
|
|
|
<height>
|
|
|
|
<val>97.14059448242188</val>
|
|
|
|
</height>
|
|
|
|
<diagram>
|
|
|
|
<ref refid="58d6c536-66f8-11ec-b4c8-0456e5e540ed"/>
|
|
|
|
</diagram>
|
|
|
|
<subject>
|
|
|
|
<ref refid="af7f7fe7-f19d-11ee-bfaf-49ae45d8f008"/>
|
|
|
|
</subject>
|
|
|
|
</CommentItem>
|
2024-03-21 10:48:23 +00:00
|
|
|
</gaphor>
|