Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
3ee9813f7This file is pinned to the selected release. Download the original to open it in your design tool.
namespace OpenScadGraphEditor.Nodes
{
public abstract class BinaryComparisonOperator : SwitchableBinaryOperator.SwitchableBinaryOperator
{
protected BinaryComparisonOperator()
{
OutputPorts.Clear();
OutputPorts
.Boolean(allowLiteral: false);
}
protected override PortType CalculateOutputPortType()
{
// all comparison operators always return a boolean
return PortType.Boolean;
}
}
}