OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
occtl_transform_t Struct Reference

#include <occtl_geom.h>

Public Attributes

double m [12]
 

Detailed Description

3-by-4 affine transform, row-major, double precision.

Represents the linear part and translation of an affine map from 3D to 3D. Layout (row indices 0–2, column indices 0–3):

m[0..3] — row 0: [a00 a01 a02 tx]
m[4..7] — row 1: [a10 a11 a12 ty]
m[8..11] — row 2: [a20 a21 a22 tz]
double m[12]
Definition occtl_geom.h:172

The implicit last row is [0 0 0 1]. occtl_transform_identity returns a valid identity transform. The rotation sub-matrix is not guaranteed orthonormal unless the transform was produced by occtl_transform_rotation or composed from other valid transforms.

Member Data Documentation

◆ m

double occtl_transform_t::m[12]

Row-major 3×4 coefficients.


The documentation for this struct was generated from the following file: