Table of Contents

Class NwcTransform

Namespace
NwcIO.Model
Assembly
NwcIO.dll

A 3D spatial transformation (pose, translation, rotation quaternion and bounding box) parsed from Navisworks Transforms streams.

public sealed class NwcTransform

Inheritance

Inherited Members

Properties

BoundingBox

Axis-aligned bounding box of the element geometry in local space.

public BoundingBox3d? BoundingBox { get; init; }

Property Value

BoundingBox3d?

Id

public required int Id { get; init; }

Property Value

int

Rotation

Unit rotation quaternion (X, Y, Z, W).

public Quaterniond Rotation { get; init; }

Property Value

Quaterniond

Translation

Translation in 3D world space (typically in millimeters or document units).

public Vector3d Translation { get; init; }

Property Value

Vector3d

Methods

ToMatrix4x4()

Computes the 4x4 affine transformation matrix in row-major order:

[ R00, R01, R02, 0 ]
[ R10, R11, R12, 0 ]
[ R20, R21, R22, 0 ]
[ Tx,  Ty,  Tz,  1 ]
public double[] ToMatrix4x4()

Returns

double[]