import type { Angle, Point, Polygon, PolygonWithRadians } from "./2d.js"; import { Orientation } from "./2d.js"; /** * Mixin for the intermediary values used for calculating angles defined * by the intersection of two line segments across three points: A, B, and C. */ export type AngleMeasures = { /** * Change in x between A and B. */ abx: number; /** * Change in y between A and B. */ aby: number; /** * Change in x between B and C. */ bcx: number; /** * Change in y between B and C. */ bcy: number; /** * Signed area. */ area: number; /** * Turn of the angle. */ orientation: Orientation; }; /** * Calculate the intermediary values used in measuring an angle defined * by the intersection of two line segments along three points: A, B, and C. */ export declare const angleMeasures: (a: Point, b: Point, c: Point) => AngleMeasures; /** * Given three points which define the ordered intersection of two * line segments, calculate the angle between them. */ export declare const measureAngle: (a: Point, b: Point, c: Point) => Angle; /** * Upgrade a polygon to include angle measurements for its vertices. */ export declare const measureAngles: (poly: Polygon) => PolygonWithRadians; //# sourceMappingURL=measure-angles.d.ts.map