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