Skip to content

Function: getSliceAxisName()

ts
function getSliceAxisName(viewAxis): string;

Defined in: src/geometry/SliceHelpers.ts:67

Get the name of the axis being sliced for a given view

Parameters

viewAxis

AxisSet3D

The viewing orientation

Returns

string

The name of the axis being sliced ('X', 'Y', or 'Z')

Released under the MIT License.