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 IEdge3
object.
Examples
## ------------------------------------------------
## Method `IEdge3$new`
## ------------------------------------------------
iedge <- IEdge3$new(c(1, 1, 1), c(1, 2, 3))
iedge
#> IEdge:
#> origin O: 1, 1, 1
#> direction: 1, 2, 3
iedge$O
#> [1] 1 1 1
iedge$O <- c(1, 0, 0)
iedge
#> IEdge:
#> origin O: 1, 0, 0
#> direction: 1, 2, 3
## ------------------------------------------------
## Method `IEdge3$print`
## ------------------------------------------------
IEdge3$new(c(2, 0, 0), c(3, -1, 4))
#> IEdge:
#> origin O: 2, 0, 0
#> direction: 3, -1, 4