rcpp_translate_torus: rcpp_translate_torus

View source: R/RcppExports.R

rcpp_translate_torusR Documentation

rcpp_translate_torus

Description

Rcpp translate coordinates around torus.

Usage

rcpp_translate_torus(x, y, extent)

Arguments

x, y

Double with xy coordinates

extent

Vector with extent (xmin,xmax,ymin,ymax).

Details

Torus translation of coordinates if they exceed the provided extent. The translation is done until coordinates are within extent (i.e., could be translated several times if the difference is big).

Value

vector


Allgeier-Lab/arrR documentation built on Feb. 13, 2025, 7:44 a.m.