Description
A Factory object to create vectors.
Public Methods
Public Properties
AvailableVectorPluginDisplayNames | An array of display names associated with available vector plugins. The elements of the array are strings. Display names are used to create VGT vectors based on COM plugins using CreateVectorPluginFromDisplayName method. |
Example
Create a vector.perpendicular to the plane in which the angle is defined.
[C#] |
---|
// Create a vector.perpendicular to the plane in which the angle is defined.
IAgCrdnVectorAngleRate vector = (IAgCrdnVectorAngleRate)provider.Vectors.Factory.Create(
"myVector",
"a vector.perpendicular to the plane in which the angle is defined.", AgECrdnVectorType.eCrdnVectorTypeAngleRate);
|
|
Determine if the specified vector type is supported.
[C#] |
---|
//Check if the specified vector type is supported.
if (provider.Vectors.Factory.IsTypeSupported(vectorType))
{
// Create a custom vector.
IAgCrdnVector vector = provider.Vectors.Factory.Create(
"myVector", string.Empty, vectorType);
}
|
|
Create a vector.perpendicular to the plane in which the angle is defined.
[Visual Basic .NET] |
---|
' Create a vector.perpendicular to the plane in which the angle is defined.
Dim vector As IAgCrdnVectorAngleRate = DirectCast(provider.Vectors.Factory.Create("myVector", "a vector.perpendicular to the plane in which the angle is defined.", AgECrdnVectorType.eCrdnVectorTypeAngleRate), IAgCrdnVectorAngleRate)
|
|
Determine if the specified vector type is supported.
[Visual Basic .NET] |
---|
'Check if the specified vector type is supported.
If provider.Vectors.Factory.IsTypeSupported(vectorType) Then
' Create a custom vector.
Dim vector As IAgCrdnVector = provider.Vectors.Factory.Create("myVector", String.Empty, vectorType)
End If
|
|