next up previous contents index
Next: Properties Up: esys.pycad Classes Previous: Volumes   Contents   Index

Transformations

Sometimes it's convenient to create an object and then make copies at different orientations and in different sizes. Transformations are used to move geometrical objects in the 3-dimensional space and to resize them.


\begin{classdesc}{Translation}{\optional{b=[0,0,0]}}
defines a translation $x \t...
... converted
into a \module{numpy}\xspace object of shape $(3,)$.
\end{classdesc}


\begin{classdesc}{Rotation}{\optional{axis=[1,1,1], \optional{ point = [0,0,0], ...
...sitive length. The right hand rule~\cite{RIGHTHANDRULE}
applies.
\end{classdesc}


\begin{classdesc}{Dilation}{\optional{factor=1., \optional{centre=[0,0,0]}}}
def...
... converted
into a \module{numpy}\xspace object of shape $(3,)$.
\end{classdesc}


\begin{classdesc}{Reflection}{\optional{normal=[1,1,1], \optional{offset=0}}}
de...
...} does not have to be normalised but must have positive length.
\end{classdesc}


\begin{datadesc}{DEG}
A constant to convert from degrees to an internal angle re...
...ion in radians. For instance use \code{90*DEG} for $90$\ degrees.
\end{datadesc}


next up previous contents index
Next: Properties Up: esys.pycad Classes Previous: Volumes   Contents   Index
esys@esscc.uq.edu.au