Skip to main content

Surface

Surface class for storing surface data

Implements

Index

Constructors

constructor

  • new Surface(props: SurfaceProps): Surface
  • Parameters

    • props: SurfaceProps

    Returns Surface

Properties

readonlyframeOfReferenceUID

frameOfReferenceUID: string

readonlyid

id: string

readonlysizeInBytes

sizeInBytes: number

Methods

_getSizeInBytes

  • _getSizeInBytes(): number
  • Returns number

publicgetColor

  • getColor(): RGB
  • Returns RGB

publicgetPoints

  • getPoints(): number[]
  • Returns number[]

publicgetPolys

  • getPolys(): number[]
  • Returns number[]

publicgetSizeInBytes

  • getSizeInBytes(): number
  • Returns number

publicsetColor

  • setColor(color: RGB): void
  • Parameters

    Returns void

publicsetPoints

  • setPoints(points: number[]): void
  • Parameters

    • points: number[]

    Returns void

publicsetPolys

  • setPolys(polys: number[]): void
  • Parameters

    • polys: number[]

    Returns void