This component class implements the negation operator, which changes the sign of the input value.
Use this class to create parts in Canvas Views to form equation model that contains negation operations. The operator simply gets the value from the input link, changes its sign, and places the result to the output links.
There can only be one input. If its value is positive, the resulting value will be negative with the same magnitude. If the input value is negative, the resulting value will be positive with the same magnitude.
If there is no input link connected to Port 1, the values of the output links are unchanged (no operation).
When there are multiple output links, all will have the same resulting value after evaluation.
None.
Evaluation (SG_xEval): negates the value of the link at Port 1 and places the resulting value in all the output links.
Port 1: connects to an input link with a value that is to be negated. It can be used only once (unique port). You have to delete the input link in order to connect a new link with it.
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.