STK Vector Geometry ToolSend comments on this topic.
IAgCrdnParameterSetFactory Interface

Description

The factory is used to create instances of available parameter set types.

Public Methods

Public Method CreateCreates and registers a parameter set using specified name and description.
Public Method CreateParameterSetAttitudeCreates a parameter set defined by identifying one set of axes in reference to another.
Public Method CreateParameterSetGroundTrajectoryCreates a parameter set defined by identifying location in reference central body.
Public Method CreateParameterSetOrbitCreates a parameter set defined by identifying orbiting point and its central body.
Public Method CreateParameterSetTrajectoryCreates a parameter set defined by identifying location in reference coordinate system.
Public Method CreateParameterSetVectorCreates a parameter set defined by identifying vector in reference axes.
Public Method IsTypeSupportedReturns whether the specified type is supported.

Example

Create an attitude parameter set.
[C#]
//Create an attitude parameter set.
IAgCrdnParameterSetAttitude parameterSet = (IAgCrdnParameterSetAttitude)provider.ParameterSets.Factory.Create(
    "ParameterSetName", "Attitude parameter set.", AgECrdnParameterSetType.eCrdnParameterSetTypeAttitude);
Determine if the specified parameter set type is supported.
[C#]
// Check if the specified parameter set type is supported.
if (provider.ParameterSets.Factory.IsTypeSupported(parameterSetType))
{
    //Create a ParameterSet with the supported Type
    IAgCrdnParameterSet parameterSet = provider.ParameterSets.Factory.Create(
        "MyParameterSet", string.Empty,
        parameterSetType);
}
Create an attitude parameter set.
[Visual Basic .NET]
'Create an attitude parameter set.
Dim parameterSet As IAgCrdnParameterSetAttitude = DirectCast(provider.ParameterSets.Factory.Create("ParameterSetName", "Attitude parameter set.", AgECrdnParameterSetType.eCrdnParameterSetTypeAttitude), IAgCrdnParameterSetAttitude)
Determine if the specified parameter set type is supported.
[Visual Basic .NET]
' Check if the specified parameter set type is supported.
If provider.ParameterSets.Factory.IsTypeSupported(parameterSetType) Then
	'Create a ParameterSet with the supported Type
	Dim parameterSet As IAgCrdnParameterSet = provider.ParameterSets.Factory.Create("MyParameterSet", String.Empty, parameterSetType)
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.