addRadius: Calculate distance from points.

Description Usage Arguments Value

View source: R/utils.R

Description

To be able to draw cylinders easily, this function calculates the distance from a set of points.

Usage

1
addRadius(tec, xc = 0, yc = 0)

Arguments

tec

Tecplot element.

xc

Vector with x center of the cylinders.

yc

Vector with y center of the cylinders should have the same length as xc.

Value

Element with new fields: distance from each cylinder center.


tunelipt/tecutils documentation built on Nov. 5, 2019, 11 a.m.