orthonormalBasis {TrajectoryGeometry} | R Documentation

## Find an orthonormal basis in dimension 3

### Description

Given a vector in R3, this normalizes it and then uses it as the first basis vector in an orthonormal basis. We'll use this to find circles around points on the sphere.

### Usage

    orthonormalBasis(x)

### Arguments

`x` | - A vector of length 3

### Value

This function returns an orthonormal basis in the the form of a 3 x 3 matrix in which the first vector is parallel to v

### Examples

    anOrthonormalBasis = orthonormalBasis(c(1,1,1))

[Package TrajectoryGeometry version 1.0.0 Index]