AGI STK VGT 11 Send comments on this topic.
CreateFixedInSystemCartesian Method (IAgCrdnPointCommonTasks)
See Also  Example
ReferenceSystem
Specify a reference system.
X
Specify an X coordinate of the point's position.
Y
Specify a Y coordinate of the point's position.
Z
Specify a Z coordinate of the point's position.





Description

Creates a non-persistent point fixed in a specified reference system.

Syntax

[Visual Basic .NET]
Public Function CreateFixedInSystemCartesian( _
   ByVal ReferenceSystem As IAgCrdnSystem, _
   ByVal X As Double, _
   ByVal Y As Double, _
   ByVal Z As Double _
) As IAgCrdnPointFixedInSystem

[C#]
public IAgCrdnPointFixedInSystem CreateFixedInSystemCartesian(
IAgCrdnSystem ReferenceSystem,
double X,
double Y,
double Z
);

[Managed C++]
public: IAgCrdnPointFixedInSystem^ CreateFixedInSystemCartesian(
IAgCrdnSystem ^ ReferenceSystem,
double X,
double Y,
double Z
);

[Java]
public IAgCrdnPointFixedInSystem createFixedInSystemCartesian(
IAgCrdnSystem ReferenceSystem,
double X,
double Y,
double Z
);

[Unmanaged C++]
public: HRESULT CreateFixedInSystemCartesian(
IAgCrdnSystem * ReferenceSystem,
double X,
double Y,
double Z,
IAgCrdnPointFixedInSystem ** ReturnValue
);

Parameters

ReferenceSystem
Specify a reference system.
X
Specify an X coordinate of the point's position.
Y
Specify a Y coordinate of the point's position.
Z
Specify a Z coordinate of the point's position.

Example

Create a non-persistent point fixed in a specified reference frame given Cartesian data (using common tasks).
[C#] Copy Code
double X, Y, Z; 
facility.Position.QueryCartesian(out X, out Y, out Z); 
IAgCrdnPointFixedInSystem origin = provider.Points.CommonTasks.CreateFixedInSystemCartesian( 
    provider.Systems["Fixed"], X, Y, Z); 
 

Create a non-persistent point fixed in a specified reference frame given Cartesian data (using common tasks).
[Visual Basic .NET] Copy Code
Dim X As Double, Y As Double, Z As Double
#If Not CSToJava Then
facility.Position.QueryCartesian(X, Y, Z)
#Else
#End If
Dim origin As IAgCrdnPointFixedInSystem = provider.Points.CommonTasks.CreateFixedInSystemCartesian(provider.Systems("Fixed"), X, Y, Z)

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1