CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Determins, whether the directions of the given vectors are almost identical, i.e.
the angular difference is less than epsa. This is alos true for opposite directions.
Namespace: CADabilityAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public static bool SameDirection( GeoVector v1, GeoVector v2, bool VectorsAreNormalized ) |
Visual Basic |
---|
Public Shared Function SameDirection ( _ v1 As GeoVector, _ v2 As GeoVector, _ VectorsAreNormalized As Boolean _ ) As Boolean |
Visual C++ |
---|
public: static bool SameDirection( GeoVector v1, GeoVector v2, bool VectorsAreNormalized ) |
Parameters
- v1
- Type: CADability..::..GeoVector
first vector
- v2
- Type: CADability..::..GeoVector
second vector
- VectorsAreNormalized
- Type: System..::..Boolean
true, if the vectors are already normalized, false if not or unknown