Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


The solution Waterline containing the shape of the dimensionless waterline, has been created in tutorial 2. In order to store this data and use it for further operations, the contents will be placed in a new object within the object Ships.

  In the class Geometry, create a new object called Hull. As we want to store static data in this object, make sure it is determined by Value from Object/Database (as described in tutorial 2). In the workbase, select the object Ships (underDataset). In the Knowledge Browser, right click the parameter Hull and select Parameter to Dataset (or drag it tot Ship). When you are asked how to add Hull to the Ships object, select the list and continue. The new object is now placed within Ships.

...

  Add a new class, called Stability, as sub-class of Geometry. Note that a subclass is created by naming it Geometry.Stability. Add the following relation to this class:

...