import { float } from '@babylonjs/core'; import { TriangleXyzInterface } from './TriangleXyz'; import { VertexXyzInterface } from './VertexXyz'; export interface EdgeXyzInterface { faceAngleInRadians: float; index: number; nonManifold: boolean; triangles: TriangleXyzInterface[]; vertexA: VertexXyzInterface; vertexB: VertexXyzInterface; calculateAttributes(): void; checkForMatch(edge: EdgeXyzInterface): boolean; } export default class EdgeXyz implements EdgeXyzInterface { faceAngleInRadians: number; index: number; nonManifold: boolean; triangles: TriangleXyzInterface[]; vertexA: VertexXyzInterface; vertexB: VertexXyzInterface; constructor(a: VertexXyzInterface, b: VertexXyzInterface); calculateAttributes(): void; checkForMatch(edge: EdgeXyzInterface): boolean; }