This version of the ShapeDiver viewer is no longer supported.

Please refer to the version 3 documentation here. See also the migration guide from version 2 to version 3 here.

Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SnapUtils

Index

Methods

cleanAnchorInput

cleanLineInput

cleanPointInput

createRandomId

  • createRandomId(): string

eval

  • eval(e: any, snap: ISnapInfo, _startPosition: THREE.Vector3, _currentObjPos: THREE.Vector3, _anchors: {}, _eventListeners: {}, _eventTypes: {}, first: boolean): IEventData

snapElements

  • snapElements(e: any, startPosition: THREE.Vector3, elements: {}, snaps: ISnapInfo[], anchors: {}): void

sortDistance

  • sortDistance(array: any): void

sortDot

  • sortDot(array: any): void