Skip to content

Interface: TransformOptions

Defined in: src/resampling/IResampler.ts:41

Options for coordinate transformation

Properties

matrix?

ts
optional matrix?: number[][];

Defined in: src/resampling/IResampler.ts:45

4x4 affine transformation matrix


translation?

ts
optional translation?: [number, number, number];

Defined in: src/resampling/IResampler.ts:50

Translation vector [x, y, z]


rotation?

ts
optional rotation?: [number, number, number];

Defined in: src/resampling/IResampler.ts:55

Rotation angles in radians [x, y, z]


scale?

ts
optional scale?: [number, number, number];

Defined in: src/resampling/IResampler.ts:60

Scaling factors [x, y, z]


center?

ts
optional center?: [number, number, number];

Defined in: src/resampling/IResampler.ts:65

Center of rotation/scaling

Released under the MIT License.