@thi.ng/vectors
Version:
Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts
31 lines • 807 B
TypeScript
import type { FnU2 } from "@thi.ng/api";
import type { ReadonlyVec } from "./api.js";
/**
* Computes direction angle (in radians) of line segment `a` -> `b` in
* XY plane.
*
* @param a -
* @param b -
*/
export declare const headingSegmentXY: FnU2<ReadonlyVec, number>;
/**
* Computes direction angle (in radians) of line segment `a` -> `b` in
* XZ plane.
*
* @param a -
* @param b -
*/
export declare const headingSegmentXZ: FnU2<ReadonlyVec, number>;
/**
* Computes direction angle (in radians) of line segment `a` -> `b` in
* ZY plane.
*
* @param a -
* @param b -
*/
export declare const headingSegmentYZ: FnU2<ReadonlyVec, number>;
/**
* Same as {@link headingSegmentXY}.
*/
export declare const headingSegment: FnU2<ReadonlyVec, number>;
//# sourceMappingURL=heading-segment.d.ts.map