Hide Table of Contents
IGetTessTriStripEdges Method (IPartDoc)

Gets the edge ID for each of the edges in the triangles that make up the tessellation for this part.

.NET Syntax

Visual Basic (Declaration) 
Function IGetTessTriStripEdges() As System.Integer
Visual Basic (Usage) 
Dim instance As IPartDoc
Dim value As System.Integer
 
value = instance.IGetTessTriStripEdges()
C# 
System.int IGetTessTriStripEdges()
C++/CLI 
System.int IGetTessTriStripEdges(); 

Return Value

  • in-process, unmanaged C++: Pointer to an array of longs containing the list of edge IDs for this part document (see Remarks)
  • VBA, VB.NET, C#, and C++/CLI: Not supported

    See In-process Methods for details about this type of method.

  • Remarks

    The format of the returned data is:

     

    DWORD FaceCount

     

     

    DWORD StripCount

     

     

    DWORD EdgeCount

     

     

    ForEach Face

     

     

    DWORD StripCount

     

     

    DWORD [StripLengths]

     

     

    ForEach Strip 

    (where this is an array of edge IDs for each strip from 1 to (VertexPerStrip-1). Element 0 indicates if that a triangle strip exists (value = 1) or a single triangle (value = 0))

     

    Long [EdgeIds]

     

     

    where:

     

    FaceCount:

    Number of faces on the body

     

    StripCount:

    Total number of strips on the body

     

    EdgeCount:

    Total number of vertices

     

    NumStrips:

    Number of strips on a particular face

     

    StripLengths:

    Array containing the number of vertex points on particular face strip

     

    EdgeIds:

    Array of edge IDs for each vertex on the particular face strip

     

    For triangle strips, EdgeIds is:

    If the strip has n vertices, then there are 2(n 2) + 1 edge tags. The i-th element of the tags array (starting at i = 1) will be the tag of the edge between vertex floor((i 1) / 2) + 1 and vertex floor(i/2) + 2, where floor(x) is the integer portion of x.

    For single triangles, EdgeIds is:

    The i-th element of the tags array (starting at i = 1) will be the tag of the edge between vertex i-1 (if i=1 then i=n) and vertex i.

     

    See Also

    Availability

    SolidWorks 99 SP2, datecode 1999250


    Provide feedback on this topic

    SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

    * Required

     
    *Email:  
    Subject:   Feedback on Help Topics
    Page:   IGetTessTriStripEdges Method (IPartDoc)
    *Comment:  
    *   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

    Print Topic

    Select the scope of content to print:



    x

    We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

     Never show this message again
    x

    Web Help Content Version: API Help (English only) 2013 SP05

    To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

    To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.