TessellatedSolid Constructor (IList<(Of <(<'array<Double>[]()[][]>)>)>, IList<(Of <(<'array<Int32>[]()[][]>)>)>, IList<(Of <(<'Color>)>)>, UnitType, String, String, List<(Of <(<'String>)>)>, String)

Initializes a new instance of the TessellatedSolid class. This matches with formats that use indices to the vertices (almost everything except STL).

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public TessellatedSolid(
	IList<double[]> vertices,
	IList<int[]> faceToVertexIndices,
	IList<Color> colors,
	UnitType units,
	string name,
	string filename,
	List<string> comments,
	string language
)
Public Sub New ( _
	vertices As IList(Of Double()), _
	faceToVertexIndices As IList(Of Integer()), _
	colors As IList(Of Color), _
	units As UnitType, _
	name As String, _
	filename As String, _
	comments As List(Of String), _
	language As String _
)
public:
TessellatedSolid(
	IList<array<double^>^>^ vertices, 
	IList<array<int^>^>^ faceToVertexIndices, 
	IList<Color^>^ colors, 
	UnitType^ units, 
	String^ name, 
	String^ filename, 
	List<String^>^ comments, 
	String^ language
)

Parameters

vertices
Type: IList<(Of <(<'array<Double>[]()[][]>)>)>
The vertices.
faceToVertexIndices
Type: IList<(Of <(<'array<Int32>[]()[][]>)>)>
The face to vertex indices.
colors
Type: IList<(Of <(<'Color>)>)>
The colors.
units
Type: TVGL..::..UnitType
The units.
name
Type: String
The name.
filename
Type: String
The filename.
comments
Type: List<(Of <(<'String>)>)>
The comments.
language
Type: String
The language.