is_vector_equal#

static GeometryOperators.is_vector_equal(v1: list, v2: list, tolerance: float = None) bool#

Return True if two vectors are equal.

Parameters:
v1List

List of [x, y, z] coordinates for the first vector.

v2List

List of [x, y, z] coordinates for the second vector.

tolerancefloat, optional

Linear tolerance. The default value is None. If not specified, the value is set to MathUtils.EPSILON.

Returns:
bool

True if the two vectors are equal, False otherwise.