Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Serialization Namespace / EntitySurrogate Class / CreateLinearPathOrGhostEntity Method
Vertices to generate the linear path.
The original entity type stored in the Eyeshot file format. It's used only in case of Ghost entity creation.

In This Topic
    CreateLinearPathOrGhostEntity Method
    In This Topic
    Helper method to create a new devDept.Eyeshot.Entities.LinearPath or a new devDept.Eyeshot.Entities.Ghost entity.
    Syntax
    'Declaration
     
    Protected Function CreateLinearPathOrGhostEntity( _
       ByVal vertices() As Point3D, _
       ByVal orgEntityType As Type _
    ) As Entity
    protected Entity CreateLinearPathOrGhostEntity( 
       Point3D[] vertices,
       Type orgEntityType
    )

    Parameters

    vertices
    Vertices to generate the linear path.
    orgEntityType
    The original entity type stored in the Eyeshot file format. It's used only in case of Ghost entity creation.

    Return Value

    Returns a new devDept.Eyeshot.Entities.LinearPath when the CheckSurrogateData method return true, otherwise it returns a devDept.Eyeshot.Entities.Ghost entity.
    Remarks
    Method used by some surrogates in conjunction with the ConvertToObject method when the contentType is contentType.Tessellation
    See Also