Eyeshot 10 WinForms API Reference
FromTriangles<T>(IList<Point3D>,IList<IndexTriangle>) Method

WinForms Assembly > devDept.Eyeshot.Entities Namespace > Solid Class > FromTriangles Method : FromTriangles<T>(IList<Point3D>,IList<IndexTriangle>) Method
List of vertices
List of index triangles
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) _
) As T
public static T FromTriangles<T>( 
   IList<Point3D> vList,
   IList<IndexTriangle> tList
)
where T: new(), Solid

Parameters

vList
List of vertices
tList
List of index triangles

Type Parameters

T

Return Value

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

Reference

Solid Class
Solid Members
Overload List