Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

setRays

helper function to create an object to be processed by vcgRaySearch


Description

create a search structure from a matrix of coordinates and one of directional vectors to be processed by vcgRaySearch

Usage

setRays(coords, dirs)

Arguments

coords

k x 3 matrix (or a vector of length 3) containing the starting points of the rays

dirs

k x 3 matrix (or a vector of length 3) containing the directons of the rays. The i-th row of dirs corresponds to the coordinate stored in the i-th row of coords

Value

an object of class "mesh3d" (without faces) and the vertices representing the starting points of the rays and the normals storing the directions.


Rvcg

Manipulations of Triangular Meshes Based on the 'VCGLIB' API

v0.19.2
GPL (>= 2) | file LICENSE
Authors
Stefan Schlager [aut, cre, cph], Girinon Francois [ctb]
Initial release
2021-01-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.