in_icecone: Check if point lies within an "ice cone" like shape

View source: R/in_icecone_function.R

in_iceconeR Documentation

Check if point lies within an "ice cone" like shape

Description

Function that checks for each X-Y-coordinate pair, whether the point lies in an "ice cone" of a given center, radius and height. The ice cone consists of a hemi- spheroid forming the upper half (ice ball) and a bottom-up cone forming the lower half (waffle). Works with single numbers or matrices of X- and Y-coordinates as input.

Usage

in_icecone(Xcor, Ycor, Zcor, Xctr, Yctr, Zctr, radius, height)

Arguments

Xcor

X-coordinate of the point

Ycor

Y-coordinate of the point

Zcor

Z-coordinate of the point

Xctr

X-coordinate of the center

Yctr

Y-coordinate of the center

Zctr

Z-coordinate of the center

radius

...of the structure

height

...of the structure

Value

boolean or matrix of booleans

Author(s)

Nikolai Knapp

Examples

in progress

niknap/slidaRtools documentation built on Oct. 16, 2024, 3:53 p.m.