A semi-infinite edge is given by a vertex, its origin, and a vector, its direction. Voronoï diagrams possibly have such edges.
Methods
Method print()
Show instance of an IEdge2
object.
Examples
## ------------------------------------------------
## Method `IEdge2$new`
## ------------------------------------------------
iedge <- IEdge2$new(c(1, 1), c(2, 3))
iedge
#> IEdge:
#> origin O: 1, 1
#> direction: 2, 3
iedge$O
#> [1] 1 1
iedge$O <- c(1, 0)
iedge
#> IEdge:
#> origin O: 1, 0
#> direction: 2, 3
## ------------------------------------------------
## Method `IEdge2$print`
## ------------------------------------------------
IEdge2$new(c(2, 0), c(3, -1))
#> IEdge:
#> origin O: 2, 0
#> direction: 3, -1