STK Vector Geometry ToolSend comments on this topic.
Create Method (IAgCrdnPointFactory)
See Also
PointName
Description
PointType
Windows






Windows & Linux

Description

Creates a VGT point using the specified name, description and type.

Syntax

[Visual Basic .NET]
Public Function Create( _
    ByVal PointName As String, _
    ByVal Description As String, _
    ByVal PointType As AgECrdnPointType _
) As 
[C#]
public IAgCrdnPoint Create(
    string PointName,
    string Description,
    AgECrdnPointType PointType
);
[Managed C++]
public: IAgCrdnPoint^ Create(
    String __gc ^ PointName,
    String __gc ^ Description,
    AgECrdnPointType PointType
);
[Java]
public IAgCrdnPoint create(
    String PointName,
    String Description,
    AgECrdnPointType PointType
);
[Unmanaged C++]
public: HRESULT Create(
    BSTR PointName,
    BSTR Description,
    AgECrdnPointType PointType,
    IAgCrdnPoint ** ppRetVal
);

Parameters

PointName
Description
PointType

See Also

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)
© 2020 Analytical Graphics, Inc. All Rights Reserved.