Skip to content

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

readonly props: 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

Vec3

Returns

AbsXYZ


p2c()

p2c(point): Vec3

Defined in: packages/core/src/layout/axes3d.ts:48

Absolute world point → data coordinate [x, y, z].

Parameters

point

AbsXYZ

Returns

Vec3

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)