17.1.3.4 Example

Topic Version1Published09/11/2015
For StandardRESQML v2.0.1

This example (Figure 17.1.3.4-1) shows how to create an activity template named “GenericCreationActivity” which can be used to describe the creation of one or more data objects. The example also shows how to create an instance of the generic creation activity, in this case, a triangulated representation based on a 2D grid representation.

Figure 17.1.3.4-1 Template for a generic “creation activity” which can be used to create any data object.

The left box shows that this creation activity may have zero (see MinOccurs) to unlimited (see MaxOccurs) creation input parameters (see IsInput and IsOutput).

The right box shows at least one mandatory output (see MinOccurs, MaxOccurs, IsInput and IsOutput) which must be a data object (see the lower right box).

This activity template/description can then be used to describe the specifics of the creation of any data object. For example, in Figure 17.1.3.4-2 , we created a triangulated representation based on 2D grid representation.

Figure 17.1.3.4-2 Example for a triangulated representation based on a 2D grid.

The triangulation activity (top yellow box) uses the creation activity template/description that we previously defined. This particular triangulation activity indicates that we have created a particular triangulated set representation (called MyTriangulatedGrid) from a particular 2D grid representation (called My2dGrid).