is_vector_equal#
- static GeometryOperators.is_vector_equal(v1: list, v2: list, tolerance: float = None) bool#
Return
Trueif two vectors are equal.- Parameters:
- v1
List List of
[x, y, z]coordinates for the first vector.- v2
List List of
[x, y, z]coordinates for the second vector.- tolerance
float,optional Linear tolerance. The default value is
None. If not specified, the value is set toMathUtils.EPSILON.
- v1
- Returns:
- bool
Trueif the two vectors are equal,Falseotherwise.