Intermact API Reference / @intermact/core / Axes3DHandle
Interface: Axes3DHandle
Defined in: packages/core/src/layout/axes3d.ts:44
Handle for mapping 3D data coordinates to world coordinates (design.md §7.4). In 3D the math space is the world space, so the mapping is the identity; the handle still carries props so axis-bound constructs can read the ranges.
Properties
props
readonlyprops:Axes3DLayoutProps
Defined in: packages/core/src/layout/axes3d.ts:49
Methods
c2p()
c2p(
coord):AbsXYZ
Defined in: packages/core/src/layout/axes3d.ts:46
Data coordinate [x, y, z] → absolute world point.
Parameters
coord
Returns
p2c()
p2c(
point):Vec3
Defined in: packages/core/src/layout/axes3d.ts:48
Absolute world point → data coordinate [x, y, z].