public Tuple<double,double,double> QueryComponents()
Public Function QueryComponents() As Tuple(Of Double,Double,Double)
Return Value
A Tuple containing the values of the X-component, Y-component, and Z-component.
public Tuple<double,double,double> QueryComponents()
Public Function QueryComponents() As Tuple(Of Double,Double,Double)
Coordinate3D polarVector = new Coordinate3D(0, 7, 0); Tuple<double, double, double> polarComponents = polarVector.QueryPolarComponents(); // polarComponents.Item1 = 0 (azimuth) // polarComponents.Item2 = 0 (inclination) // polarComponents.Item3 = 7 (magnitude) polarVector.SetPolarComponents(Math.PI / 4, Math.PI / 2, 8); polarComponents = polarVector.QueryComponents(); // polarComponents.Item1 = 0 (x) // polarComponents.Item2 = 0 (y) // polarComponents.Item3 = 7 (z)
Target Platforms: Windows 11, Windows 10