Combo Overlay: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


==Operators==
==Operators==
In the table below are the operators displayed that are supported by the combo overlay. The term argument refers to a grid overlay, a numerical value or a global name.
{{Combo operators|suppresscategory=true|allowselflinks=true|
{{Combo operators|type=row|combo_operator=SIN    | |category=Single |otype=Function  |display=Sine function}}
{{Combo operators|type=row|combo_operator=COS    | |category=Single |otype=Function  |display=Cosine function}}
{{Combo operators|type=row|combo_operator=TAN    | |category=Single |otype=Function  |display=Tangent function}}
{{Combo operators|type=row|combo_operator=ASIN  | |category=Single |otype=Function  |display=Arc sine function}}
{{Combo operators|type=row|combo_operator=ACOS  | |category=Single |otype=Function  |display=Arc cosine function}}
{{Combo operators|type=row|combo_operator=ATAN  | |category=Single |otype=Function  |display=Arc tangent function}}
{{Combo operators|type=row|combo_operator=ROUND  | |category=Single |otype=Function  |display=Round function}}
{{Combo operators|type=row|combo_operator=FLOOR  | |category=Single |otype=Function  |display=Floor function}}
{{Combo operators|type=row|combo_operator=CEIL  | |category=Single |otype=Function  |display=Ceil function}}
{{Combo operators|type=row|combo_operator=ABS    | |category=Single |otype=Function  |display=Absolute function}}
{{Combo operators|type=row|combo_operator=EXP    | |category=Single |otype=Function  |display=Exponential function}}
{{Combo operators|type=row|combo_operator=LN    | |category=Single |otype=Function  |display=The natural logarithm (base e) function}}
{{Combo operators|type=row|combo_operator=LOG    | |category=Single |otype=Function  |display=The natural logarithm (base 10) function}}
{{Combo operators|type=row|combo_operator=SQRT  | |category=Single |otype=Function  |display=The square root function}}
{{Combo operators|type=row|combo_operator=RANDOM | |category=Single |otype=Function  |display=The random function, which returns a number greater than or equal to 0.0 and less than 1.0 }}
{{Combo operators|type=row|combo_operator=ADD    | |category=Multi  |otype=Operator  |display=Add one or more argument}}
{{Combo operators|type=row|combo_operator=MULT  | |category=Multi  |otype=Operator  |display=Multiply one or more arguments}}
{{Combo operators|type=row|combo_operator=SUB    | |category=Multi  |otype=Operator  |display=Subtract one or argument from the first argument}}
{{Combo operators|type=row|combo_operator=DIV    | |category=Multi  |otype=Operator  |display=Divide the first argument with one or more other arguments}}
{{Combo operators|type=row|combo_operator=OR    | |category=Multi  |otype=Boolean  |display=Returns 1.0 if any argument is not equal to 0.0.}}
{{Combo operators|type=row|combo_operator=AND    | |category=Multi  |otype=Boolean  |display=Returns 1.0 if all arguments are not equal to 0.0.}}
{{Combo operators|type=row|combo_operator=GTE    | |category=Pair  |otype=Boolean  |display=Returns 1.0 if the first argument is larger than or equal to the second argument, else returns 0.0.}}
{{Combo operators|type=row|combo_operator=GT    | |category=Pair  |otype=Boolean  |display=Returns 1.0 if the first argument is larger than the second argument, else returns 0.0.}}
{{Combo operators|type=row|combo_operator=LTE    | |category=Pair  |otype=Boolean  |display=Returns 1.0 if the first argument is smaller than or equal to the second argument, else returns 0.0.}}
{{Combo operators|type=row|combo_operator=LT    | |category=Pair  |otype=Boolean  |display=Returns 1.0 if the first argument is smaller than the second argument, else returns 0.0.}}
{{Combo operators|type=row|combo_operator=NEQ    | |category=Pair  |otype=Boolean  |display=Returns 1.0 if the first argument is not equal to the second argument, else returns 0.0.}}
{{Combo operators|type=row|combo_operator=EQ    | |category=Pair  |otype=Boolean  |display=Returns 1.0 if the first argument is equal to second argument, else returns 0.0.}}
}}

Revision as of 11:02, 7 December 2020

File:Combo overlay example.jpg
The combo overlay, displaying buildings with traffic flow.

The combo overlay is an overlay which can combine up to three grid overlays with boolean operators and can apply formulas to it. The list of available functions is given below. Combo overlays can also take other combo overlays as input. Another powerful combination is the use of combo overlays with average overlays (with or without an average distance).

Operators

In the table below are the operators displayed that are supported by the combo overlay. The term argument refers to a grid overlay, a numerical value or a global name.