compute.intersections.sphere: Find the intersection of a plane with edges of triangles on a...

Description Usage Arguments Value Author(s)

View source: R/geometry.R

Description

Find the intersections of the plane defined by the normal n and the distance d expressed as a fractional distance along the side of each triangle.

Usage

1
compute.intersections.sphere(phi, lambda, T, n, d)

Arguments

phi

Latitude of grid points on sphere centred on origin.

lambda

Longitude of grid points on sphere centred on origin.

T

Triangulation

n

Normal of plane

d

Distance of plane along normal from origin.

Value

Matrix with same dimensions as T. Each row gives the intersection of the plane with the corresponding triangle in T. Column 1 gives the fractional distance from vertex 2 to vertex 3. Column 2 gives the fractional distance from vertex 3 to vertex 1. Column 2 gives the fractional distance from vertex 1 to vertex 2. A value of NaN indicates that the corresponding edge lies in the plane. A value of Inf indicates that the edge lies parallel to the plane but outside it.

Author(s)

David Sterratt


retistruct documentation built on April 4, 2020, 5:08 p.m.