AGI STK VGT 11 Send comments on this topic.
CreatePointFixedOnCentralBody Method (IAgCrdnPointFactory)
See Also 
PointName
Specify a component name.
Description
Specify a component description.
Longitude
Specify a longitude.
Latitude
Specify a latitude.
Altitude
Specify an altitude.
ReferenceShape
Specify an reference shape.





Description

Creates a point fixed on a central body.

Syntax

[Visual Basic .NET]
Public Function CreatePointFixedOnCentralBody( _
   ByVal PointName As String, _
   ByVal Description As String, _
   ByVal Longitude As System.Object, _
   ByVal Latitude As System.Object, _
   ByVal Altitude As Double, _
   ByVal ReferenceShape As AgECrdnReferenceShapeType _
) As IAgCrdnPoint

[C#]
public IAgCrdnPoint CreatePointFixedOnCentralBody(
string PointName,
string Description,
System.Object Longitude,
System.Object Latitude,
double Altitude,
AgECrdnReferenceShapeType ReferenceShape
);

[Managed C++]
public: IAgCrdnPoint^ CreatePointFixedOnCentralBody(
String __gc ^ PointName,
String __gc ^ Description,
VARIANT Longitude,
VARIANT Latitude,
double Altitude,
AgECrdnReferenceShapeType ReferenceShape
);

[Java]
public IAgCrdnPoint createPointFixedOnCentralBody(
String PointName,
String Description,
Variant Longitude,
Variant Latitude,
double Altitude,
AgECrdnReferenceShapeType ReferenceShape
);

[Unmanaged C++]
public: HRESULT CreatePointFixedOnCentralBody(
BSTR PointName,
BSTR Description,
VARIANT Longitude,
VARIANT Latitude,
double Altitude,
AgECrdnReferenceShapeType ReferenceShape,
IAgCrdnPoint ** ReturnValue
);

Parameters

PointName
Specify a component name.
Description
Specify a component description.
Longitude
Specify a longitude.
Latitude
Specify a latitude.
Altitude
Specify an altitude.
ReferenceShape
Member Value Description
eCrdnReferenceShapeEllipsoid 1 An ellipsoid reference shape as defined by the central body (by default, it is WSG84).
eCrdnReferenceShapeTerrain 2 Terrain as the terrain reference.
eCrdnReferenceShapeMSL 3 Mean Sea Level as the terrain reference.
Specify an reference shape.

Remarks

Spaces and most punctuation ( except for "-_().") cannot be used as a part of a component name when creating new components via VGT API.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1