View source: R/solid_cylindrical.R
| vc_solid_cylindrical | R Documentation |
Sample a cylindrical solid using stored parameter-box faces
vc_solid_cylindrical(
radial_lower,
radial_upper,
bottom,
top,
interval = NULL,
n = 24L,
n_u = 12L,
n_v = 12L,
partition = NULL
)
radial_lower, radial_upper |
Nonnegative ordered radius functions of theta. |
bottom, top |
Height functions of one theta,r vector, ordered at nodes. |
interval |
Increasing azimuth bounds in radians, span at most |
n, n_u, n_v |
Positive subdivisions in theta, radial blend and height blend. |
partition |
Optional vc_partition result for custom theta strips. |
Reuses vc_solid_cartesian unchanged, then maps stored theta,r,z to
x=r*cos(theta), y=r*sin(theta), z=z. No boundary reevaluation is needed
for this mapping; no area, normals, volume or quadrature are computed.
Sampled boundary order does not certify between-node order or topology.
At the axis patches can collapse. At a full turn angular cut patches can
overlap and are not necessarily exterior boundary: all parameter patches
remain stored and caller selects which to draw. Periodic boundary agreement
is not inferred; nonperiodic endpoints can describe different seam sections.
Coincident coordinates can differ by trigonometric roundoff. No exact
closure, outward orientation or watertight manifold is certified.
Plain list of type solid_cylindrical with parameter (full unchanged
vc_solid_cartesian result in theta,r,z coordinates), physical Cartesian
faces named theta_min, theta_max, radial_inner, radial_outer, z_lower,
z_upper, full_turn flag (exact numeric span equals 2*pi), and note.
vc_solid_cylindrical(function(t)0,function(t)1,function(v)0,function(v)2,
c(0,pi/2),n=4,n_u=3,n_v=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.