Skip to contents

Specify a torus-patch geometry

Usage

synthetic.torus.patch(
  major.radius = 1,
  minor.radius = 0.35,
  u.range = c(-pi/2, pi/2),
  v.range = c(-pi/2, pi/2),
  ambient.dim = 3L,
  frame = c("canonical", "random.orthonormal", "supplied"),
  frame.algorithm = NULL,
  frame.matrix = NULL,
  offset = NULL
)

Arguments

major.radius, minor.radius

Torus radii.

u.range, v.range

Admissible angular intervals.

ambient.dim

Ambient dimension.

frame, frame.algorithm, frame.matrix, offset

Frame parameters.

Value

A synthetic geometry component.

Examples

synthetic.torus.patch(major.radius = 2, minor.radius = 0.5)
#> $kind
#> [1] "geometry"
#> 
#> $family
#> [1] "torus.patch"
#> 
#> $version
#> [1] 1
#> 
#> $parameters
#> $parameters$intrinsic.dim
#> [1] 2
#> 
#> $parameters$ambient.dim
#> [1] 3
#> 
#> $parameters$canonical.dim
#> [1] 3
#> 
#> $parameters$u.range
#> [1] -1.570796  1.570796
#> 
#> $parameters$v.range
#> [1] -1.570796  1.570796
#> 
#> $parameters$major.radius
#> [1] 2
#> 
#> $parameters$minor.radius
#> [1] 0.5
#> 
#> $parameters$frame
#> [1] "canonical"
#> 
#> $parameters$frame.algorithm
#> NULL
#> 
#> $parameters$frame.matrix
#> NULL
#> 
#> $parameters$offset
#> [1] 0 0 0
#> 
#> 
#> attr(,"class")
#> [1] "synthetic_torus_patch_geometry" "synthetic_geometry"            
#> [3] "synthetic_component"