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