9 writes to _z
PresentationCore (9)
System\Windows\Media3D\Quaternion.cs (9)
56
_z
= z;
77
_z
= v.Z;
205
_z
= -_z;
223
_z
/= norm2;
248
_z
*= rmax;
255
_z
*= normInverse;
402
_z
*= scale;
496
to.
_z
= -to._z;
655
_z
= value;
41 references to _z
PresentationCore (41)
System\Windows\Media3D\Generated\Quaternion.cs (1)
320
_z
,
System\Windows\Media3D\Quaternion.cs (40)
116
if (IsDistinguishedIdentity || (_x == 0 && _y == 0 &&
_z
== 0))
122
Vector3D v = new Vector3D(_x, _y,
_z
);
142
double msin = Math.Sqrt(_x*_x + _y*_y +
_z
*
_z
);
151
double maxcoeff = Math.Max(Math.Abs(_x),Math.Max(Math.Abs(_y),Math.Abs(
_z
)));
154
double z =
_z
/maxcoeff;
176
double norm2 = _x*_x + _y*_y +
_z
*
_z
+ _w*_w;
188
return IsDistinguishedIdentity || (_x == 0 && _y == 0 &&
_z
== 0 && _w == 1);
205
_z = -
_z
;
220
double norm2 = _x*_x + _y*_y +
_z
*
_z
+ _w*_w;
237
double norm2 = _x*_x + _y*_y +
_z
*
_z
+ _w*_w;
243
Math.Abs(
_z
),
250
norm2 = _x*_x + _y*_y +
_z
*
_z
+ _w*_w;
290
left.
_z
+ right.
_z
,
330
return new Quaternion(-right._x, -right._y, -right.
_z
, 1 - right._w);
336
left.
_z
- right.
_z
,
369
double x = left._w * right._x + left._x * right._w + left._y * right.
_z
- left.
_z
* right._y;
370
double y = left._w * right._y + left._y * right._w + left.
_z
* right._x - left._x * right.
_z
;
371
double z = left._w * right.
_z
+ left.
_z
* right._w + left._x * right._y - left._y * right._x;
372
double w = left._w * right._w - left._x * right._x - left._y * right._y - left.
_z
* right.
_z
;
416
double norm2 = _x*_x + _y*_y +
_z
*
_z
+ _w*_w;
427
Math.Max(Math.Abs(
_z
),Math.Abs(_w)));
431
double z =
_z
/max;
485
cosOmega = from._x*to._x + from._y*to._y + from.
_z
*to.
_z
+ from._w*to._w;
496
to._z = -to.
_z
;
567
scaleFrom*from.
_z
+ scaleTo*to.
_z
,
645
return
_z
;