MeshDataInterface

class Sc.MeshDataInterface()

Methods

create

MeshDataInterface.create(meshDataBuilder)
Arguments
Return type

Promise <MeshId>

destroy

MeshDataInterface.destroy(ids)
Arguments
  • ids (MeshIds()) – None

Return type

Promise <void>

getData

MeshDataInterface.getData(id)
Arguments
  • id (MeshId()) – None

Return type

Promise <MeshDataCopy>

lineElementSegments

MeshDataInterface.lineElementSegments(meshId, lineElementIndex)
Arguments
  • meshId (MeshId()) – None

  • lineElementIndex (number()) – None

Return type

Promise <Vector3s>

linesToIncidentFaces

MeshDataInterface.linesToIncidentFaces(lineElementIndices, meshId)
Arguments
  • lineElementIndices ([number]()) – None

  • meshId (MeshId()) – None

Return type

Promise <[number]>

replace

MeshDataInterface.replace(id, meshDataBuilder)
Arguments
Return type

Promise <void>