Learn R Programming

Rknots (version 1.3.2)

getCoordinates-methods: Accessors for the 'points3D' and 'ends' slots of a Knot object.

Description

The points3D slot holds the $N$ x 3 matrix containing the $x$, $y$, $z$ coordinates of the points of a knot or a link. The ends slot is a vector of integers containing the separators of the link components.

Arguments

Methods

See Also

Knot-class

Examples

Run this code
knot <- makeExampleKnot(k = TRUE)
knot <- newKnot(knot)

getCoordinates(knot)
getEnds(knot)

Run the code above in your browser using DataLab