Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MarchingCubes

Hierarchy

  • MarchingCubes

Index

Constructors

Properties

Constructors

constructor

  • new MarchingCubes(field: number[], nx: number, ny: number, nz: number, atomindex: number[]): void

Properties

triangulate

triangulate: (_isolevel: number, _noNormals: boolean, _box: number[][] | undefined, _contour: boolean, _wrap: boolean) => { atomindex: Int32Array | undefined; contour: boolean; index: Uint32Array | Uint16Array; normal: undefined | Float32Array; position: Float32Array }

Type declaration

    • (_isolevel: number, _noNormals: boolean, _box: number[][] | undefined, _contour: boolean, _wrap: boolean): { atomindex: Int32Array | undefined; contour: boolean; index: Uint32Array | Uint16Array; normal: undefined | Float32Array; position: Float32Array }
    • Parameters

      • _isolevel: number
      • _noNormals: boolean
      • _box: number[][] | undefined
      • _contour: boolean
      • _wrap: boolean

      Returns { atomindex: Int32Array | undefined; contour: boolean; index: Uint32Array | Uint16Array; normal: undefined | Float32Array; position: Float32Array }

      • atomindex: Int32Array | undefined
      • contour: boolean
      • index: Uint32Array | Uint16Array
      • normal: undefined | Float32Array
      • position: Float32Array

Generated using TypeDoc