Print objects
Usage
# S3 method for class 'fm_segm'
print(x, ..., digits = NULL, verbose = TRUE, newline = TRUE)
# S3 method for class 'fm_segm_list'
print(x, ..., digits = NULL, verbose = FALSE, newline = TRUE)
# S3 method for class 'fm_mesh_2d'
print(x, ..., digits = NULL, verbose = FALSE)
# S3 method for class 'fm_mesh_3d'
print(x, ..., digits = NULL, verbose = FALSE)
# S3 method for class 'fm_mesh_1d'
print(x, ..., digits = NULL, verbose = FALSE)
# S3 method for class 'fm_bbox'
print(x, ..., digits = NULL, verbose = TRUE, newline = TRUE)
# S3 method for class 'fm_tensor'
print(x, ..., digits = NULL, verbose = FALSE)
# S3 method for class 'fm_crs'
print(x, ...)
# S3 method for class 'fm_CRS'
print(x, ...)
Arguments
- x
an object used to select a method.
- ...
further arguments passed to or from other methods.
- digits
a positive integer indicating how many significant digits are to be used for numeric and complex x. The default, NULL, uses
getOption("digits")
.- verbose
logical
- newline
logical; if
TRUE
(default), end the printing with\n
Examples
fm_bbox(matrix(1:6, 3, 2))
#> Bounding box: (1,3) x (4,6)
print(fm_bbox(matrix(1:6, 3, 2)), verbose = FALSE)
#> (1,3) x (4,6)
print(fmexample$mesh)
#> fm_mesh_2d object:
#> Manifold: R2
#> V / E / T: 279 / 805 / 527
#> Euler char.: 1
#> Constraints: 29 boundary edges (1 group: 1), 54 interior edges (1 group: 1)
#> Bounding box: (-5.331027, 4.061656) x (-3.998161, 5.415609)
#> Basis d.o.f.: 279
print(fmexample$boundary_fm)
#> 46 boundary edges (1 group: 1)
#> 26 boundary edges (1 group: 1)
print(fm_mesh_1d(c(1, 2, 3, 5, 7), degree = 2))
#> fm_mesh_1d object:
#> Manifold: R1
#> #{knots}: 5
#> Interval: (1, 7)
#> Boundary: (neumann, neumann)
#> B-spline degree: 2
#> Basis d.o.f.: 4