Click or drag to resize

StkSatelliteDatabase Class

Provides access to an STK satellite database.
Inheritance Hierarchy

Namespace:  AGI.Foundation.Stk
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 19.5.402.0 (19.5.402.0)
public class StkSatelliteDatabase

The StkSatelliteDatabase type exposes the following members.

Public methodStkSatelliteDatabase
Initializes a new instance.
Public propertyLastUpdateDate
Gets the last update date reported in the Generic Database (.gd) file, or MinValue if the file does not exist or does not contain a LastUpdate field.
Public propertyVersion
Gets the version number reported in the Generic Database (.gd) file, or "Unknown" if the file does not exist or does not contain a Version field.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEntries
Enumerates all of the entries in the database.
Public methodGetEntries(StkSatelliteDatabaseQuery)
Enumerates all of the entries in the database matching a specified query.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMissions
Enumerates the missions of the spacecraft in the database.
Public methodGetOwners
Enumerates the owners of the spacecraft in the database.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Extension Methods
Public Extension MethodCreatePlatformsOverloaded.
Creates a platform for each satellite entry in the supplied database.
(Defined by StkSatelliteDatabaseExtensions.)
Public Extension MethodCreatePlatforms(StkSatelliteDatabaseQuery)Overloaded.
Creates platforms representing the satellites in the database that match the input query.
(Defined by StkSatelliteDatabaseExtensions.)
For more information on the files that define the satellite database, see the the Satellite Database Files topic.
An example of querying the satellite database for satellites matching certain criteria:
StkSatelliteDatabase db = new StkSatelliteDatabase(dbDirectory, "stkSatDb");

// Create a query object and then populate it with the properties to query on.
// Regular expressions are used to query on strings.
StkSatelliteDatabaseQuery query = new StkSatelliteDatabaseQuery
    CommonName = new Regex("QUICK"),
    MinimumApogee = 200000.0

// Get the database entries matching the query and print out the SSC number of each.
foreach (StkSatelliteDatabaseEntry entry in db.GetEntries(query))
See Also