GeVectorAngleTo Method (GeVector, GeVector) |
Returns
angle in [0,2*Pi] range between
this vector and specified
vector, also
using reference
vector.
Namespace: FDF.Common.GeometriesAssembly: FDF.Common (in FDF.Common.dll) Version: 3.0.0.0
Syntax public GeAngle AngleTo(
GeVector other,
GeVector reference
)
Public Function AngleTo (
other As GeVector,
reference As GeVector
) As GeAngle
public:
GeAngle^ AngleTo(
GeVector^ other,
GeVector^ reference
)
member AngleTo :
other : GeVector *
reference : GeVector -> GeAngle
Parameters
- other
- Type: FDF.Common.GeometriesGeVector
- reference
- Type: FDF.Common.GeometriesGeVector
Return Value
Type:
GeAngleAngle in [0,2*Pi] range.
Remarks
If (refVec.dotProduct(crossProduct(vec)) >= 0.0), then the return value
coincides with the return value of the function angleTo(vec).
Otherwise the return value is 2 x Pi minus the return value of the function angleTo(vec).
See Also