pointInZone: Determine if point is inside a grid.

Description Usage Arguments Value

View source: R/polygon.R

Description

Find out whether a point is inside a grid. The grid is defined as a tecplot 2D structured zone. A structured grid is determined by an a 2D array of points where index I runs faster that index J. This function searches each quadrilateral that makes up the grid and determines in which one the point is. If found, it returns the corresponding (i,j) index. Else return NULL.

Usage

1
pointInZone(z, x, y)

Arguments

z

Tecplot 2D structured zone.

x

X coordinate of the point.

y

Y coordinate of the point.

Value

Indices (i,j) of the grid where the point is located or NULL.


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