Class NotApproximatelyEqual
Compares two numbers to determine if they are not approximately equal (disregarding floating point precision errors).
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitCategory]
[UnitShortTitleAttribute]
[UnitSubtitleAttribute]
[UnitOrderAttribute]
public sealed class NotApproximatelyEqual : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
a
The first number.
Declaration
[DoNotSerializeAttribute]
public ValueInput a { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
b
The second number.
Declaration
[DoNotSerializeAttribute]
public ValueInput b { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
notEqual
Whether A is not approximately equal to B.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput notEqual { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
Comparison(Flow)
Declaration
public bool Comparison(Flow flow)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow |
Returns
| Type | Description |
|---|---|
| bool |
Definition()
Declaration
protected override void Definition()
Overrides
Implements
IDisposable