setters: Setters for the 'points3D' and 'ends' slots of a Knot object.

Description Methods Author(s) See Also Examples

Description

The points3D slot holds the N x 3 matrix containing the x, y, z coordinates of the points.

The ends slot is a vector of integers containing the separators of the link components.

Methods

signature(object = "Knot")

Author(s)

Federico Comoglio, federico.comoglio@bsse.ethz.ch

See Also

Knot-class

Examples

1
2
3
4
5
link <- makeExampleKnot(k = FALSE)
link <- newKnot(link$points3D, link$ends)

setCoordinates(link) <- matrix(runif(90), ncol = 3)
setEnds(link) <- c(10, 20)

Rknots documentation built on May 1, 2019, 10:19 p.m.