McSpatialCalibClassCommandAngularOffset Property
|
|
The angular offset of the calibration space, in degrees counter clockwise.
Namespace:
MediaCy.Addins.SCalibration
Assembly:
MediaCy.Addins.SCalibration (in MediaCy.Addins.SCalibration.dll) Version: 3.1.0.0
SyntaxPublic Property AngularOffset As Double
Get
Set
Property Value
Type:
DoubleReturn Value
Type:
Double
RemarksThe AngularOffset rotates the calibration space counter clockwise by the property value in degrees.
The center of rotation is about the PixelOrignX and PixelOriginY pixel coordinates.
Scaling by PixelSizeX and PixelSizeY is done after rotation of the pixel coordinates.
By default, the angular offset is zero. A counter clockwise rotation of the coordinate space is also equivalent
to a clockwise rotation of a feature in pixel coordinates.Since AngularOffset specifies a counterclockwise rotation
in pixel coordinates (increasing from left to right and from top to bottom),
the matching angle of rotation in the calibrated coordinates will depend on the AspectRatio and
the signs of PixelSizeX and PixelSizeY. For example, if AngularOffset is 45 degrees, PixelSizeX=1 and PixelSizeY=-1,
then the calibrated angular offset is -45 degrees. Similarly, if AngularOffset is 45 degrees, PixelSizeX=2 and PixelSizeY=1,
then the calibrated angular offset is 26.56 degrees (arctangent of 1/2).
See Also