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 type required object yes properties true false 123,169false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type