UNPKG

meta-log-db

Version:

Native database package for Meta-Log (ProLog, DataLog, R5RS)

34 lines 712 B
/** * Projective/Affine Geometry Types * * Types for projective and affine coordinate transformations */ /** * Affine coordinates (Cartesian, open) * Raw coordinates without normalization */ export interface AffineData { x: number; y: number; z?: number; w?: number; } /** * Projective coordinates (Homogeneous, normalized) * Compact, normalized coordinates */ export interface ProjectiveData { x: number; y: number; z: number; w: number; } /** * Coordinate transformation result */ export interface CoordinateTransform { from: 'affine' | 'projective'; to: 'affine' | 'projective'; result: AffineData | ProjectiveData; } //# sourceMappingURL=types.d.ts.map