as.directorVector {gmGeostats}R Documentation

Express a direction as a director vector

Description

Internal methods to express a direction (in 2D or 3D) as director vector(s). These functions are not intended for direct use.

Usage

as.directorVector(x, ...)

## Default S3 method:
as.directorVector(x, ...)

## S3 method for class 'azimuth'
as.directorVector(x, D = 2, ...)

## S3 method for class 'azimuthInterval'
as.directorVector(x, D = 2, ...)

Arguments

x

value of the direction in a certain representation

...

extra parameters for generic functionality

D

dimension currently used (D=2 default; otherwise D=3; other values are not accepted)

Value

A 2- or 3- column matrix which rows represents the unit director vector of each direction specified.

Methods (by class)


[Package gmGeostats version 0.11.3 Index]