UNPKG

homography-transform

Version:

A robust TypeScript implementation of homography-based transformation between 2D planes, ideal for computer vision and image mapping

14 lines (13 loc) 310 B
export interface Point { x: number; y: number; } export declare class Plane { private readonly width; private readonly height; constructor(width: number, height: number); getWidth(): number; getHeight(): number; isPointInBounds(point: Point): boolean; toString(): string; }