Vector2Equals Method (Vector2, Vector2, Double)
|
Check if the components of two vectors are approximate equal.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static bool Equals(
Vector2 a,
Vector2 b,
double threshold
)
Public Shared Function Equals (
a As Vector2,
b As Vector2,
threshold As Double
) As Boolean
public:
static bool Equals(
Vector2 a,
Vector2 b,
double threshold
)
static member Equals :
a : Vector2 *
b : Vector2 *
threshold : float -> bool
STATIC METHOD Equals(
a AS Vector2,
b AS Vector2,
threshold AS REAL8
) AS LOGIC
Parameters
- a
- Type: DXFReaderNETVector2
First vector. - b
- Type: DXFReaderNETVector2
Second vector. - threshold
- Type: SystemDouble
Maximum tolerance.
Return Value
Type:
BooleanTrue if the two components are almost equal or false in any other case.
See Also