Table of Contents

Method SetViewAngles

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

SetViewAngles(double, double, double, object)

Modify the current World to View Matrix using azimouth, tilt and twist angles that specify the view direction relative to World Coordinate System.

public void SetViewAngles(double azimouth, double tilt, double twist, object origin)

Parameters

azimouth double

Watching angle on XY plane relative to X axis in radians in clockwise direction.

tilt double

Vertical watching angle relative to XY plane in radians.

twist double

Rotation of the created matrix from azimouth and tilt , about Z in radians in clockwise direction.

origin object

A point in World Coordinate System around which the rotations will be done.If it is not passed or it is null then the existing viewcenter (tranformed to active View to World Matrix) is used.