dotprops-arithmetic: Arithmetic for nat dotprops and surface objects

Ops.dotpropsR Documentation

Arithmetic for nat dotprops and surface objects

Description

Arithmetic for nat dotprops and surface objects

Usage

## S3 method for class 'dotprops'
Ops(e1, e2 = NULL)

## S3 method for class 'mesh3d'
Ops(e1, e2 = NULL)

## S3 method for class '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

See Also

scale.dotprops, Ops.neuron

Examples

kcs20.shift=kcs20+c(2,3,4)

plot3d(kcs20, col='grey')
plot3d(kcs20.shift, col='red')


natverse/nat documentation built on Feb. 19, 2024, 7:19 a.m.