> GetTessTriStripEdges Method (IFace2)
Welcome
Getting Started
SolidWorks API Help
FeatureWorks API Help
SolidWorks Document Manager API Help
eDrawings API Help
SolidWorks Routing API Help
SolidWorks Simulation API Help
SolidWorks Utilities API Help
SolidWorks Workgroup PDM API Help
Hide Table of Contents Show Table of Contents
GetTessTriStripEdges 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 GetTessTriStripEdges() As Object
Visual Basic (Usage) 
Dim instance As IFace2
Dim value As Object
 
value = instance.GetTessTriStripEdges()
C# 
object GetTessTriStripEdges()
C++/CLI 
Object^ GetTessTriStripEdges(); 

Return Value

Array that contains the list of edge IDs for this face (see Remarks)

Remarks

Returns an array of long or integer (see Long vs. Integer) values that indicate which edges of the given triangle strip represent a face boundary. The array takes the form of:

[nStrips,

  stripEdgeCount1, stripEdgeCount2,..., stripVertCountN,

  strip1[triStripFlag, stripEdgeCount1 elements],

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

  stripN[triStripFlag, stripEdgeCountN elements&cd;

where:

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

Availability

SolidWorks 2001Plus FCS, Revision Number 10.0


Related SolidWorks Forum Content

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:   GetTessTriStripEdges Method (IFace2)
*Comment:  
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) 2012 SP05

The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of DS SolidWorks or its licensors. The topics within the Web-based help are not beta topics; they document API Help (English only) 2012 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.