itk-wasm
Version:
High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.
25 lines (17 loc) • 496 B
text/typescript
import PointSetType from './point-set-type.js'
import type TypedArray from '../typed-array.js'
class PointSet {
name: string = 'PointSet'
numberOfPoints: number
points: null | TypedArray
numberOfPointPixels: number
pointData: null | TypedArray
constructor (public readonly pointSetType = new PointSetType()) {
this.name = 'PointSet'
this.numberOfPoints = 0
this.points = null
this.numberOfPointPixels = 0
this.pointData = null
}
}
export default PointSet