Description
This method is similar to QueryCylindrical but can be used by earlybound(c#, vb.net...) and latebound(scripting languages) clients. The array returns the values in the order Radius(index 0), Lon(index 1) and Z(index 2).
Syntax
| [Visual Basic .NET] |
|---|
Public Function QueryCylindricalArray() As
|
| [C#] |
|---|
public System.Array QueryCylindricalArray();
|
| [Managed C++] |
|---|
public: System::Array QueryCylindricalArray();
|
| [Java] |
|---|
public VariantArray queryCylindricalArray();
|
| [Unmanaged C++] |
|---|
public: HRESULT QueryCylindricalArray(
SAFEARRAY * * ppRetVal
);
|
See Also
Example
This example shows how to get the cylindrical position of a facility using the QueryCylindricalArray in vbscript.
| Retrieving cylindrical coordinates of a facility [VBScript] |
|---|
set pos = facility.Position cylArray = pos.QueryCylindricalArray() radius = cylArray(0) ' Radius longitude = cylArray(1) ' Longitude z = cylArray(2) ' Z |
|