@threepipe/plugin-svg-renderer
Version:
Plugins for SVG Rendering of 3d objects for Threepipe
25 lines • 769 B
TypeScript
import { Halfedge } from '../../../../three-mesh-halfedge';
import { ViewEdgeNature } from '../ViewEdge';
import { Viewmap } from '../Viewmap';
import { PerspectiveCamera } from '../../../../threepipe';
export interface ViewEdgeNatureOptions {
creaseAngle?: {
min: number;
max: number;
};
}
/**
* Returns the list
* @param meshes
* @param camera
* @param options
* @returns
*/
export declare function setupEdges(viewmap: Viewmap, options: ViewEdgeNatureOptions): void;
export declare function propsForViewEdge(halfedge: Halfedge, camera: PerspectiveCamera, options?: ViewEdgeNatureOptions): {
nature: ViewEdgeNature;
faceAngle: number;
isConcave: boolean;
isBack: boolean;
} | null;
//# sourceMappingURL=setupEdges.d.ts.map