Extract unique vertices

sc_vertex(x, ...)

# S3 method for default
sc_vertex(x, ...)

# S3 method for SC
sc_vertex(x, ...)

# S3 method for SC0
sc_vertex(x, ...)

# S3 method for ARC
sc_vertex(x, ...)

# S3 method for TRI
sc_vertex(x, ...)

# S3 method for TRI0
sc_vertex(x, ...)

# S3 method for PATH
sc_vertex(x, ...)

# S3 method for PATH0
sc_vertex(x, ...)

# S3 method for pslg
sc_vertex(x, ...)

Arguments

x

model

...

passed to methods

Value

data frame of only the unique coordinates

Examples

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