Methods
Viewpoint
setViewpoint
sets the location and orientation of the viewpoint the viewpoint is an optional visual indicator that includes an arrow icon the viewpoint accepts mouse and touch events so that users can move it within the 2d viewer the viewpoint is typically used in conjunction with the 3d viewer to show the location and orientation of the 3d viewer camera within the 2d viewer example usage const viewpoint = { direction 90, location { x 1, y 1 } }; viewer2d setviewpoint(viewpoint); const viewpoint = { direction { x 1, y 0 }, location { x 1, y 1 } }; viewer2d setviewpoint(viewpoint); parameters viewpoint location and orientation of the viewpoint true 330,331left unhandled content type left unhandled content type left unhandled content type left unhandled content type properties true 123,169,100,100left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type