This component class implements the division arithmetic operator.
Use this class to create parts in Canvas Views to form an equation model that contains division operations. The operator divides the value of the input link at Port 0 (dividend) by the input values of the links connected to Port 1 (divisor) and places the resulting value to the output links.
If there is no link connected to Port 0, the operator issues an error and stop processing.
When there are multiple input links connected to Port 1, all the values are used as divisors.
If any of the divisor is 0.0, the operator issues an error and stop processing.
When there are multiple output links, all will have the same resulting value after evaluation.
Evaluation (SG_xEval): divides the value of the link at Port 0 by the values of all input links at Port 1 and places the resulting value in all the output links.
Port 0: connects to an input link with a value that is to be used as the dividend. It can be used only once (unique port). You need to change a port number from 0 to 1 before renaming another port to Port 0.
Port 1: connects to an input link that is to be used as a divisor. It can be linked multiple times.
Port 2: connects to an output link that receives the resulting value. It can be linked multiple times.
Visual Calculator for SansGUI Version 1.1
Copyright © 2001-2003 ProtoDesign, Inc. All rights reserved.