Extract unique vertices
sc_vertex(x, ...)
# Default S3 method
sc_vertex(x, ...)
# S3 method for class 'SC'
sc_vertex(x, ...)
# S3 method for class 'SC0'
sc_vertex(x, ...)
# S3 method for class 'ARC'
sc_vertex(x, ...)
# S3 method for class 'TRI'
sc_vertex(x, ...)
# S3 method for class 'TRI0'
sc_vertex(x, ...)
# S3 method for class 'PATH'
sc_vertex(x, ...)
# S3 method for class 'PATH0'
sc_vertex(x, ...)
# S3 method for class 'pslg'
sc_vertex(x, ...)data frame of only the unique coordinates
sc_vertex(minimal_mesh)
#> # A tibble: 14 × 2
#> x_ y_
#> <dbl> <dbl>
#> 1 0 0
#> 2 0 1
#> 3 0.2 0.2
#> 4 0.2 0.4
#> 5 0.3 0.6
#> 6 0.5 0.2
#> 7 0.5 0.4
#> 8 0.5 0.7
#> 9 0.69 0
#> 10 0.75 1
#> 11 0.8 0.6
#> 12 1 0.8
#> 13 1.1 0.63
#> 14 1.23 0.3
sc_vertex(SC0(minimal_mesh))
#> # A tibble: 14 × 2
#> x_ y_
#> <dbl> <dbl>
#> 1 0 0
#> 2 0 1
#> 3 0.2 0.2
#> 4 0.2 0.4
#> 5 0.3 0.6
#> 6 0.5 0.2
#> 7 0.5 0.4
#> 8 0.5 0.7
#> 9 0.69 0
#> 10 0.75 1
#> 11 0.8 0.6
#> 12 1 0.8
#> 13 1.1 0.63
#> 14 1.23 0.3