point_element: Given a POINT object, determine the elements each point...

View source: R/FVCOMPhysics.R

point_elementR Documentation

Given a POINT object, determine the elements each point belongs to

Description

Given a POINT object, determine the elements each point belongs to

Usage

point_element(X, p)

Arguments

X

FVCOM_Physics object

p

sf POINT object

Value

integer index matching the mesh element that contains each point. For points outside of the mesh -1 is returned.


BigelowLab/fvcom documentation built on Nov. 8, 2024, 2:24 p.m.