STK Vector Geometry ToolSend comments on this topic.
IAgCrdnPointFactory Interface

Description

A Factory object to create points.

Public Methods

Public Method CreateCreates a VGT point using the specified name, description and type.
Public Method CreatePointFixedOnCentralBodyCreates a point fixed on a central body.
Public Method CreatePointPluginFromDisplayNameCreate a point component based on a COM point plugin. For information how to implement and register VGT plugins, see.
Public Method IsTypeSupportedReturns true if the type is supported.

Public Properties

Public Property AvailablePointPluginDisplayNamesAn array of display names associated with available point plugins. The elements of the array are strings. Display names are used to create VGT points based on COM plugins using CreatePointPluginFromDisplayName method.

Example

Create a B-Plane point using selected target body.
[C#]
// Create a B-Plane point using selected target body
IAgCrdnPointBPlane point = (IAgCrdnPointBPlane)provider.Points.Factory.Create(
    "PointName", string.Empty, AgECrdnPointType.eCrdnPointTypeBPlane);
point.TargetBody.SetPath(TargetBody);
Create a B-Plane point using selected target body.
[Visual Basic .NET]
' Create a B-Plane point using selected target body
Dim point As IAgCrdnPointBPlane = DirectCast(provider.Points.Factory.Create("PointName", String.Empty, AgECrdnPointType.eCrdnPointTypeBPlane), IAgCrdnPointBPlane)
point.TargetBody.SetPath(TargetBody)
© 2024 Analytical Graphics, Inc. All Rights Reserved.