R/utils.R

Defines functions print.scimesh_mesh print.scimesh_options print.scimesh_camera print.scimesh_image

#' @keywords internal
#' @export
print.scimesh_image <- function(x, ...) {
    cat("Scimesh RGBA image ", x$width, "x", x$height, "\n", sep = "")
    invisible(x)
}

#' @keywords internal
#' @export
print.scimesh_camera <- function(x, ...) {
    cat(scimesh_print_camera(x), "\n")
    invisible(x)
}

#' @keywords internal
#' @export
print.scimesh_options <- function(x, ...) {
    cat(scimesh_print_options(x), "\n")
    invisible(x)
}

#' @keywords internal
#' @export
print.scimesh_mesh <- function(x, ...) {
    cat(scimesh_print_mesh(x), "\n")
    invisible(x)
}

Try the scimesh package in your browser

Any scripts or data that you put into this service are public.

scimesh documentation built on Aug. 9, 2026, 9:07 a.m.