import Point, { SimplePoint } from "./Point"; export default class Line { a: SimplePoint; b: SimplePoint; constructor(a: SimplePoint, b: SimplePoint); static fromSimpleLine(source: SimpleLine): Line; static getLength(line: SimpleLine): number; static getCenterPoint(source: SimpleLine): Point; static getFormula(source: SimpleLine): { a: number; b: number; c: number; }; static getIntersection(source: SimpleLine, target: SimpleLine): Point; clone(): Line; getLength(): number; getCenterPoint(): Point; getFormula(): { a: number; b: number; c: number; }; getIntersection(target: SimpleLine): Point; } export interface SimpleLine { a: SimplePoint; b: SimplePoint; }