Class "pos" to define the projection into $R^2$ of objects into $R^3$

Description

As display of /gn/s is performed from a $R^3$ perspective, then /pos/ was issued to commonly define the projection into $R^2$ (paper, screen).

Objects from the Class

Objects can be created by calls of the form new("pos") and modified with rsba3k function.

Slots

posi:

Object of class "matrix": each row is associated to a node; columns are the three coordinates and a decoration code for the node; then a nbnx4 matrix.

view:

Object of class "numeric": the two angles (in grades ?) for the projection into $R^2$. (0,0) means the use of (x,y).

zoom:

Object of class "numeric": four values: center point after normalization on [-1,+1] instead of [min,MAX] and the the magnifying factor for both coordinates. (0,0,0,1) implies the standard fitted view.

Methods

print

See print8pos for the details.

Note

~~further notes~~

Author(s)

J.-B. Denis

Examples

1
showClass("pos")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.