@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
11 lines (10 loc) • 627 B
TypeScript
import { NamedFunction3, NamedFunction4 } from './_Base';
import { PrimitiveGraph } from '../../core/geometry/entities/primitive/PrimitiveGraph';
export declare class primitiveNeighboursCount extends NamedFunction3<[PrimitiveGraph, number, boolean]> {
static type(): string;
func(graph: PrimitiveGraph, primitiveIndex: number, sharedEdgeOnly: boolean): number;
}
export declare class primitiveNeighbourIndex extends NamedFunction4<[PrimitiveGraph, number, number, boolean]> {
static type(): string;
func(graph: PrimitiveGraph, primitiveIndex: number, neighbourIndex: number, sharedEdgeOnly: boolean): number;
}