Calculate the normalized median Vector3D for the smallest angle between
two Vector3D. In the particular case the two vectors are parallel having opposite directions,
the median will have the direction of the first vector rotated by counterclockwise 90 degrees.
Namespace: Ico.Windows.Media.Media3DAssembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public static Vector3D CalculateMedian(
Vector3D vector1,
Vector3D vector2
) |
Visual Basic |
---|
Public Shared Function CalculateMedian ( _
vector1 As Vector3D, _
vector2 As Vector3D _
) As Vector3D |
JScript |
---|
public static function CalculateMedian(
vector1 : Vector3D,
vector2 : Vector3D
) : Vector3D |
Parameters
- vector1
- Type: System.Windows.Media.Media3D..::..Vector3D
the first Vector3D
- vector2
- Type: System.Windows.Media.Media3D..::..Vector3D
the second Vector3D
Return Value
Returns a normalized
Vector3D giving the direction of the computed median
See Also