CSODifference

MLModule
genre CSOModule
author Jan Hendrik Moltz
package FMEstable/ReleaseMeVis
dll MLCSOMiscModules
definition MLCSOMiscModules.def
see also CSOBoolOp

Purpose

Computes the difference between pairs of CSOs as open CSOs.

Usage

Connect a CSOList and press Update. The result is in outCSOList. This is a CSOAlgorithmModule, so it is not possible to modify the input CSOs.

Details

This module does the following:

  1. for cso in inCSOList1:
  2. for refCSO in inCSOList0:
  3. Compute diffCSO containing points that are on cso but not on refCSO (might be several if they are not contiguous)

The typical use case of this module is that inCSOList0 contains CSOs before an interaction and inCSOList1 after an interaction. The module will then create CSOs that represent the interaction. Unlike the result of CSOBoolOp these CSOs are open and contain only the part that was changed.

Windows

Default Panel

../../../Modules/ML/MLCSOMiscModulesStable/mhelp/Images/Screenshots/CSODifference._default.png

Input Fields

inCSOList0

name: inCSOList0, type: MLBase

CSOs typically before an interaction.

inCSOList1

name: inCSOList1, type: MLBase

CSOs typically after an interaction.

Output Fields

outCSOList

name: outCSOList, type: MLBase

CSOs representing the interaction.

Parameter Fields

Field Index

[]: Trigger
Clear: Trigger
Epsilon: Double
Has Valid Output: Bool
On Input Change Behavior: Enum
Status Code: Enum
Status Message: String
Update: Trigger

Visible Fields

Update

name: update, type: Trigger

Clear

name: clear, type: Trigger

On Input Change Behavior

name: onInputChangeBehavior, type: Enum, default: Clear, deprecated name: shouldAutoUpdate,shouldUpdateAutomatically

Values:

Title Name Deprecated Name
Update Update TRUE
Clear Clear FALSE

Status Code

name: statusCode, type: Enum, persistent: no

Values:

Title Name
Ok Ok
Invalid input object Invalid input object
Invalid input parameter Invalid input parameter
Internal error Internal error

Status Message

name: statusMessage, type: String, persistent: no

Has Valid Output

name: hasValidOutput, type: Bool, persistent: no

[]

name: updateDone, type: Trigger, persistent: no

Epsilon

name: inEpsilon, type: Double, default: 0.001

The epsilon parameter used for the point-to-point distance.