| IEdge2 | R Documentation |
A semi-infinite edge is given by a vertex, its origin, and a vector, its direction. Voronoï diagrams possibly have such edges.
Oget or set the vertex O
directionget or set the vector direction
new()Create a new IEdge2 object.
IEdge2$new(O, direction)
Othe vertex O (origin)
directionthe vector direction
A new IEdge2 object.
iedge <- IEdge2$new(c(1, 1), c(2, 3)) iedge iedge$O iedge$O <- c(1, 0) iedge
print()Show instance of an IEdge2 object.
IEdge2$print(...)
...ignored
IEdge2$new(c(2, 0), c(3, -1))
clone()The objects of this class are cloneable with this method.
IEdge2$clone(deep = FALSE)
deepWhether to make a deep clone.
## ------------------------------------------------
## Method `IEdge2$new`
## ------------------------------------------------
iedge <- IEdge2$new(c(1, 1), c(2, 3))
iedge
iedge$O
iedge$O <- c(1, 0)
iedge
## ------------------------------------------------
## Method `IEdge2$print`
## ------------------------------------------------
IEdge2$new(c(2, 0), c(3, -1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.