STK Vector Geometry ToolSend comments on this topic.
Create Method (IAgCrdnPlaneFactory)
See Also
PlaneName
Description
PlaneType
Windows






Windows & Linux

Description

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

Syntax

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

Parameters

PlaneName
Description
PlaneType

See Also

Example

Create a plane normal to vector.
[C#]
// Create a plane normal to vector.
IAgCrdnPlaneNormal p = (IAgCrdnPlaneNormal)provider.Planes.Factory.Create(
    "PlaneName", "A plane normal to vector.", AgECrdnPlaneType.eCrdnPlaneTypeNormal);
Create a plane normal to vector.
[Visual Basic .NET]
' Create a plane normal to vector.
Dim p As IAgCrdnPlaneNormal = DirectCast(provider.Planes.Factory.Create("PlaneName", "A plane normal to vector.", AgECrdnPlaneType.eCrdnPlaneTypeNormal), IAgCrdnPlaneNormal)
© 2020 Analytical Graphics, Inc. All Rights Reserved.