Click or drag to resize

StkFacilityDatabaseEntryExtensionsCreatePlatform Method

Create a platform for a single StkFacilityDatabaseEntry.

Namespace:  AGI.Foundation.Platforms
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static Platform CreatePlatform(
	this StkFacilityDatabaseEntry entry
)

Parameters

entry
Type: AGI.Foundation.StkStkFacilityDatabaseEntry
The entry that contains the information for the facility to be created.

Return Value

Type: Platform
A fully configured platform.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type StkFacilityDatabaseEntry. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the entry's CentralBodyName does not exist in CentralBodiesFacet.
Remarks

The created platform will have the following properties configured:

PropertyValue
NameFacilityName
LocationPoint A PointCartographic located at the entry's Longitude, Latitude, and Altitude, defined on the CentralBody matching the entry's CentralBodyName.
OrientationAxesAxesEastNorthUp
See Also