Hide Table of Contents
IGetTessTriStripEdges Method (IFace2)

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

.NET Syntax

Visual Basic (Declaration) 
Function IGetTessTriStripEdges() As System.Integer
Visual Basic (Usage) 
Dim instance As IFace2
Dim value As System.Integer
value = instance.IGetTessTriStripEdges()
System.int IGetTessTriStripEdges()
System.int IGetTessTriStripEdges(); 

Return Value

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

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

  • Remarks

    Returns an array of long values that indicate which edges of the given triangle strip represent a face boundary. The array takes the form of:


      stripEdgeCount1, stripEdgeCount2,..., stripVertCountN,

      strip1[triStripFlag, stripEdgeCount1 elements],

      strip2[triStripFlag, stripEdgeCount2 elements],...,

      stripN[triStripFlag, stripEdgeCountN elements&cd;


    nStrips = The number of triangle strips on the face.

    stripEdgeCountN = The number of triangle edges for the Nth triangle strip + 1.

    stripN = A sub-array that consists of the triStripFlag and an array of stripEdgeCountN edgeIds.

    triStripFlag = Indicates if the triangle strip is a strip (=1) or if the triangle strip is a triangle (=0).

    edgeId = An identifier with an arbitrary value that represents the edge of the face. Each edge has a unique edgeId.



    If you have this triangle strip, then you get a stripVertexCount of 10 using IFace2::GetTessTriStrips or IFace2::IGetTessTriStrips. IFace2::GetTessTriStripEdges and IFace2::IGetTessTriStripEdges get a stripEdgeCount of 18. This means that for each triangle strip stripEdgeCount - 1 = 2(stripVertexCount - 2) + 1. The first element represents a flag indicating if the current strip is a triangle strip or a simple triangle, 1 or 0, respectively.


    If one of the triangle strip edges lies on a face edge, then the value of stripN[i] = edgeId. If the triangle strip edge does not lie on a face edge, then the value of stripN[i] = 0.


    See Also


    SOLIDWORKS 2001Plus FCS, Revision Number 10.0

    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

    Subject:   Feedback on Help Topics
    Page:   IGetTessTriStripEdges Method (IFace2)
    *   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:


    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

    Web Help Content Version: API Help (English only) 2017 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.