OrthonormalBasis Constructor (UnitCartesian, UnitCartesian) |
Initializes an orthonormal bases with the input direction and reference.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public OrthonormalBasis(
UnitCartesian principal,
UnitCartesian reference
)
Public Sub New (
principal As UnitCartesian,
reference As UnitCartesian
)
public:
OrthonormalBasis(
UnitCartesian principal,
UnitCartesian reference
)
new :
principal : UnitCartesian *
reference : UnitCartesian -> OrthonormalBasis
Parameters
- principal
- Type: AGI.Foundation.CoordinatesUnitCartesian
The principal direction. - reference
- Type: AGI.Foundation.CoordinatesUnitCartesian
The reference direction.
Remarks
The first axis coincides with the principal direction. The seconds axis is the unit vector
in the direction defined by crossing the reference direction with the principal direction.
The third axis is then the result of crossing the first and second axes.
See Also