VectorEquals 方法 (Vector, Vector) |
Compares two Vector instances for object equality. In this equality
float.NaN is equal to itself, unlike in numeric equality.
Note that float values can acquire error when operated upon, such that
an exact comparison between two values which
are logically equal may fail.
命名空间:
CPF.Drawing
程序集:
CPF (在 CPF.dll 中) 版本:0.8.8.5
语法 public static bool Equals(
Vector vector1,
Vector vector2
)
参数
- vector1
- 类型:CPF.DrawingVector
The first Vector to compare - vector2
- 类型:CPF.DrawingVector
The second Vector to compare
返回值
类型:
Boolean
bool - true if the two Vector instances are exactly equal, false otherwise
参见