geodesic: Compute the value of the geodesic curve connecting two points...

View source: R/linear-spherical-spline.R

GeodesicR Documentation

Compute the value of the geodesic curve connecting two points on the unit sphere for a given set of time points t

Description

This function computes the value of the geodesic curve connecting two points p and q on the unit sphere at specified time points.

Usage

Geodesic(t, p, q, a, b)

Arguments

t

Numeric vector representing time points for the geodesic path.

p

Numeric vector representing the starting point on the sphere.

q

Numeric vector representing the ending point on the sphere.

a

Start time parameter.

b

End time parameter.

Value

Numeric matrix representing points along the geodesic path at specified time points.

Examples

Geodesic(c(0.25, 0.5, 0.75), c(1,0,0), c(0,1,0), 0, 1)

spheresmooth documentation built on May 29, 2024, 3:15 a.m.