Namespace: transform

utils.transform

...
Source:

Methods

bisect3d(opts, geom)

Cuts a given geometry in half.
Parameters:
Name Type Description
opts Object
Properties
Name Type Description
axis string Axis direction pointing to the remaining geometry. This could be negative, specified like "x" or "-y"
geom Object Object we're cutting
Source:
Returns:
bisected geometry

cutCircularSlice(opts, geom)

Cuts a slice of an object
Parameters:
Name Type Description
opts Object
Properties
Name Type Description
centralAngle number
geom Object Object we're cutting
Source:
Returns:
bisected geometry

(static) stack(opts, geoms)

...
Parameters:
Name Type Description
opts object
Properties
Name Type Description
reverse boolean
geoms Array.<object>
Source: