UNPKG

gramoloss

Version:

Graph theory package for edition and computation

20 lines (19 loc) 601 B
import { Coord, Vect } from "./coord"; import { Geometric } from "./traits"; import { Vertex } from "./vertex"; export declare class Area { c1: Coord; c2: Coord; color: string; label: string; index: number; constructor(label: string, c1: Coord, c2: Coord, color: string, index: number); getValue(param: string): any; translate(shift: Vect): void; rtranslate(shift: Vect): void; is_containing<V extends Geometric>(v: Vertex<V>): Boolean; top_right_corner(): Coord; bot_left_corner(): Coord; top_left_corner(): Coord; bot_right_corner(): Coord; }