All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.services.angle-utils.d.ts Maven / Gradle / Ivy

import { TextAnchor, DominantBaseline } from '../interfaces/enums';
export interface Point {
    x: number;
    y: number;
}
export type Angle = number;
export interface LabelAlignment {
    textAnchor: TextAnchor;
    dominantBaseline: DominantBaseline;
}
export declare function radialLabelPlacement(angleRadians: Angle): LabelAlignment;
export declare function radToDeg(rad: Angle): Angle;
export declare function degToRad(deg: Angle): Angle;
export declare function polarToCartesianCoords(a: Angle, r: number, t?: Point): Point;
export declare function distanceBetweenPointOnCircAndVerticalDiameter(a: Angle, r: number): number;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy