Eyeshot 9.0 WPF API Reference
FromTriangles(IList<Point3D>,IList<IndexTriangle>,Double,Boolean) Method

WPF Assembly > devDept.Eyeshot.Entities Namespace > Solid Class > FromTriangles Method : FromTriangles(IList<Point3D>,IList<IndexTriangle>,Double,Boolean) Method
List of vertices
List of index triangles
Smoothing angle in radians
If true, tries to fix triangles that don't match (slower).
Creates a solid from a list of vertices and triangles.
Syntax
'Declaration
 
Public Overloads Shared Function FromTriangles( _
   ByVal vList As IList(Of Point3D), _
   ByVal tList As IList(Of IndexTriangle), _
   ByVal smoothingAngle As Double, _
   ByVal check As Boolean _
) As Solid
public static Solid FromTriangles( 
   IList<Point3D> vList,
   IList<IndexTriangle> tList,
   double smoothingAngle,
   bool check
)

Parameters

vList
List of vertices
tList
List of index triangles
smoothingAngle
Smoothing angle in radians
check
If true, tries to fix triangles that don't match (slower).

Return Value

True if the operation is successful, false otherwise.
See Also

Reference

Solid Class
Solid Members
Overload List