Learn R Programming

unfoldr (version 0.7.1)

drawSpheroidIntersection: Spheroid intersections 3D

Description

Draw section profiles of spheroids in 3D

Usage

drawSpheroidIntersection(E, n = c(0, 1, 0), np = 25)

Arguments

E

a list of spheroid intersections, see intersectSystem

n

the normal vector of the intersecting plane

np

number of points for a polygon approximation of the ellipses

Details

The function requires the package 'rgl' for drawing section profiles (ellipses) into a 3D 'rgl' image. For a full example please see the file 'simSpheroids.R'.