public final class StkCityDatabaseEntryExtensions extends Object
StkCityDatabaseEntry
.Modifier and Type | Method and Description |
---|---|
static Platform |
createPlatform(StkCityDatabaseEntry entry)
Create a platform for a single
StkCityDatabaseEntry . |
@Nonnull public static Platform createPlatform(StkCityDatabaseEntry entry)
StkCityDatabaseEntry
.
The created platform will have the following properties configured:
Property | Value |
---|---|
Name (get / set ) |
CityName (get / set )
|
LocationPoint (get / set ) |
A PointCartographic located at the entry's
Longitude (get / set ),
Latitude (get / set ), with zero height,
defined on the CentralBody matching the entry's CentralBodyName (get / set ).
|
OrientationAxes (get / set ) |
AxesEastNorthUp
|
entry
- The entry that contains the information for the city to be created.IllegalStateException
- Thrown when the entry's CentralBodyName
(get
/ set
) does not exist in CentralBodiesFacet
.