UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

21 lines (19 loc) 526 B
import {NeighbourIndex} from './QuadGraphCommon'; export interface QuadHalfEdgeOptions { quadId: number; index0: number; index1: number; sideIndex: NeighbourIndex; } export class QuadHalfEdge { public readonly quadId: number; public readonly index0: number; public readonly index1: number; public readonly sideIndex: NeighbourIndex; constructor(options: QuadHalfEdgeOptions) { this.quadId = options.quadId; this.index0 = options.index0; this.index1 = options.index1; this.sideIndex = options.sideIndex; } }