Parameters
- x
- The value of the X-component.
- y
- The value of the Y-component.
- z
- The value of the Z-component.
Coordinate3D v = new Coordinate3D(0, 0, 7); double inclination = v.Inclination; // inclination = PI/2 v.SetComponents(-2, -3, 0); inclination = v.Inclination; // inclination = 0 v.SetComponents(0, 0, -2); inclination = v.Inclination; // inclination = -PI/2
Coordinate3D vector = new Coordinate3D(0, 7, 0); double azimuth = vector.Azimuth; // azimuth = 0 vector.SetComponents(1, 1, 42); azimuth = vector.Azimuth; double degrees = AngularUnit.Degrees.ConvertFromRadians(azimuth); // degrees = 45 vector.SetComponents(-8, 8, 2); azimuth = vector.Azimuth; degrees = AngularUnit.Degrees.ConvertFromRadians(azimuth); // degrees = 315
Target Platforms: Windows 11, Windows 10, Windows 8.1