| IEdge3 | 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 IEdge3 object.
IEdge3$new(O, direction)
Othe vertex O (origin)
directionthe vector direction
A new IEdge3 object.
iedge <- IEdge3$new(c(1, 1, 1), c(1, 2, 3)) iedge iedge$O iedge$O <- c(1, 0, 0) iedge
print()Show instance of an IEdge3 object.
IEdge3$print(...)
...ignored
IEdge3$new(c(2, 0, 0), c(3, -1, 4))
clone()The objects of this class are cloneable with this method.
IEdge3$clone(deep = FALSE)
deepWhether to make a deep clone.
## ------------------------------------------------
## Method `IEdge3$new`
## ------------------------------------------------
iedge <- IEdge3$new(c(1, 1, 1), c(1, 2, 3))
iedge
iedge$O
iedge$O <- c(1, 0, 0)
iedge
## ------------------------------------------------
## Method `IEdge3$print`
## ------------------------------------------------
IEdge3$new(c(2, 0, 0), c(3, -1, 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.