[base] Extend Vector by isParallel function

This commit is contained in:
edi271
2023-12-21 17:17:54 +01:00
committed by WandererFan
parent 5ee16df6b7
commit 9a9803c9f9
2 changed files with 31 additions and 0 deletions

View File

@@ -143,6 +143,17 @@ Normalizes in-place this vector to the length of 1.0.</UserDocu>
Checks if the distance between the points represented by this vector
and `vector2` is less or equal to the given tolerance.
vector2 : Base.Vector
tol : float</UserDocu>
</Documentation>
</Methode>
<Methode Name="isParallel" Const="true">
<Documentation>
<UserDocu>isParallel(vector2, tol=0) -> bool
Checks if this vector and `vector2` are
parallel less or equal to the given tolerance.
vector2 : Base.Vector
tol : float</UserDocu>
</Documentation>