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

WPF Assembly > devDept.Eyeshot.Entities Namespace > Solid Class > FromTriangles Method : FromTriangles<T>(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(Of T As {New, Solid})( _
   ByVal vList As IList(Of Point3D), _
   ByVal tList As IList(Of IndexTriangle), _
   ByVal smoothingAngle As Double, _
   ByVal check As Boolean _
) As T
public static T FromTriangles<T>( 
   IList<Point3D> vList,
   IList<IndexTriangle> tList,
   double smoothingAngle,
   bool check
)
where T: new(), Solid

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).

Type Parameters

T

Return Value

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

Reference

Solid Class
Solid Members
Overload List