STK Vector Geometry ToolSend comments on this topic.
LocateInSystem Method (IAgCrdnPoint)
See Also
Epoch
System
Windows






Windows & Linux

Description

Locates the point's position in a specified coordinate system.

Syntax

[Visual Basic .NET]
Public Function LocateInSystem( _
    ByVal Epoch As System.Object, _
    ByVal System As IAgCrdnSystem _
) As 
[C#]
public IAgCrdnPointLocateInSystemResult LocateInSystem(
    System.Object Epoch,
    IAgCrdnSystem System
);
[Managed C++]
public: IAgCrdnPointLocateInSystemResult^ LocateInSystem(
    VARIANT Epoch,
    IAgCrdnSystem ^ System
);
[Java]
public IAgCrdnPointLocateInSystemResult locateInSystem(
    VARIANT Epoch,
    IAgCrdnSystem System
);
[Unmanaged C++]
public: HRESULT LocateInSystem(
    VARIANT Epoch,
    IAgCrdnSystem * System,
    IAgCrdnPointLocateInSystemResult ** ppRetVal
);

Parameters

Epoch
System

See Also

Example

Locates a point in the Earth's Fixed reference frame.
[C#]
IAgCrdnPointLocateInSystemResult result = point.LocateInSystem(0,
    provider.WellKnownSystems.Earth.Fixed);
if (result.IsValid)
{
    Console.WriteLine("The position of the point in Earth's Fixed reference frame: {0},{1},{2}",
        result.Position.X, result.Position.Y, result.Position.Z);
}
Locates a point in the Earth's Fixed reference frame.
[Visual Basic .NET]
Dim result As IAgCrdnPointLocateInSystemResult = point.LocateInSystem(0, provider.WellKnownSystems.Earth.Fixed)
If result.IsValid Then
	Console.WriteLine("The position of the point in Earth's Fixed reference frame: {0},{1},{2}", result.Position.X, result.Position.Y, result.Position.Z)
End If
© 2020 Analytical Graphics, Inc. All Rights Reserved.