EntitySurrogate.CreateLinearPathOrGhostEntity Method

Helper method to create a new LinearPath or a new Ghost entity.
Protected Function CreateLinearPathOrGhostEntity( _ 
ByVal vertices As Point3D(), _ 
ByVal orgEntityType As Type
) As Entity
This language is not supported or no code example is available.
protected Entity CreateLinearPathOrGhostEntity( 
Point3D[] vertices
Type orgEntityType 
)
This language is not supported or no code example is available.

Parameters

vertices
Point3D[]

Vertices to generate the linear path.

orgEntityType
Type

The original entity type stored in the Eyeshot file format. It's used only in case of Ghost entity creation.

Return Value

Entity

Returns a new LinearPath when the CheckSurrogateData method return true, otherwise it returns a Ghost entity.

Remarks
 
Method used by some surrogates in conjunction with the ConvertToObject method when the contentType is contentType.Tessellation

.NET Framework

Supported in: 4.8

In this article

Definition