UNPKG

gs-json

Version:

gs-JSON is a domain agnostic unifying 3D file format for geometric and semantic modelling (hence the 'gs').

18 lines (17 loc) 589 B
import * as gs from "../gs-json"; import * as i_three from "./ifaces_three"; /** * Generate the model. */ export declare function genThreeOptModel(model: gs.IModel): i_three.IThreeScene; /** * Generate the model together with some maps. */ export declare function genThreeOptModelAndMaps(model: gs.IModel): { scene: i_three.IThreeScene; faces_map: Map<number, gs.ITopoPathData>; wires_map: Map<number, gs.ITopoPathData>; edges_map: Map<number, gs.ITopoPathData>; vertices_map: Map<number, gs.ITopoPathData>; points_map: Map<number, number>; };