Arithmetic for nat dotprops and surface objects
# S3 method for dotprops
Ops(e1, e2 = NULL)
# S3 method for mesh3d
Ops(e1, e2 = NULL)
# S3 method for hxsurf
Ops(e1, e2 = NULL)
Arguments
- e1
A dotprops or surface (hxsurf, mesh3d) object
- e2
A scalar or 3-vector that will be applied to the dotprops object
Value
A new dotprops / surface object
Examples
kcs20.shift=kcs20+c(2,3,4)
# \donttest{
plot3d(kcs20, col='grey')
plot3d(kcs20.shift, col='red')
# }