9 writes to _z
PresentationCore (9)
System\Windows\Media3D\Quaternion.cs (9)
75
_z
= z;
96
_z
= v.Z;
224
_z
= -_z;
242
_z
/= norm2;
267
_z
*= rmax;
274
_z
*= normInverse;
421
_z
*= scale;
515
to.
_z
= -to._z;
674
_z
= value;
41 references to _z
PresentationCore (41)
System\Windows\Media3D\Generated\Quaternion.cs (1)
341
_z
,
System\Windows\Media3D\Quaternion.cs (40)
135
if (IsDistinguishedIdentity || (_x == 0 && _y == 0 &&
_z
== 0))
141
Vector3D v = new Vector3D(_x, _y,
_z
);
161
double msin = Math.Sqrt(_x*_x + _y*_y +
_z
*
_z
);
170
double maxcoeff = Math.Max(Math.Abs(_x),Math.Max(Math.Abs(_y),Math.Abs(
_z
)));
173
double z =
_z
/maxcoeff;
195
double norm2 = _x*_x + _y*_y +
_z
*
_z
+ _w*_w;
207
return IsDistinguishedIdentity || (_x == 0 && _y == 0 &&
_z
== 0 && _w == 1);
224
_z = -
_z
;
239
double norm2 = _x*_x + _y*_y +
_z
*
_z
+ _w*_w;
256
double norm2 = _x*_x + _y*_y +
_z
*
_z
+ _w*_w;
262
Math.Abs(
_z
),
269
norm2 = _x*_x + _y*_y +
_z
*
_z
+ _w*_w;
309
left.
_z
+ right.
_z
,
349
return new Quaternion(-right._x, -right._y, -right.
_z
, 1 - right._w);
355
left.
_z
- right.
_z
,
388
double x = left._w * right._x + left._x * right._w + left._y * right.
_z
- left.
_z
* right._y;
389
double y = left._w * right._y + left._y * right._w + left.
_z
* right._x - left._x * right.
_z
;
390
double z = left._w * right.
_z
+ left.
_z
* right._w + left._x * right._y - left._y * right._x;
391
double w = left._w * right._w - left._x * right._x - left._y * right._y - left.
_z
* right.
_z
;
435
double norm2 = _x*_x + _y*_y +
_z
*
_z
+ _w*_w;
446
Math.Max(Math.Abs(
_z
),Math.Abs(_w)));
450
double z =
_z
/max;
504
cosOmega = from._x*to._x + from._y*to._y + from.
_z
*to.
_z
+ from._w*to._w;
515
to._z = -to.
_z
;
586
scaleFrom*from.
_z
+ scaleTo*to.
_z
,
664
return
_z
;