Versions Compared

Key

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

...

Section

Compare Expression Item


Anchor
compareExpression
compareExpression

UI Text Box
sizemedium
typeinfo

The Compare Expression Item evaluates to true if the specified condition is valid based on the provided sub-expressions. Otherwise, it evaluates to false.

To create a Compare Expression Item in the Conditions Tree, right-mouse-button click either on a Logic or a Compare expression and select "Replace with: New Comparison".


 

Compare Type [ Is Greater Than ]  | comp_type – Sets the comparison type to perform:

  • When set to "Is Greater Than", the Compare expression for a given voxel will be true when the first Math/Value expression item should return a value larger than the second.
  • When set to "Is Less Than", the Compare expression for a given voxel will be true when the first Math/Value expression item should return a value smaller than the second.
  • When set to "Is Equal To", the Compare expression for a given voxel will be true when both Math/Value expression items are evaluate to the same number.

 

 

Section

Math Expression Item


Anchor
mathExpression
mathExpression

UI Text Box
sizemedium
typeinfo

The Math Expression Item returns a number calculated according to the specified Math Type and the provided sub-expressions.

To create a Math Expression Item in the Conditions Tree, right-mouse-button click either on a Math or a Value expression and select one of the "Replace with: (this) ..." options which contains a "+" , "-", "*" or "/" symbol.


 

Math Type [ Plus ] | math_type – Sets the mathematical operation type to perform:

  • When set to "Plus", the Math expression returns the sum of the two Math/Value expressions below it.
  • When set to "Minus", the Math expression returns the difference of the two Math/Value expressions below it.
  • When set to "Multiplied by", the Math expression returns the product of the two Math/Value expressions below it.
  • When set to "Divided by", the Math expression returns the quotient of the two Math/Value expressions below it.

...