dolphin.spatial3d · thing ·

dolphinAffine3

A dolphin affine3 record carrying a, x.

cpudolphindolphin.spatial3dmethodsource-examplespatial3dthing

Work with Vector3, axis-aligned boxes, containment, and bounded ray intersections.

external thing dolphinAffine3

Status: source-declared

Fields and methods (5)
float a
Stores a as float.
float x
Stores x as float.
dolphinAffine3()
Dolphin affine3.
Direction(Vector3 v) returns Vector3
Direction. Complete example
Point(Vector3 v) returns Vector3
Point. Complete example

Use dolphinAffine3

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using dolphin.spatial3d

// Work with Vector3, axis-aligned boxes, containment, and bounded ray intersections.
dolphinAffine3 sample = dolphinAffine3()
Console.Log(Text.From(sample.a))
project.mech
manifestVersion = "2"
package = "api.example.dolphin_spatial3d__dolphinaffine3"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"

dolphinAffine3.Direction

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using dolphin.spatial3d

// Direction.
dolphinAffine3 instance = dolphinAffine3()
Vector3 argument_v = Vector3(1.0, 1.0, 1.0)
Vector3 result = instance.Direction(argument_v)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.dolphin_spatial3d__dolphinaffine3"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"

dolphinAffine3.Point

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using dolphin.spatial3d

// Point.
dolphinAffine3 instance = dolphinAffine3()
Vector3 argument_v = Vector3(1.0, 1.0, 1.0)
Vector3 result = instance.Point(argument_v)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.dolphin_spatial3d__dolphinaffine3"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

dolphin/packages/spatial3d/src/affine.yh:5