fm_detect_manifold {fmesher} | R Documentation |
Detect manifold type
Description
Detect if a 2d object is on "R2", "S2", or "M2"
Usage
fm_detect_manifold(x)
fm_crs_detect_manifold(x)
## S3 method for class 'crs'
fm_detect_manifold(x)
## S3 method for class 'CRS'
fm_detect_manifold(x)
## S3 method for class 'numeric'
fm_detect_manifold(x)
## S3 method for class 'matrix'
fm_detect_manifold(x)
## S3 method for class 'fm_mesh_2d'
fm_detect_manifold(x)
Arguments
x |
Object to investigate |
Value
A string containing the detected manifold classification
Functions
-
fm_crs_detect_manifold()
: Detect if a crs is on "R2" or "S2" (iffm_crs_is_geocent(crs)
isTRUE
). ReturnsNA_character_
if the crs is NULL or NA.
Examples
fm_detect_manifold(1:4)
fm_detect_manifold(rbind(c(1, 0, 0), c(0, 1, 0), c(1, 1, 0)))
fm_detect_manifold(rbind(c(1, 0, 0), c(0, 1, 0), c(0, 0, 1)))
[Package fmesher version 0.1.7 Index]