CADability dotNET
Draw a set of solid-filled triangles with the current color.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
void Triangle(
	GeoPoint[] vertex,
	GeoVector[] normals,
	int[] indextriples
)
Visual Basic
Sub Triangle ( _
	vertex As GeoPoint(), _
	normals As GeoVector(), _
	indextriples As Integer() _
)
Visual C++
void Triangle(
	array<GeoPoint>^ vertex, 
	array<GeoVector>^ normals, 
	array<int>^ indextriples
)

Parameters

vertex
Type: array<CADability..::..GeoPoint>[]()[][]
The coordinates of the vertices
normals
Type: array<CADability..::..GeoVector>[]()[][]
The coordinates of the normal vectors in the vertices
indextriples
Type: array<System..::..Int32>[]()[][]
Triples of indices which define traingles. Length must be a multiple of 3

See Also