torus_3d_row: Generate a row of data points for a 3D torus.

View source: R/highd_obj.R

torus_3d_rowR Documentation

Generate a row of data points for a 3D torus.

Description

This function generates a row of data points for a 3D torus with given radii.

Usage

torus_3d_row(radius)

Arguments

radius

A numeric vector containing the radii of the torus, from largest to smallest.

Value

A vector representing a row of data points for the 3D torus.

Examples

set.seed(20240412)
torus_3d_row(c(2, 1))


cardinalR documentation built on May 29, 2024, 4:37 a.m.