Click or drag to resize

StkCityDatabaseEntryExtensionsCreatePlatform Method

Create a platform for a single StkCityDatabaseEntry.

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

Parameters

entry
Type: AGI.Foundation.StkStkCityDatabaseEntry
The entry that contains the information for the city 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 StkCityDatabaseEntry. 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).
Remarks
The platform created uses Earth from the central bodies facet. It uses a PointCartographic based upon the entry's data for the location point with the height set to zero. It uses the database entry's CityName as the platform's name. It uses AxesEastNorthUp as the orientation axes.
See Also